Skip to content

Commit

Permalink
Merge pull request #42749 from missirol/devel_l1tEmuZDC_rmCout
Browse files Browse the repository at this point in the history
remove `std::cout` calls in `TriggerMenuParser::parseEnergySumZdc`
  • Loading branch information
cmsbuild authored Sep 12, 2023
2 parents c9f66bc + a77836b commit 95ab158
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 95ab158

Please sign in to comment.