FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEveMCTracks.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 /*
9  * FairMCTracks.h
10  *
11  * Created on: 27 sie 2020
12  * Author: Daniel Wielanek
13  * E-mail: daniel.wielanek@gmail.com
14  * Warsaw University of Technology, Faculty of Physics
15  */
16 #ifndef FAIREVEMCTRACKS_H_
17 #define FAIREVEMCTRACKS_H_
18 #include <Rtypes.h> // for THashConsistencyHolder, ClassDef
19 #include <RtypesCore.h> // for Bool_t, Int_t
20 #include "FairEveTracks.h" // for FairEveTracks
21 #include "FairTask.h" // for InitStatus
22 class FairMCTrack; // lines 22-22
23 class FairRKPropagator; // lines 23-23
24 class TBuffer;
25 class TClass;
26 class TClonesArray;
27 class TDatabasePDG; // lines 24-24
28 class TMemberInspector;
29 
30 
32 {
33  TClonesArray *fContainer;
34  Bool_t fShowPrimary;
35  Bool_t fShowSecondary;
36  Bool_t fUsePdg;
37  Int_t fPdgCut;
38  FairRKPropagator *fRK;
39  TDatabasePDG *fPDG;
40 
41  protected:
42  Bool_t CheckCuts(FairMCTrack *tr);
43  void DrawTrack(Int_t id);
44 
45  public:
47  void Repaint();
48  void SetPdgCut(Int_t pdg, Bool_t use)
49  {
50  fPdgCut = pdg;
51  fUsePdg = use;
52  };
53  void SetShowPrimSec(Bool_t prim, Bool_t sec)
54  {
55  fShowPrimary = prim;
56  fShowSecondary = sec;
57  }
58  virtual InitStatus Init();
59  virtual ~FairEveMCTracks();
60  ClassDef(FairEveMCTracks, 0)
61 };
62 
63 #endif /* FAIREVEMCTRACKS_H_ */
void SetPdgCut(Int_t pdg, Bool_t use)
InitStatus
Definition: FairTask.h:33
virtual ~FairEveMCTracks()
virtual InitStatus Init()
void DrawTrack(Int_t id)
void SetShowPrimSec(Bool_t prim, Bool_t sec)
Bool_t CheckCuts(FairMCTrack *tr)