FairRoot/PandaRoot
PndHypFullAna.h
Go to the documentation of this file.
1 #ifndef PNDHYPFULLANA_H
2 #define PNDHYPFULLANA_H 1
3 
4 
5 #include "FairTask.h"
6 #include <map>
7 #include <string>
8 #include "TFile.h"
9 #include "TVector3.h"
10 #include "TLorentzVector.h"
11 
12 
13 
14 class TClonesArray;
15 class TObjectArray;
16 class TH1F;class TH2F;
17 
26 
27 class PndHypFullAna : public FairTask
28 {
29 
30  public:
31  typedef std::map<Int_t, Float_t> mapper;
32 
34  PndHypFullAna();
35 
36 
39 
40 
42  virtual InitStatus Init();
43 
44 
46  virtual void Exec(Option_t* opt);
47 
48  void Finish(TString cat);
49 
50  void SetEnergySpectra(int event,int cluster);
51  void SetTotESpectra(int clus);
52  Int_t GetIonCharge(Int_t Z,Int_t &mass,Int_t &str);
53 
54  //void CreateStructure();
55 
56  protected:
57 
58  int evcount;
59 
60 
61 
62  // **** some basic selectors
63  //
64  //RhoChargedParticleSelector *chargedSel;
68 
69  // **** mass selectors for the resonances/composites
70  //
78 
80  TH2F *hvtx2[10];
81  TH1F *spectra[10];
82 
83  TH1F *ds0mass;
84  TH1F *ximass; TH1F *Lamb;
85  TH1F *ppi2mass;
86  TH1F *ppi2; TH1F *e;
87  TH2F *pid;TH2F *pidh;
88 
89  TH1F *nmult;
90 
91  private:
92 
95  TClonesArray* fChargedArray;
96  TClonesArray* fMcTr;
97  TClonesArray* fMicroArray;
98  TClonesArray* fMcCands;
99  TClonesArray* fMc;
100  TClonesArray* fGe;
101 
105  virtual void SetParContainers();
106 
107 
109 
110 };
111 
112 #endif
TH1F * spectra[10]
Definition: PndHypFullAna.h:81
ClassDef(PndHypFullAna, 1)
RhoMinusParticleSelector * minusSel
Definition: PndHypFullAna.h:67
TClonesArray * fMc
Definition: PndHypFullAna.h:99
RhoPlusParticleSelector * plusSel
Definition: PndHypFullAna.h:66
TClonesArray * fChargedArray
Definition: PndHypFullAna.h:95
RhoSimpleProtonSelector * pSel
Definition: PndHypFullAna.h:77
RhoNeutralParticleSelector * neutralSel
Definition: PndHypFullAna.h:65
virtual void SetParContainers()
RhoMassParticleSelector * LambMSel
Definition: PndHypFullAna.h:74
Int_t GetIonCharge(Int_t Z, Int_t &mass, Int_t &str)
void SetEnergySpectra(int event, int cluster)
TH2F * hvtx2[10]
Definition: PndHypFullAna.h:80
TClonesArray * fMcTr
Definition: PndHypFullAna.h:96
TClonesArray * fMicroArray
Definition: PndHypFullAna.h:97
RhoMassParticleSelector * dsMSel
Definition: PndHypFullAna.h:73
std::map< Int_t, Float_t > mapper
Definition: PndHypFullAna.h:31
RhoMassParticleSelector * pi0MSel
Definition: PndHypFullAna.h:72
RhoSimpleKaonSelector * kSel
Definition: PndHypFullAna.h:75
virtual void Exec(Option_t *opt)
void SetTotESpectra(int clus)
void Finish(TString cat)
double Z
Definition: anaLmdDigi.C:68
TClonesArray * fGe
RhoMassParticleSelector * phiMSel
Definition: PndHypFullAna.h:71
RhoSimplePionSelector * piSel
Definition: PndHypFullAna.h:76
TClonesArray * fMcCands
Definition: PndHypFullAna.h:98
virtual InitStatus Init()