fPtRanges(0),
fHCuts(0x0),
fHVertexZ(0x0),
+ fHVertexZ2(0x0),
fHCent(0x0),
fHCentQual(0x0),
fHClustEtaPhi(0x0),
fCentVar("V0M"),
fCentFrom(0),
fCentTo(100),
- fVtxZMin(-7),
- fVtxZMax(+7),
+ fVtxZMin(-10),
+ fVtxZMax(+10),
fUseQualFlag(1),
fClusName(),
fOutput(0),
fPtRanges(0),
fHCuts(0x0),
fHVertexZ(0x0),
+ fHVertexZ2(0x0),
fHCent(0x0),
fHCentQual(0x0),
fHClustEtaPhi(0x0),
fHVertexZ = new TH1F("hVertexZBeforeCut","",100,-25,25);
fHVertexZ->SetXTitle("z [cm]");
fOutput->Add(fHVertexZ);
+ fHVertexZ2 = new TH1F("hVertexZAfterCut","",100,-25,25);
+ fHVertexZ2->SetXTitle("z [cm]");
+ fOutput->Add(fHVertexZ2);
fHCent = new TH1F("hCentBeforeCut","",101,-1,100);
fHCent->SetXTitle(fCentVar.Data());
+ fOutput->Add(fHCent);
fHCentQual = new TH1F("hCentAfterCut","",101,-1,100);
fHCentQual->SetXTitle(fCentVar.Data());
fOutput->Add(fHCentQual);
return;
fHCuts->Fill(cut++);
+ fHVertexZ2->Fill(vertex->GetZ());
fRecPoints = 0; // will be set if fClusName is given and AliAnalysisTaskEMCALClusterizeFast is used
fEsdClusters = 0; // will be set if ESD input used and if fRecPoints are not set of if clusters are attached
void SetCentralityRange(Double_t from, Double_t to) { fCentFrom=from; fCentTo=to; }
void SetClusName(const char *name) { fClusName = name; }
void SetVertexRange(Double_t z1, Double_t z2) { fVtxZMin=z1; fVtxZMax=z2; }
+ void SetUseQualFlag(Bool_t b) { fUseQualFlag = b; }
protected:
- void FillCellHists();
- void FillClusHists();
- void FillPionHists();
+ virtual void FillCellHists();
+ virtual void FillClusHists();
+ virtual void FillPionHists();
// input members
TString fCentVar; // variable for centrality determination
// histograms
TH1F *fHCuts; //!histo for cuts
TH1F *fHVertexZ; //!histo for vtxz
+ TH1F *fHVertexZ2; //!histo for vtxz after vtx cuts
TH1F *fHCent; //!histo for cent
TH1F *fHCentQual; //!histo for cent after quality flag cut
// histograms for clusters