FairRoot/PandaRoot
rho/PndTutAnaTask.h
Go to the documentation of this file.
1 #ifndef PndTutAnaTask_H
2 #define PndTutAnaTask_H 1
3 
4 
5 #include "FairTask.h"
6 #include <map>
7 #include <string>
8 #include "TLorentzVector.h"
9 
10 class TClonesArray;
11 class TObjectArray;
12 class TH1F;
13 class TH2F;
14 
16 class PndAnalysis;
17 class RhoCandList;
18 class RhoTuple;
19 
20 
21 class PndTutAnaTask : public FairTask
22 {
23 
24  public:
25 
26  // ** Default constructor
27  PndTutAnaTask();
28 
29  // ** Destructor
30  ~PndTutAnaTask();
31 
32  // ** Virtual method Init
33  virtual InitStatus Init();
34 
35  // ** Virtual method Exec
36  virtual void Exec(Option_t* opt);
37 
38 
39  virtual void Finish();
40 
41  protected:
42 
43 
44  private:
45  // *** event counter
46  int fEvtCount;
47 
48  // *** mass selector for the J/psi
50 
51  // *** a method
53 
54  // *** declare some histograms
55  TH1F *hjpsim_all;
56  TH1F *hpsim_all;
57 
58  TH1F *hjpsim_lpid;
59  TH1F *hpsim_lpid;
60 
61  TH1F *hjpsim_tpid;
62  TH1F *hpsim_tpid;
63 
64  TH1F *hjpsim_trpid;
65  TH1F *hpsim_trpid;
66 
67  TH1F *hjpsim_ftm;
68  TH1F *hpsim_ftm;
69 
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 
85  TH1F *hpsi_prob_4c;
87 
88  TH2F *hvpos;
89 
90  // *** the initial 4-vector
91  TLorentzVector fIni;
92 
93  // *** the PndAnalysis object
95 
96  // *** Get parameter containers
97  virtual void SetParContainers();
98 
99 
101 
102 };
103 
104 #endif
virtual void SetParContainers()
TLorentzVector fIni
virtual void Exec(Option_t *opt)
ClassDef(PndTutAnaTask, 1)
PndAnalysis * fAnalysis
virtual void Finish()
RhoMassParticleSelector * fJpsiMassSel
int SelectTruePid(PndAnalysis *ana, RhoCandList &l)
virtual InitStatus Init()