CbmRoot
CbmKresSelectGoodEvents.h
Go to the documentation of this file.
1 #ifndef CBM_KRES_SELECT_GOOD_EVENTS
2 #define CBM_KRES_SELECT_GOOD_EVENTS
3 
4 
5 #include "FairTask.h"
6 
7 #include "CbmMCTrack.h"
8 #include <TClonesArray.h>
9 #include <vector>
10 
11 class FairMCApplication;
12 
13 class CbmKresSelectGoodEvents : public FairTask {
14 
15 public:
16  //***** brief Standard constructor.
18  //***** brief Standard destructor.
19  virtual ~CbmKresSelectGoodEvents();
20 
21 
22  virtual InitStatus Init();
23  virtual void Finish();
24 
25  virtual void Exec(Option_t*);
26 
27 private:
28  TClonesArray* fMcTracks;
29  FairMCApplication* fApp;
30  std::vector<CbmMCTrack*> Electrons;
31 
32  //***** brief Copy constructor.
34 
35  //***** brief Assignment operator.
37 
38 
39  ClassDef(CbmKresSelectGoodEvents, 1)
40 };
41 
42 #endif
CbmKresSelectGoodEvents::CbmKresSelectGoodEvents
CbmKresSelectGoodEvents(const CbmKresSelectGoodEvents &)
CbmKresSelectGoodEvents::CbmKresSelectGoodEvents
CbmKresSelectGoodEvents()
Definition: CbmKresSelectGoodEvents.cxx:26
CbmKresSelectGoodEvents::Exec
virtual void Exec(Option_t *)
Definition: CbmKresSelectGoodEvents.cxx:50
CbmKresSelectGoodEvents::~CbmKresSelectGoodEvents
virtual ~CbmKresSelectGoodEvents()
Definition: CbmKresSelectGoodEvents.cxx:29
CbmKresSelectGoodEvents::Electrons
std::vector< CbmMCTrack * > Electrons
Definition: CbmKresSelectGoodEvents.h:30
CbmKresSelectGoodEvents
Definition: CbmKresSelectGoodEvents.h:13
CbmKresSelectGoodEvents::Finish
virtual void Finish()
Definition: CbmKresSelectGoodEvents.cxx:148
CbmKresSelectGoodEvents::fMcTracks
TClonesArray * fMcTracks
Definition: CbmKresSelectGoodEvents.h:28
CbmKresSelectGoodEvents::operator=
CbmKresSelectGoodEvents operator=(const CbmKresSelectGoodEvents &)
CbmMCTrack.h
CbmKresSelectGoodEvents::Init
virtual InitStatus Init()
Definition: CbmKresSelectGoodEvents.cxx:31
CbmKresSelectGoodEvents::fApp
FairMCApplication * fApp
Definition: CbmKresSelectGoodEvents.h:29