16 #ifndef PNDDRCHITANA_H 17 #define PNDDRCHITANA_H 20 #include "TClonesArray.h" 25 #include "FairBaseParSet.h" 38 #ifndef ROOT_TParticlePDG 39 #include "TParticlePDG.h" 41 #ifndef ROOT_TDatabasePDG 42 #include "TDatabasePDG.h" 57 virtual InitStatus
Init();
60 virtual void Exec(Option_t *option);
72 void ProcessPhotonHit();
73 void ProcessPhotonMC();
81 Double_t fThetaC, fErrThetaC;
84 TClonesArray *fBarPointArray;
85 TClonesArray *fPDPointArray;
86 TClonesArray *fHitArray;
87 TClonesArray *fPDHitArray;
88 TClonesArray *fMCArray;
96 void SetDefaultParameters();
104 const Int_t NRGBs = 5;
105 const Int_t NCont = 255;
107 Double_t stops[NRGBs] = {0.00, 0.34, 0.61, 0.84, 1.00};
108 Double_t red[NRGBs] = {0.00, 0.00, 0.87, 1.00, 0.51};
109 Double_t green[NRGBs] = {0.00, 0.81, 1.00, 0.20, 0.00};
110 Double_t blue[NRGBs] = {0.51, 1.00, 0.12, 0.00, 0.00};
111 TColor::CreateGradientColorTable(NRGBs, stops, red, green, blue, NCont);
112 gStyle->SetNumberContours(NCont);
115 Bool_t InsideBar(Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t, Double_t);
145 TVector3 fStartVertex;
158 std::vector<TH1F *> histos;
virtual void Exec(Option_t *option)
void RotBarCoordinate(TVector3 &vector, Int_t barID)
virtual InitStatus Init()
void SetTreeName(TString str)