fPhi(1e10),
fTPCOuterPhi(1e10),
fL(1e10),
- fMatchingMomCut(1e10),
+ fMatchingMomCut(0.0),
+ fMatchingEtaCut(1e10),
fTof(1e10),
fHlist(0x0),
fHlistTimeZero(0x0),
fTPCOuterPhi(1e10),
fL(1e10),
fMatchingMomCut(1.0),
+ fMatchingEtaCut(0.8),
fTof(1e10),
fHlist(0x0),
fHlistTimeZero(0x0),
fTPCOuterPhi(copy.fTPCOuterPhi),
fL(copy.fL),
fMatchingMomCut(copy.fMatchingMomCut),
+ fMatchingEtaCut(copy.fMatchingEtaCut),
fTof(copy.fTof),
fHlist(copy.fHlist),
fHlistTimeZero(copy.fHlistTimeZero),
fTPCOuterPhi=copy.fTPCOuterPhi;
fL=copy.fL;
fMatchingMomCut=copy.fMatchingMomCut;
+ fMatchingEtaCut=copy.fMatchingEtaCut;
fTof=copy.fTof;
fHlist=copy.fHlist;
fHlistTimeZero=copy.fHlistTimeZero;
//apply cut for eta acceptance
fEta=track->Eta();
- if (TMath::Abs(fEta)>0.8) continue;
+ if (TMath::Abs(fEta)>fMatchingEtaCut) continue;
//get other track variables
fP = track->P();
if(fVertex->GetNContributors()<1) fVertex = 0x0;
}
if (!fVertex) return kFALSE;
- if (TMath::Abs(fVertex->GetZv())<10.0) return kTRUE;
+ if (TMath::Abs(fVertex->GetZ())<10.0) return kTRUE;
else return kFALSE;
}
AliInfo("No track filter found, skipping the track loop");
break;
}
- if (TMath::Abs(track->Eta())>0.8) continue; //cut for acceptance
+ if (TMath::Abs(track->Eta())>fMatchingEtaCut) continue; //cut for acceptance
Int_t StartTimeBit = fESDpid->GetTOFResponse().GetStartTimeMask(track->P());
((TH2F*)fHlistTimeZero->FindObject(Form("hStartTimeMask%s",suffix.Data())))->Fill(track->P(),StartTimeBit);
if (charge>0) cLabel.Form("pos");
- TH1I* hTOFmulti = new TH1I(Form("hTOFmulti%s_%s",suffix.Data(), cLabel.Data()), Form("%s matched trk per event (|#eta|#leq0.8, p_{T}#geq0.3 GeV/c)", cLabel.Data()), 100, 0, 100);
+ TH1I* hTOFmulti = new TH1I(Form("hTOFmulti%s_%s",suffix.Data(), cLabel.Data()), Form("%s matched trk per event (|#eta|#leq%3.2f, p_{T}#geq0.3 GeV/c)", cLabel.Data(), fMatchingEtaCut), 100, 0, 100);
HistogramMakeUp(hTOFmulti, ((charge>0)? kRed : kBlue+2), 1, "E1", "","", "N","events");
list->AddLast(hTOFmulti);