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