fh1CentralityPhySel(0x0),
fh1Centrality(0x0),
fh1CentralitySelect(0x0),
+ fh1ZPhySel(0x0),
+ fh1Z(0x0),
+ fh1ZSelect(0x0),
fh2NRecJetsPt(0x0),
fh2NRecTracksPt(0x0),
fh2NConstPt(0x0),
fh1CentralityPhySel(0x0),
fh1Centrality(0x0),
fh1CentralitySelect(0x0),
+ fh1ZPhySel(0x0),
+ fh1Z(0x0),
+ fh1ZSelect(0x0),
fh2NRecJetsPt(0x0),
fh2NRecTracksPt(0x0),
fh2NConstPt(0x0),
fh1CentralitySelect = new TH1F("fh1CentralitySelect",";cent (%)",111,-0.5,110.5);
fh1CentralityPhySel = new TH1F("fh1CentralityPhySel",";cent (%)",111,-0.5,110.5);
+ fh1Z = new TH1F("fh1Z",";zvtx",100,-25,25);
+ fh1ZSelect = new TH1F("fh1ZSelect",";zvtx",100,-25,25);
+ fh1ZPhySel = new TH1F("fh1ZPhySel",";zvtx",100,-25,25);
+
fh2NRecJetsPt = new TH2F("fh2NRecJetsPt","Number of jets above threshhold;p_{T,cut} (GeV/c);N_{jets}",nBinPt,binLimitsPt,50,-0.5,49.5);
fh2NRecJetsPtRan = new TH2F("fh2NRecJetsPtRan","Number of jets above threshhold;p_{T,cut} (GeV/c);N_{jets}",nBinPt,binLimitsPt,50,-0.5,49.5);
fh2NRecTracksPt = new TH2F("fh2NRecTracksPt","Number of tracks above threshhold;p_{T,cut} (GeV/c);N_{tracks}",nBinPt,binLimitsPt,50,-0.5,49.5);
fHistList->Add(fh1Centrality);
fHistList->Add(fh1CentralitySelect);
fHistList->Add(fh1CentralityPhySel);
+ fHistList->Add(fh1Z);
+ fHistList->Add(fh1ZSelect);
+ fHistList->Add(fh1ZPhySel);
if(fUseBackgroundCalc){
for(int i = 0;i<3;i++){
fHistList->Add(fh1BiARandomCones[i]);
Bool_t physicsSelection = true;// handled by the framework(fInputHandler->IsEventSelected()&AliVEvent::kMB)==AliVEvent::kMB;
Float_t cent = 0;
+ Float_t zVtx = 0;
Int_t cenClass = -1;
if(fAOD){
const AliAODVertex *vtxAOD = fAOD->GetPrimaryVertex();
TString vtxTitle(vtxAOD->GetTitle());
+ zVtx = vtxAOD->GetZ();
+
cent = fAOD->GetHeader()->GetCentrality();
if(cent<10)cenClass = 0;
else if(cent<30)cenClass = 1;
else if(cent<50)cenClass = 2;
else if(cent<80)cenClass = 3;
- if(physicsSelection)fh1CentralityPhySel->Fill(cent);
+ if(physicsSelection){
+ fh1CentralityPhySel->Fill(cent);
+ fh1ZPhySel->Fill(zVtx);
+ }
+
if(vtxAOD->GetNContributors()>2&&!vtxTitle.Contains("TPCVertex")){
- Float_t zvtx = vtxAOD->GetZ();
Float_t yvtx = vtxAOD->GetY();
Float_t xvtx = vtxAOD->GetX();
Float_t r2 = yvtx*yvtx+xvtx*xvtx;
- if(TMath::Abs(zvtx)<20.&&r2<1.){ // apply vertex cut later on
- if(physicsSelection)selectEvent = true;
+ if(TMath::Abs(zVtx)<20.&&r2<1.){ // apply vertex cut later on
+ if(physicsSelection){
+ selectEvent = true;
+ }
}
}
if(fCentCutUp>0){
return;
}
fh1Centrality->Fill(cent);
+ fh1Z->Fill(zVtx);
fh1Trials->Fill("#sum{ntrials}",1);
if(select){
static AliAODHandler *aodH = dynamic_cast<AliAODHandler*>(AliAnalysisManager::GetAnalysisManager()->GetOutputEventHandler());
fh1CentralitySelect->Fill(cent);
+ fh1ZSelect->Fill(zVtx);
aodH->SetFillAOD(kTRUE);
}
}
TH1F* fh1BiARandomCones[3]; //! Residual distribtion from reandom cones on real event
TH1F* fh1BiARandomConesRan[3]; //! Residual distribtion from reandom cones on random event
TH1F* fh1CentralityPhySel; // ! centrality of anaylsed events
- TH1F* fh1Centrality; // ! centrality of anaylsed events
+ TH1F* fh1Centrality; // ! centrality of anaylsed events
TH1F* fh1CentralitySelect; // ! centrality of selected events
+ TH1F* fh1ZPhySel; // ! centrality of anaylsed events
+ TH1F* fh1Z; // ! centrality of anaylsed events
+ TH1F* fh1ZSelect; // ! centrality of selected events
+
TH2F* fh2NRecJetsPt; //! Number of found jets above threshold
TH2F* fh2NRecTracksPt; //! Number of found tracks above threshold
TList *fHistList; //!leading tracks to be skipped in the randomized event Output list
- ClassDef(AliAnalysisTaskJetCluster, 10)
+ ClassDef(AliAnalysisTaskJetCluster, 11)
};
#endif