Skip to content

Commit 9d77a3c

Browse files
committed
GLO: comment PV-ITS code for now
1 parent 69d5195 commit 9d77a3c

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

Modules/GLO/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Documents the available task in the module and their parameters.
3535
- `splitK0sMassPt=float` splitting point in pt to define low and high region by default off
3636
+ K0Fitter options
3737
#### ITS-PV
38-
- `doPVITSQC=false` produce ITS vs PV plots
38+
- `doPVITSQC=false` produce ITS vs PV plots (not implemented yet)
3939

4040
## ITS-TPC Matching Check
4141
### Parameters

Modules/GLO/src/ITSTPCMatchingTask.cxx

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)