From e3defc44768da353793201d8b8c62a12271634d4 Mon Sep 17 00:00:00 2001 From: Alexandru Bercuci <abercuci@niham.nipne.ro> Date: Fri, 26 Aug 2022 14:17:15 +0300 Subject: [PATCH] modify range of QA histo --- reco/qa/CbmTrackingTrdQa.cxx | 8 ++++---- reco/qa/CbmTrackingTrdQa.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/reco/qa/CbmTrackingTrdQa.cxx b/reco/qa/CbmTrackingTrdQa.cxx index ecfb43fa73..f318da5b2c 100644 --- a/reco/qa/CbmTrackingTrdQa.cxx +++ b/reco/qa/CbmTrackingTrdQa.cxx @@ -668,10 +668,10 @@ void CbmTrackingTrdQa::CreateHistos() const char* vxTyp[] = {"allY", "prmY", "secY", "allE", "prmE", "secE"}; for (int ivx(0); ivx < 6; ivx++) { for (int ipid(0); ipid < fgkNpdg; ipid++) { - fhPidPtY[vxTyp[ivx]][ipid] = - new TH2F(Form("hPtY_%s%s", vxTyp[ivx], Idx2Symb(ipid)), - Form("%s %s(%s); y - y_{cm}; p_{T} (GeV/c); %s", pltTitle[ivx], Idx2Name(ipid), vxTyp[ivx], pltLab[ivx]), 50, -2.5, - 2.5, nBinsPt, minPt, maxPt); + fhPidPtY[vxTyp[ivx]][ipid] = new TH2F( + Form("hPtY_%s%s", vxTyp[ivx], Idx2Symb(ipid)), + Form("%s %s(%s); y - y_{cm}; p_{T} (GeV/c); %s", pltTitle[ivx], Idx2Name(ipid), vxTyp[ivx], pltLab[ivx]), 50, + -2.5, 2.5, nBinsPt, minPt, maxPt); fHistoList->Add(fhPidPtY[vxTyp[ivx]][ipid]); } } diff --git a/reco/qa/CbmTrackingTrdQa.h b/reco/qa/CbmTrackingTrdQa.h index 42f54315bf..e3fb080dfd 100644 --- a/reco/qa/CbmTrackingTrdQa.h +++ b/reco/qa/CbmTrackingTrdQa.h @@ -163,7 +163,7 @@ private: Int_t fMinStations = 4; // Minimal number of stations with hits for considered MCTrack Double_t fQuota = 0.7; // True/all hits for track to be considered reconstructed - float fYCM = 0.; // rapidity of CM + float fYCM = 0.; // rapidity of CM TFolder fOutFolder = {"TrackingTrdQa", "TrackingTrdQa"}; /// output folder with histos and canvases -- GitLab