void UserCreateOutputObjects();
void SetGeneratorLevelName(const char* name);
void SetDetectorLevelName(const char* name);
- void SetSelectHIJING(Bool_t s) {fSelectHIJING=s;}
+ void SetSelectHIJING(Bool_t s) {fSelectHIJING = s; }
+ void SetDoSigma1OverPt(Bool_t s) {fDoSigma1OverPt = s; }
+ void SetDoSigmaPtOverPtGen(Bool_t s) {fDoSigmaPtOverPtGen = s; }
protected:
Bool_t FillHistograms() ;
void ExecOnce() ;
void GenerateHistoBins() ;
- void AllocateDetectorLevelTHnSparse() ;
- void AllocateGeneratorLevelTHnSparse() ;
- void AllocateFindableParticlesTHnSparse() ;
+ void AllocateDetectorLevelTHnSparse() ;
+ void AllocateGeneratorLevelTHnSparse() ;
void AllocateMatchedParticlesTHnSparse() ;
void FillDetectorLevelTHnSparse(Double_t cent, Double_t trackEta, Double_t trackPhi, Double_t trackPt,
Double_t sigma1OverPt, Int_t mcGen, Byte_t trackType);
// Task configuration
Bool_t fSelectHIJING ; // select HIJING particles
+ Bool_t fDoSigma1OverPt ; // add sigma(1/pt), if false add sigma(pt)/pt instead
+ Bool_t fDoSigmaPtOverPtGen ; // MC: if true do sigma((ptgen - ptdet) / ptgen), otherwise do sigma((ptgen - ptdet) / ptdet)
// Service fields (non-streamed)
AliParticleContainer* fGeneratorLevel ; //! generator level container
Double_t* fPhiHistBins ; //! phi bins
Int_t fNCentHistBins ; //! number of cent bins
Double_t* fCentHistBins ; //! cent bins
+ Int_t fNPtRelDiffHistBins ; //! number of pt relative difference bins
+ Double_t* fPtRelDiffHistBins ; //! pt relative difference bins
Int_t fNPtResHistBins ; //! number of pt res bins
- Double_t* fPtResHistBins ; //! 1/pt res bins
- Double_t* f1OverPtResHistBins ; //! pt res bins
+ Double_t* fPtResHistBins ; //! pt res bins
+ Double_t* f1OverPtResHistBins ; //! 1/pt res bins
Int_t fN1OverPtResHistBins ; //! number of 1/pt res bins
Int_t fNIntegerHistBins ; //! number of integer bins
Double_t* fIntegerHistBins ; //! integer bins
AliEmcalTrackingQATask(const AliEmcalTrackingQATask&); // not implemented
AliEmcalTrackingQATask &operator=(const AliEmcalTrackingQATask&); // not implemented
- ClassDef(AliEmcalTrackingQATask, 1) // Track QA task (efficiency and pt resolution)
+ ClassDef(AliEmcalTrackingQATask, 3) // Track QA task (efficiency and pt resolution)
};
#endif