PandaRoot
PndAnaTask.h
Go to the documentation of this file.
1 #ifndef PNDANATASK_H
2 #define PNDANATASK_H 1
3 
4 #include <string>
5 #include <vector>
6 
7 #include "TString.h"
8 
9 #include "RhoCandList.h"
10 #include "FairRootManager.h"
11 #include "FairTask.h"
12 
13 class TClonesArray;
14 class TBranch;
15 
16 class PndPidListMaker;
17 class PndEventInfo;
18 
19 class PndAnaTask : public FairTask {
20  public:
21  PndAnaTask();
22  ~PndAnaTask();
23 
25  virtual InitStatus Init();
26 
28  virtual void Exec(Option_t *opt);
29 
30  virtual void Finish();
31 
32  protected:
33  void InitArrays();
34  int GetEvent();
35  bool FillList(RhoCandList &l, std::string listkey = "All");
36 
37  // TClonesArray *fEventInfo;
38  // PndEventInfo *fCurrentEventInfo;
39 
40  private:
41  TClonesArray *fChargedCands;
42  TClonesArray *fNeutralCands;
43  TClonesArray *fChargedProbability;
44  TClonesArray *fNeutralProbability;
45  TClonesArray *fMcCands;
46 
47  RhoCandList fLAllCands;
48  RhoCandList fLChargedCands;
49  RhoCandList fLNeutralCands;
50  RhoCandList fLMcCands;
51 
52  PndPidListMaker *fPidListMaker;
53  Bool_t fEventRead;
54  // void SetupBranchNames();
55 
56  // Private Member Variables
57 
58  ClassDef(PndAnaTask, 0);
59 };
60 
61 #endif
void InitArrays()
virtual void Exec(Option_t *opt)
int GetEvent()
virtual InitStatus Init()
virtual void Finish()
bool FillList(RhoCandList &l, std::string listkey="All")