FairRoot/PandaRoot
PndMyAnalysisTask.h
Go to the documentation of this file.
1 #ifndef PndMyAnalysisTask_H
2 #define PndMyAnalysisTask_H 1
3 
4 
5 #include "FairTask.h"
6 #include <map>
7 #include <string>
8 
9 class TClonesArray;
10 class TObjectArray;
11 class TH1F;
12 class TH2F;
13 
15 class PndAnalysis;
16 class RhoCandList;
17 class TStopwatch;
18 class RhoTuple;
19 
20 class PndMyAnalysisTask : public FairTask
21 {
22 
23  public:
24  typedef std::map<Int_t, Float_t> mapper;
25 
28 
29 
32 
33 
35  virtual InitStatus Init();
36 
37 
39  virtual void Exec(Option_t* opt);
40 
41  virtual void Finish();
42  //void CreateStructure();
43 
44  protected:
45 
46  int evcount;
48 
49 
50  // **** mass selectors for the resonances/composites
51  //
52 
53  private:
54 
55  void FillMassHisto(TH1F* h, RhoCandList& l);
57 
59 
61  TH1F* hjpsim_nopid;
62  TH1F* hpsim_nopid;
63  TH1F* hjpsim_lpid;
64  TH1F* hpsim_lpid;
65  TH1F* hjpsim_tpid;
66  TH1F* hpsim_tpid;
67 
68  TH1F* hjpsim_ftm;
69  TH1F* hpsim_ftm;
70  TH1F* hjpsim_nm;
71  TH1F* hpsim_nm;
72 
73  TH1F* hjpsim_diff;
74  TH1F* hpsim_diff;
75 
76  TH1F* hjpsim_vf;
77  TH1F* hjpsim_4cf;
78  TH1F* hjpsim_mcf;
79 
81  TH1F* hpsi_chi2_4c;
83 
84  TH2F* hvpos;
85 
88 
89  /* TH1F *hjpsimass;
90  TH1F *hpsimass;*/
91 
93  TStopwatch* timer;
94 
96  virtual void SetParContainers();
97 
98 
100 
101 };
102 
103 #endif
virtual void SetParContainers()
PndAnalysis * theAnalysis
void FillMassHisto(TH1F *h, RhoCandList &l)
std::map< Int_t, Float_t > mapper
int SelectPdgCode(RhoCandList &mct, RhoCandList &l)
virtual void Exec(Option_t *opt)
RhoMassParticleSelector * jpsiMassSel
ClassDef(PndMyAnalysisTask, 1)
PndMCTrack * mct
Definition: hist-t7.C:147
virtual InitStatus Init()