20 #ifndef PndEmcAnalysis_H 21 #define PndEmcAnalysis_H 25 #include "FairTSBufferFunctional.h" 33 #include "TLorentzVector.h" 61 virtual InitStatus Init();
64 virtual void Exec(Option_t *opt);
70 virtual void FinishTask();
84 void SetParContainers();
86 TClonesArray *fEmcHitsArray;
87 TClonesArray *fWaveformArray;
88 TClonesArray *fDigiArray;
89 TClonesArray *fSharedDigiArray;
90 TClonesArray *fClusterArray;
91 TClonesArray *fBumpArray;
92 TClonesArray *fMcTrackArray;
93 TClonesArray *fEvtHeaderArray;
94 TClonesArray *fChargedCand;
95 TClonesArray *fNeutralCand;
98 Bool_t fStoreRooTFile;
105 BinaryFunctor *fFunctor;
108 Bool_t fTimeOrderedDigi;
110 std::map<Int_t, std::pair<Int_t, Int_t>> evtMap;
111 std::set<Int_t> pevtset;
112 std::set<Int_t> evtset;
149 Double_t fDigiEnergy;
154 TVector3 fSeedPosition;
165 Double_t fBumpEnergy;
174 Int_t fNumOfDismatch;
176 Double_t totDigiEnergy;
177 Double_t totSharedDigiEnergy;
182 Int_t fNumSharedDigi;
191 Int_t totNumOfSubWave;
194 Int_t totNumOfSharedDigi;
195 Int_t totNumOfEvents;
196 Int_t totNumOfPileupEvents;
199 const static Int_t NElement = 30;
200 Double_t fp4[4 * NElement];
201 Double_t fMcp4[4 * NElement];
202 Double_t fPositionV[3 * NElement];
203 Double_t fEnergy[NElement];
204 Double_t fEnergyC1[NElement];
205 Double_t fEnergyC2[NElement];
206 Double_t fZ201[NElement];
207 Double_t fZ531[NElement];
208 Double_t fLat1[NElement];
209 Int_t fModule1[NElement];
210 Int_t fPDGCode[NElement];
211 Double_t fTheta1[NElement];
212 Double_t fPhi1[NElement];
213 Double_t fRestEnergy1;
214 Double_t fRestEnergy2;
215 Double_t fRestEnergy3;
218 Int_t fDet1[NElement];
219 Int_t fHitEmc1[NElement];
220 Int_t fHitEmc2[NElement];
221 Int_t fNPointV[NElement];
225 Int_t fchar[NElement];
227 Double_t fpos[NElement];
228 Double_t fmom[NElement];
229 Int_t fmcidx[NElement];
230 Double_t frawe[NElement];
231 Double_t fcale[NElement];
232 Int_t fndigi[NElement];
233 Int_t fmod[NElement];
234 Int_t fcluIdx[NElement];
235 Double_t fe25[NElement];
236 Double_t fe9[NElement];
237 Int_t fnbump[NElement];
244 Int_t fNumberOfGoodPhoton;
245 Double_t fExternalEnergy;
stores crystal index coordinates (x,y) or (theta,phi)
parameter set of Emc digitisation
Baseclass for pulseshapeanalysis ( featureextraction )
represents the deposited energy of one emc crystal from simulation
Parameter set for Emc Reco.
void SetOutput(TString name)