Int_t CalculateCentrality(AliVEvent *ev);
Int_t CalculateCentrality(AliESDEvent *esd);
Int_t CalculateCentrality(AliAODEvent *aod);
+ Int_t GetCentralityClass(Float_t cent=-1.);
void DoAnalysisESD();
void DoAnalysisAOD();
void FillHistograms();
void SetIsPbPb(Bool_t cs) {fIsPbPb = cs;}
void SetCentralityClass(int cent) {fCentClass=cent;}
void SetCuts(AliESDtrackCuts* trackCuts) {fTrackCuts = trackCuts;}
+ void SetCutsITSLoose(AliESDtrackCuts* trackCuts) {fTrackCutsITSLoose = trackCuts;}
+ void SetCutsTPConly(AliESDtrackCuts* trackCuts) {fTrackCutsTPConly = trackCuts;}
void SetTrackType(Int_t trackType) {fTrackType = trackType;}
void SetFilterMask(UInt_t filterMask) {fFilterMask = filterMask;}
Float_t GetPtMax() {return fPtMax;}
Float_t GetTPCClusterInfo(AliAODTrack *tr,Int_t nNeighbours=3, Int_t type=0, Int_t row0=0, Int_t row1=159) const;
+ Int_t GetTrackLengthTPC(AliESDtrack *track);
static AliGenPythiaEventHeader* GetPythiaEventHeader(AliMCEvent *mcEvent);
static Bool_t PythiaInfoFromFile(const char* currFile,Float_t &fXsec,Float_t &fTrials);// get the cross section and the trails either from pyxsec.root or from pysec_hists.root
AliESDEvent *fESD; //! ESD object
const AliESDVertex *fVtx; //! vertex object
- AliESDtrackCuts *fTrackCuts; // TrackCuts
- Int_t fTrackType; // 0: global track; 1:TPConly track 2: TPConly constrained track 3: global ITSrefit 4: TPConly constrained track with QA selection based on global track
- UInt_t fFilterMask; //! Select tracks from specific track cuts belonging to certain filter mask for AOD analysis
+ AliESDtrackCuts *fTrackCuts; // TrackCuts
+ AliESDtrackCuts *fTrackCutsITSLoose; // Loose ITS track cuts
+ AliESDtrackCuts *fTrackCutsTPConly; // TPC track cuts
+ Int_t fTrackType; // 0: global track; 1:TPConly track 2: TPConly constrained track 3: global ITSrefit 4: TPConly constrained track with QA selection based on global track
+ UInt_t fFilterMask; //! Select tracks from specific track cuts belonging to certain filter mask for AOD analysis
Double_t fSigmaConstrainedMax; // max sigma on constrained fit
Float_t fPtMax; // Maximum pT for histograms
Float_t fPtBinEdges[3][2]; // 3 regions total with different binning for pT axis of histos
- Bool_t fIsPbPb; // kTRUE if PbPb
+ Bool_t fIsPbPb; // kTRUE if PbPb
Int_t fCentClass; // Select only events from predefined centrality class
/*
TH2F *fPtChi2C; //! Pt vs Chi2C
TH2F *fPtNSigmaToVertex; //! Pt vs nSigmaToVertex
TH2F *fPtRelUncertainty1Pt; //! Pt vs relUncertainty1Pt
+ TH3F *fPtRelUncertainty1PtNClus; //! Pt vs relUncertainty1Pt vs NClustersTPC
+ TH3F *fPtRelUncertainty1PtChi2; //! Pt vs relUncertainty1Pt vs Chi2TPC/NClus
+ TH3F *fPtRelUncertainty1PtTrkLength; //! Pt vs relUncertainty1Pt vs track length in TPC
TH2F *fPtUncertainty1Pt; //! Pt vs Uncertainty1Pt
TH2F *fPtChi2PerClusterTPC; //! Pt vs Chi2PerClusterTPC
TH2F *fPtNCrossedRows; //! Pt vs NCrossedRows