Skip to content

Commit 7a5fedb

Browse files
Fix clang
1 parent 5e0d759 commit 7a5fedb

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎PWGDQ/Tasks/tableReader_withAssoc.h‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ void PrintBitMap(TMap map, int nbits)
345345
// Function to compute the mu for pileup estimation, taken from EM code
346346
double calculateMu(const double interactionRate, const double nbc)
347347
{
348-
//uint64_t timeStamp = bc.timestamp();
349-
//auto grpmag = fCCDB->getForTimeStamp<o2::parameters::GRPMagField>(grpmagPath, events.begin().timestamp());
350-
//auto grpo = fCCDB->getForTimeStamp<o2::parameters::GRPLHCIFData>(fConfigCCDB.GrpLhcIfPath, timestamp);
351-
//auto bfilling = grpo->getBunchFilling();
352-
//double nbc = bfilling.getFilledBCs().size();
348+
// uint64_t timeStamp = bc.timestamp();
349+
// auto grpmag = fCCDB->getForTimeStamp<o2::parameters::GRPMagField>(grpmagPath, events.begin().timestamp());
350+
// auto grpo = fCCDB->getForTimeStamp<o2::parameters::GRPLHCIFData>(fConfigCCDB.GrpLhcIfPath, timestamp);
351+
// auto bfilling = grpo->getBunchFilling();
352+
// double nbc = bfilling.getFilledBCs().size();
353353

354354
double nTriggersPerFilledBC = (interactionRate * 1000) / nbc / o2::constants::lhc::LHCRevFreq;
355355
double mu = -std::log(1 - nTriggersPerFilledBC);
@@ -570,7 +570,7 @@ struct AnalysisEventSelection {
570570
auto bfilling = grpo->getBunchFilling();
571571
double nbc = bfilling.getFilledBCs().size();
572572
// IR is now in kHz, but in calcualteMu it is restored to Hz
573-
VarManager::fgValues[VarManager::kMuPerBc] = calculateMu(VarManager::fgValues[VarManager::kInteractionRate] , nbc);
573+
VarManager::fgValues[VarManager::kMuPerBc] = calculateMu(VarManager::fgValues[VarManager::kInteractionRate], nbc);
574574
}
575575

576576
bool decision = false;

0 commit comments

Comments
 (0)