FairRoot/PandaRoot
PndTripleAnaTask.h
Go to the documentation of this file.
1 #ifndef PndTripleAnaTask_H
2 #define PndTripleAnaTask_H 1
3 
4 
5 #include "FairTask.h"
6 #include <map>
7 #include <string>
8 #include "TLorentzVector.h"
9 
10 class TClonesArray;
11 class TH1F;
12 class TH2F;
13 class TDatabasePDG;
14 
17 class PndAnalysis;
18 class RhoCandList;
19 class RhoCandidate;
20 class RhoTuple;
21 class PndRhoTupleQA;
22 class PndEventShape;
23 
24 
25 class PndTripleAnaTask : public FairTask
26 {
27 
28  public:
29 
30  // ** Default constructor
31  PndTripleAnaTask(double pbarmom, TString outname, int mode, TString pidalg);
32 
33  // ** Destructor
35 
36  // ** Virtual method Init
37  virtual InitStatus Init();
38 
39  // ** Virtual method Exec
40  virtual void Exec(Option_t* opt);
41 
42  virtual void Finish();
43 
44  protected:
45 
46 
47  private:
48  void SetVerbose(int verb=1) {fVerbose=verb;}
49  void JpsiAnalysis();
50  void DsDs2317Analysis();
51  void ThreePiAnalysis();
52 
53  // *** event counter
54  int fEvtCount;
55  int fMode; // 0 = J/psi pi+ pi- ; 1 = Ds Ds2317 ; 2 = pi0 pi0 pi0
56  int fVerbose;
57 
58  // *** the initial 4-vector
59  TLorentzVector fIni;
60 
61  // *** the PndAnalysis object
63  TDatabasePDG *fPdg;
64  TFile *fFile;
67 
68  // *******
69  // ******* DECLARE THE STUFF YOU NEED
70  // *******
71 
72  // *** Pointer to event shape object
74  // *** RhoTuple QA helper class
76 
82 
88 
89  TClonesArray *fOnlineFilterInfo;
90 
91  // *** Get parameter containers
92  virtual void SetParContainers();
93 
94 
96 
97 };
98 
99 #endif
RhoMassParticleSelector * mSel3
PndRhoTupleQA * fQA
TDatabasePDG * fPdg
RhoEnergyParticleSelector * gamSel
virtual void Finish()
virtual void Exec(Option_t *opt)
TLorentzVector fIni
ClassDef(PndTripleAnaTask, 1)
Int_t mode
Definition: autocutx.C:47
void SetVerbose(int verb=1)
PndTripleAnaTask(double pbarmom, TString outname, int mode, TString pidalg)
virtual InitStatus Init()
TClonesArray * fOnlineFilterInfo
RhoMassParticleSelector * mSel4
RhoMassParticleSelector * mSel2
virtual void SetParContainers()
PndAnalysis * fAnalysis
RhoMassParticleSelector * mSel1
PndEventShape * fEventShape