@@ -146,33 +146,33 @@ void ITSTPCMatchingTask::endOfCycle()
146146 }
147147
148148 if (mDoPVITS ) {
149- const auto * h = (mIsPbPb ) ? mMatchITSTPCQC .getHistoPVNContVsITSTracksPbPb () : mMatchITSTPCQC .getHistoPVNContVsITSTracks ();
150- if (!h) {
151- ILOG (Fatal) << " Could not retrieve pv ITS histogram!" << ENDM;
152- }
153-
154- mPVITSCycle .reset ();
155- mPVITSCycle .reset (dynamic_cast <TH2F*>(h->Clone (" mPVNContVsITSTracks_Cycle" )));
156- if (!mPVITSCycle ) {
157- ILOG (Fatal) << " Could not retrieve pv ITS histogram for current cycle!" << ENDM;
158- }
159- if (!mPVITSIntegral ) {
160- mPVITSIntegral .reset (dynamic_cast <TH2F*>(h->Clone (" mPVNContVsITSTracks_Integral" )));
161- if (!mPVITSIntegral ) {
162- ILOG (Fatal) << " Could not retrieve pv ITS histogram for integral!" << ENDM;
163- }
164- }
165- if (mPVITSCycle ->GetEntries () != h->GetEntries ()) {
166- mPVITSCycle ->Reset ();
167- mPVITSCycle ->Add (h, mPVITSCycle .get (), 1 ., -1 .);
168- mPVITSIntegral ->Reset ();
169- mPVITSIntegral ->Add (h);
170-
171- getObjectsManager ()->startPublishing (mPVITSCycle .get (), PublicationPolicy::Once);
172- getObjectsManager ()->startPublishing (mPVITSIntegral .get (), PublicationPolicy::Once);
173- getObjectsManager ()->startPublishing (mPVITSCycle ->ProfileX (), PublicationPolicy::Once);
174- getObjectsManager ()->startPublishing (mPVITSIntegral ->ProfileX (), PublicationPolicy::Once);
175- }
149+ // const auto* h = (mIsPbPb) ? mMatchITSTPCQC.getHistoPVNContVsITSTracksPbPb() : mMatchITSTPCQC.getHistoPVNContVsITSTracks();
150+ // if (!h) {
151+ // ILOG(Fatal) << "Could not retrieve pv ITS histogram!" << ENDM;
152+ // }
153+
154+ // mPVITSCycle.reset();
155+ // mPVITSCycle.reset(dynamic_cast<TH2F*>(h->Clone("mPVNContVsITSTracks_Cycle")));
156+ // if (!mPVITSCycle) {
157+ // ILOG(Fatal) << "Could not retrieve pv ITS histogram for current cycle!" << ENDM;
158+ // }
159+ // if (!mPVITSIntegral) {
160+ // mPVITSIntegral.reset(dynamic_cast<TH2F*>(h->Clone("mPVNContVsITSTracks_Integral")));
161+ // if (!mPVITSIntegral) {
162+ // ILOG(Fatal) << "Could not retrieve pv ITS histogram for integral!" << ENDM;
163+ // }
164+ // }
165+ // if (mPVITSCycle->GetEntries() != h->GetEntries()) {
166+ // mPVITSCycle->Reset();
167+ // mPVITSCycle->Add(h, mPVITSCycle.get(), 1., -1.);
168+ // mPVITSIntegral->Reset();
169+ // mPVITSIntegral->Add(h);
170+
171+ // getObjectsManager()->startPublishing(mPVITSCycle.get(), PublicationPolicy::Once);
172+ // getObjectsManager()->startPublishing(mPVITSIntegral.get(), PublicationPolicy::Once);
173+ // getObjectsManager()->startPublishing(mPVITSCycle->ProfileX(), PublicationPolicy::Once);
174+ // getObjectsManager()->startPublishing(mPVITSIntegral->ProfileX(), PublicationPolicy::Once);
175+ // }
176176 }
177177
178178 if (mDoK0s ) {
0 commit comments