if(fDebug)Printf("%s:%d iFoundBin %d",(char*)__FILE__,__LINE__,iFoundBin);
- if(iFoundBin>0){
+ if(iFoundBin>0&&(fp1CalibRPYA)){
meanXA = fp1CalibRPXA->GetBinContent(iFoundBin);
meanYA = fp1CalibRPYA->GetBinContent(iFoundBin);
meanXC = fp1CalibRPXC->GetBinContent(iFoundBin);
fPtBinEdges[0][1] = 1.;
fPtBinEdges[1][0] = 20.;
fPtBinEdges[1][1] = 2.;
- fPtBinEdges[2][0] = 50.;
- fPtBinEdges[2][1] = 5.;
+ fPtBinEdges[2][0] = 100.;
+ fPtBinEdges[2][1] = 10.;
}
//________________________________________________________________________
fPtBinEdges[0][1] = 1.;
fPtBinEdges[1][0] = 20.;
fPtBinEdges[1][1] = 2.;
- fPtBinEdges[2][0] = 50.;
- fPtBinEdges[2][1] = 5.;
+ fPtBinEdges[2][0] = 100.;
+ fPtBinEdges[2][1] = 10.;
// Input slot #0 works with a TChain ESD
DefineInput(0, TChain::Class());
if (itsMap & (1 << i))
nPointITS ++;
}
- nSigmaToVertex = fTrackCuts->GetSigmaToVertex(track);// Calculates the number of sigma to the vertex for a track.
- chi2C = track->GetConstrainedChi2();
- relUncertainty1Pt = TMath::Sqrt(track->GetSigma1Pt2())*pt;
- fPtAll->Fill(pt);
+ // fPtAll->Fill(pt);
fPtAllMC->Fill(ptMC);
if (fTrackCuts->AcceptTrack(track)) {
pt = track->Pt();
phi = track->Phi();
+ nSigmaToVertex = fTrackCuts->GetSigmaToVertex(track);// Calculates the number of sigma to the vertex for a track.
+ chi2C = track->GetConstrainedChi2();
+ relUncertainty1Pt = TMath::Sqrt(track->GetSigma1Pt2())*pt;
+
fPtSel->Fill(pt);
if(track->GetLabel()<0) {
fPtSelFakes->Fill(pt);
fPtMax(100.),
fIsPbPb(0),
fCentClass(10),
- fNVariables(20),
+ fNVariables(21),
fVariables(0x0),
fAvgTrials(1),
fNEventAll(0),
fPtDCAZ(0x0),
fPtNClustersTPC(0x0),
fPtNClustersTPCIter1(0x0),
+ fPtNClustersTPCShared(0x0),
+ fPtNClustersTPCSharedFrac(0x0),
fPtNPointITS(0x0),
fPtChi2C(0x0),
fPtNSigmaToVertex(0x0),
fSystTrackCuts(0x0),
fHistList(0)
{
- SetNVariables(20);
+ SetNVariables(21);
fPtBinEdges[0][0] = 10.;
fPtBinEdges[0][1] = 1.;
fPtMax(100.),
fIsPbPb(0),
fCentClass(10),
- fNVariables(20),
+ fNVariables(21),
fVariables(0x0),
fAvgTrials(1),
fNEventAll(0),
fPtDCAZ(0x0),
fPtNClustersTPC(0x0),
fPtNClustersTPCIter1(0x0),
+ fPtNClustersTPCShared(0x0),
+ fPtNClustersTPCSharedFrac(0x0),
fPtNPointITS(0x0),
fPtChi2C(0x0),
fPtNSigmaToVertex(0x0),
//
AliDebug(2,Form("AliPWG4HighPtTrackQA Calling Constructor"));
- SetNVariables(20);
+ SetNVariables(21);
fPtBinEdges[0][0] = 10.;
fPtBinEdges[0][1] = 1.;
fPtNClustersTPCIter1 = new TH2F("fPtNClustersTPCIter1","fPtNClustersTPCIter1",fgkNPtBins,binsPt,fgkNNClustersTPCBins,binsNClustersTPC);
fHistList->Add(fPtNClustersTPCIter1);
+
+ fPtNClustersTPCShared = new TH2F("fPtNClustersTPCShared","fPtNClustersTPCShared",fgkNPtBins,binsPt,fgkNNClustersTPCBins,binsNClustersTPC);
+ fHistList->Add(fPtNClustersTPCShared);
+
+ fPtNClustersTPCSharedFrac = new TH2F("fPtNClustersTPCSharedFrac","fPtNClustersTPCSharedFrac",fgkNPtBins,binsPt,fgkNSigma1Pt2Bins,binsSigma1Pt2);
+ fHistList->Add(fPtNClustersTPCSharedFrac);
fPtNPointITS = new TH2F("fPtNPointITS","fPtNPointITS",fgkNPtBins,binsPt,fgkNNPointITSBins,binsNPointITS);
fHistList->Add(fPtNPointITS);
17: Sigma1Pt2
18: NClustersTPCIter1
19: Chi2TPCIter1
+ 20: nClustersTPCShared
*/
for (Int_t iTrack = 0; iTrack < nTracks; iTrack++) {
fVariables->SetAt(track->GetTPCNclsIter1(),18);
fVariables->SetAt(track->GetTPCchi2Iter1(),19);
+
+ fVariables->SetAt(track->GetTPCnclsS(),20);
FillHistograms();
fVariables->SetAt(0.,18);
fVariables->SetAt(0.,19);
+
+ TBits sharedClusterMap = aodtrack->GetTPCSharedMap();
+ fVariables->SetAt(sharedClusterMap.CountBits(),20);
fPtAll->Fill(fVariables->At(0));
fPtNClustersTPCIter1->Fill(fVariables->At(0),fVariables->At(18));
+ fPtNClustersTPCShared->Fill(fVariables->At(0),fVariables->At(20));
+ if(fVariables->At(5)>0.)
+ fPtNClustersTPCSharedFrac->Fill(fVariables->At(0),fVariables->At(20)/fVariables->At(5));
+
if(fVariables->At(18)>0.)
fPtChi2PerClusterTPCIter1->Fill(fVariables->At(0),fVariables->At(19)/fVariables->At(18));
fPtNCrossedRows->Fill(fVariables->At(0),fVariables->At(11));
fPtNCrossedRowsNClusF->Fill(fVariables->At(0),fVariables->At(12));
fPtNCrRNCrRNClusF->Fill(fVariables->At(0),fVariables->At(11),fVariables->At(12));
+
}
//________________________________________________________________________
TH2F *fPtDCAZ; //! Pt vs DCAZ
TH2F *fPtNClustersTPC; //! Pt vs nClustersTPC
TH2F *fPtNClustersTPCIter1; //! Pt vs nClustersTPCIter1
+ TH2F *fPtNClustersTPCShared; //! Pt vs nClustersTPCShared
+ TH2F *fPtNClustersTPCSharedFrac; //! Pt vs nClustersTPCSharedFrac
TH2F *fPtNPointITS; //! Pt vs nPointITS
TH2F *fPtChi2C; //! Pt vs Chi2C
TH2F *fPtNSigmaToVertex; //! Pt vs nSigmaToVertex
// AliPWG4HighPtTrackQA *taskTrackQA11cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,1,1);
// AliPWG4HighPtTrackQA *taskTrackQA20cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,2,0);
// AliPWG4HighPtTrackQA *taskTrackQA21cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,2,1);
- AliPWG4HighPtTrackQA *taskTrackQA40cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,0);
+ // AliPWG4HighPtTrackQA *taskTrackQA40cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,0);
// AliPWG4HighPtTrackQA *taskTrackQA41cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,1);
// AliPWG4HighPtTrackQA *taskTrackQA50cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,5,0);
// AliPWG4HighPtTrackQA *taskTrackQA60cent10 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,6,0);
// AliPWG4HighPtTrackQA *taskTrackQA11 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,1,1);
// AliPWG4HighPtTrackQA *taskTrackQA20 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,2,0);
// AliPWG4HighPtTrackQA *taskTrackQA21 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,2,1);
- AliPWG4HighPtTrackQA *taskTrackQA40 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,0);
+ // AliPWG4HighPtTrackQA *taskTrackQA40 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,0);
// AliPWG4HighPtTrackQA *taskTrackQA41 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,4,1);
// AliPWG4HighPtTrackQA *taskTrackQA50 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,5,0);
// AliPWG4HighPtTrackQA *taskTrackQA60 = AddTaskPWG4HighPtTrackQA(prodType,isPbPb,iAODanalysis,cent,6,0);