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