PandaRoot
PndAnalysisTask.h
Go to the documentation of this file.
1 #ifndef PNDANALYSISTASK_H
2 #define PNDANALYSISTASK_H 1
3 
4 #include "FairTask.h"
5 #include <map>
6 #include <string>
7 
8 class TClonesArray;
9 class TObjectArray;
10 class TH1F;
11 
17 #include "RhoSimpleKaonSelector.h"
18 #include "RhoSimpleMuonSelector.h"
19 #include "RhoSimplePionSelector.h"
21 
22 class PndAnalysisTask : public FairTask {
23 
24  public:
25  typedef std::map<Int_t, Float_t> mapper;
26 
29 
32 
34  virtual InitStatus Init();
35 
37  virtual void Exec(Option_t *opt);
38 
39  virtual void Finish();
40  // void CreateStructure();
41 
42  protected:
43  int evcount;
44 
45  // **** some basic selectors
46  //
47  // RhoChargedParticleSelector *chargedSel;
51 
52  // **** mass selectors for the resonances/composites
53  //
59 
61  TH1F *phimass;
62  TH1F *pi0mass;
63  TH1F *dsmass;
64  TH1F *ds0mass;
65  TH1F *ppmass;
66 
67  TH1F *nmult;
68 
69  private:
71  TClonesArray *fChargedArray;
72  TClonesArray *fNeutralArray;
73 
77  virtual void SetParContainers();
78 
79  ClassDef(PndAnalysisTask, 1);
80 };
81 
82 #endif
RhoSimpleKaonSelector * kSel
std::map< Int_t, Float_t > mapper
virtual void Exec(Option_t *opt)
RhoMassParticleSelector * phiMSel
RhoMinusParticleSelector * minusSel
RhoNeutralParticleSelector * neutralSel
virtual void Finish()
virtual InitStatus Init()
RhoSimplePionSelector * piSel
RhoMassParticleSelector * dsMSel
RhoPlusParticleSelector * plusSel
RhoMassParticleSelector * pi0MSel