Skip to content
Snippets Groups Projects
Commit c31218e0 authored by Matthew Joseph Basso's avatar Matthew Joseph Basso
Browse files

Merge branch 'cutbookkeeper-ignore-errors' into 'master'

Increase error ignore level when retrieving CutBookkeepers

See merge request !887
parents ef6dd0a1 950f6669
No related branches found
Tags 1.8.6
1 merge request!887Increase error ignore level when retrieving CutBookkeepers
Pipeline #8453588 failed
...@@ -267,7 +267,7 @@ bool TQxAODskimmingAlgorithm::initializeSingleton(const std::vector<TQSample*>& ...@@ -267,7 +267,7 @@ bool TQxAODskimmingAlgorithm::initializeSingleton(const std::vector<TQSample*>&
} }
int oldErrorIgnoreLevel = gErrorIgnoreLevel; int oldErrorIgnoreLevel = gErrorIgnoreLevel;
gErrorIgnoreLevel = 2000; //silence errors (we sort of expect them) gErrorIgnoreLevel = kError; //silence errors (we sort of expect them)
if ( fEvent->retrieveMetaOutput<xAOD::CutBookkeeperContainer>(outCbk,name).isSuccess() ) { //we got a matching Cbk in the output file, let's merge with the new one. if ( fEvent->retrieveMetaOutput<xAOD::CutBookkeeperContainer>(outCbk,name).isSuccess() ) { //we got a matching Cbk in the output file, let's merge with the new one.
outCbk->merge(inCbk); outCbk->merge(inCbk);
} else { } else {
......
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