Skip to content
Snippets Groups Projects
Commit 829a7f9e authored by cranshaw's avatar cranshaw
Browse files

Clean up some commented code

parent 5443153c
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!28528Revert 63f845ae,!27054Atr20369 210,!26342Monopole: Handle fractionally charged particles,!20019Fix two problems with thread/slot safety in the CutFlowSvc
...@@ -321,19 +321,6 @@ CutFlowSvc::addEvent( CutIdentifier cutID ) ...@@ -321,19 +321,6 @@ CutFlowSvc::addEvent( CutIdentifier cutID )
ATH_MSG_WARNING("DEPRECATED method, please call addEvent(ID,weight)"); ATH_MSG_WARNING("DEPRECATED method, please call addEvent(ID,weight)");
double evtWeight=1.0; double evtWeight=1.0;
/*
const xAOD::EventInfo* evtInfo = nullptr;
StatusCode sc = m_eventStore->retrieve(evtInfo);
if ( sc.isFailure() || nullptr == evtInfo ) {
ATH_MSG_WARNING("Could not retrieve EventInfo from StoreGate ");
evtWeight=-1000.;
} else {
// Only try to access the mcEventWeight is we are running on Monte Carlo, duhhh!
if ( evtInfo->eventType(xAOD::EventInfo::IS_SIMULATION) ) {
evtWeight = evtInfo->mcEventWeight();
}
}
*/
addEvent(cutID,evtWeight); addEvent(cutID,evtWeight);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment