From fb7881862963e5e32f61d1185a3a04a4a80bd448 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 17 May 2024 10:19:19 +0000 Subject: [PATCH] Please consider the following formatting changes --- .../GLOQC/include/GLOQC/ITSTPCMatchingQCParams.h | 3 +-- Detectors/GLOQC/include/GLOQC/MatchITSTPCQC.h | 10 +++++----- Detectors/GLOQC/src/MatchITSTPCQC.cxx | 16 +++++++--------- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/Detectors/GLOQC/include/GLOQC/ITSTPCMatchingQCParams.h b/Detectors/GLOQC/include/GLOQC/ITSTPCMatchingQCParams.h index f368c8860007b..001996feb4c69 100644 --- a/Detectors/GLOQC/include/GLOQC/ITSTPCMatchingQCParams.h +++ b/Detectors/GLOQC/include/GLOQC/ITSTPCMatchingQCParams.h @@ -32,12 +32,11 @@ struct ITSTPCMatchingQCParams : public o2::conf::ConfigurableParamHelper mDataRequest; @@ -393,7 +393,7 @@ class MatchITSTPCQC bool mRefit = false; // whether to refit or not float mMaxEtaK0 = 0.8; // cut on the K0 eta long int mTimestamp = -1; // timestamp used to load the SVertexParam object: if differnt from -1, we don't load (it means we already did it) - + ClassDefNV(MatchITSTPCQC, 3); }; } // namespace gloqc diff --git a/Detectors/GLOQC/src/MatchITSTPCQC.cxx b/Detectors/GLOQC/src/MatchITSTPCQC.cxx index 4efc03d9c13f0..01f838615656d 100644 --- a/Detectors/GLOQC/src/MatchITSTPCQC.cxx +++ b/Detectors/GLOQC/src/MatchITSTPCQC.cxx @@ -383,7 +383,7 @@ bool MatchITSTPCQC::init() // V0s mK0Mass = new TH1F("mK0Mass", "K0 invariant mass", 100, 0.3, 0.7); } - + return true; } @@ -393,7 +393,7 @@ void MatchITSTPCQC::initDataRequest() { // initialize data request, if it was not already done - + if (mDoK0QC) { mSrc = GID::getSourcesMask("ITS,TPC,ITS-TPC,ITS-TPC-TOF,TPC-TOF,TPC-TRD,ITS-TPC-TRD,TPC-TRD-TOF,ITS-TPC-TOF,ITS-TPC-TRD-TOF"); } @@ -907,7 +907,7 @@ void MatchITSTPCQC::run(o2::framework::ProcessingContext& ctx) // now doing K0S const auto pvertices = ctx.inputs().get>("pvtx"); LOG(info) << "Found " << pvertices.size() << " primary vertices"; - + auto v0IDs = mRecoCont.getV0sIdx(); auto nv0 = v0IDs.size(); if (nv0 > mRecoCont.getV0s().size()) { @@ -922,19 +922,19 @@ void MatchITSTPCQC::run(o2::framework::ProcessingContext& ctx) const auto v0id = v0IDs[iv]; pv2sv[v0id.getVertexID()].push_back(iv); } - int nV0sOk = 0; + int nV0sOk = 0; // processing every sec vtx for each prim vtx for (auto it : pv2sv) { int pvID = it.first; auto& vv = it.second; if (pvID < 0 || vv.size() == 0) { - continue; + continue; } for (int iv0 : vv) { - nV0sOk += processV0(iv0, mRecoCont) ? 1 : 0; + nV0sOk += processV0(iv0, mRecoCont) ? 1 : 0; } } - + LOG(info) << "Processed " << nV0sOk << " V0s"; } evCount++; @@ -1008,7 +1008,6 @@ bool MatchITSTPCQC::refitV0(const o2::dataformats::V0Index& id, o2::dataformats: return true; } - //__________________________________________________________ void MatchITSTPCQC::finalize() { @@ -1234,5 +1233,4 @@ void MatchITSTPCQC::getHistos(TObjArray& objar) // V0 objar.Add(mK0Mass); - }