Skip to content

Commit

Permalink
remove std::cout calls in TriggerMenuParser::parseEnergySumZdc
Browse files Browse the repository at this point in the history
  • Loading branch information
missirol committed Sep 11, 2023
1 parent 99f2750 commit a77836b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions L1Trigger/L1TGlobal/plugins/TriggerMenuParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2410,10 +2410,9 @@ bool l1t::TriggerMenuParser::parseEnergySumZdc(L1TUtmCondition condEnergySumZdc,
std::string type = l1t2string(condEnergySumZdc.getType());
std::string name = l1t2string(condEnergySumZdc.getName());

std::cout << "\n ****************************************** "
//LogDebug("TriggerMenuParser") << "\n ****************************************** "
<< "\n (in parseEnergySumZdc) "
<< "\n condition = " << condition << "\n type = " << type << "\n name = " << name << std::endl;
LogDebug("TriggerMenuParser")
<< "\n ******************************************\n (in parseEnergySumZdc)\n condition = " << condition
<< "\n type = " << type << "\n name = " << name;

// determine object type
GlobalObject energySumObjType;
Expand Down Expand Up @@ -2486,12 +2485,9 @@ bool l1t::TriggerMenuParser::parseEnergySumZdc(L1TUtmCondition condEnergySumZdc,
objParameter[cnt].etHighThreshold = upperThresholdInd;

// Output for debugging
std::cout
<< "\n EnergySumZdc ET high threshold (hex) for energy sum object "
<< cnt
//LogDebug("TriggerMenuParser") << "\n EnergySumZdc ET high threshold (hex) for energy sum object " << cnt
<< " = " << std::hex << objParameter[cnt].etLowThreshold << " - " << objParameter[cnt].etHighThreshold
<< std::dec << std::endl;
LogDebug("TriggerMenuParser") << "\n EnergySumZdc ET high threshold (hex) for energy sum object " << cnt
<< " = " << std::hex << objParameter[cnt].etLowThreshold << " - "
<< objParameter[cnt].etHighThreshold << std::dec;

cnt++;
} //end loop over objects
Expand Down

0 comments on commit a77836b

Please sign in to comment.