From a2258a6d9bdfcbd28c70c7f5569ce3141e33e1ce Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Tue, 24 Oct 2023 20:16:54 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/DataModel/Multiplicity.h | 2 +- .../TableProducer/multiplicityExtraTable.cxx | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Common/DataModel/Multiplicity.h b/Common/DataModel/Multiplicity.h index 753102ba6ee..aa6440fb96d 100644 --- a/Common/DataModel/Multiplicity.h +++ b/Common/DataModel/Multiplicity.h @@ -116,7 +116,7 @@ DECLARE_SOA_COLUMN(MultBCTVX, multBCTVX, bool); //! DECLARE_SOA_COLUMN(MultBCFV0OrA, multBCFV0OrA, bool); //! DECLARE_SOA_COLUMN(MultBCV0triggerBits, multBCV0triggerBits, uint8_t); //! DECLARE_SOA_COLUMN(MultBCTriggerMask, multBCTriggerMask, uint64_t); //! CTP trigger mask -DECLARE_SOA_COLUMN(MultBCColliding, multBCColliding, bool); //! CTP trigger mask +DECLARE_SOA_COLUMN(MultBCColliding, multBCColliding, bool); //! CTP trigger mask } // namespace multDebug DECLARE_SOA_TABLE(MultsBC, "AOD", "MULTBC", //! multBC::MultBCFT0A, diff --git a/Common/TableProducer/multiplicityExtraTable.cxx b/Common/TableProducer/multiplicityExtraTable.cxx index 443d98b9fa0..729d90fa8c4 100644 --- a/Common/TableProducer/multiplicityExtraTable.cxx +++ b/Common/TableProducer/multiplicityExtraTable.cxx @@ -65,26 +65,26 @@ struct MultiplicityExtraTable { int localBC = bc.globalBC() % nBCsPerOrbit; if (newRunNumber != oldRunNumber) { - uint64_t ts{}; - std::map metadataRCT, headers; - headers = ccdbApi.retrieveHeaders(Form("RCT/Info/RunInformation/%i", newRunNumber), metadataRCT, -1); - ts = atol(headers["SOR"].c_str()); - - LOG(info) << " newRunNumber " << newRunNumber << " time stamp " << ts; - oldRunNumber = newRunNumber; - std::map mapMetadata; - std::map mapHeader; - auto grplhcif = ccdb->getForTimeStamp("GLO/Config/GRPLHCIF", ts); - CollidingBunch = grplhcif->getBunchFilling().getBCPattern(); - for (int i = 0; i < (int)CollidingBunch.size(); i++) { - if (CollidingBunch.test(i)) { - LOG(info) << i << " "; - } + uint64_t ts{}; + std::map metadataRCT, headers; + headers = ccdbApi.retrieveHeaders(Form("RCT/Info/RunInformation/%i", newRunNumber), metadataRCT, -1); + ts = atol(headers["SOR"].c_str()); + + LOG(info) << " newRunNumber " << newRunNumber << " time stamp " << ts; + oldRunNumber = newRunNumber; + std::map mapMetadata; + std::map mapHeader; + auto grplhcif = ccdb->getForTimeStamp("GLO/Config/GRPLHCIF", ts); + CollidingBunch = grplhcif->getBunchFilling().getBCPattern(); + for (int i = 0; i < (int)CollidingBunch.size(); i++) { + if (CollidingBunch.test(i)) { + LOG(info) << i << " "; } + } } // new run number - bool collidingBC = CollidingBunch.test(localBC); - + bool collidingBC = CollidingBunch.test(localBC); + if (bc.has_ft0()) { auto ft0 = bc.ft0(); std::bitset<8> triggers = ft0.triggerMask();