Skip to content

Commit 1fb7f2b

Browse files
mdhankMichael Hank
andauthored
Removing EGCrackVetoCleaningTool (#1718)
Co-authored-by: Michael Hank <[email protected]>
1 parent 0eaf30a commit 1fb7f2b

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

Root/ElectronSelector.cxx

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,6 @@ bool ElectronSelector :: executeSelection ( const xAOD::ElectronContainer* inEle
597597
int nPass(0); int nObj(0);
598598
static SG::AuxElement::Decorator< char > passSelDecor( "passSel" );
599599

600-
bool passCrackVetoCleaning = true;
601-
const static SG::AuxElement::ConstAccessor<char> acc_CrackVetoCleaning("DFCommonCrackVetoCleaning");
602-
603600
for ( auto el_itr : *inElectrons ) { // duplicated of basic loop
604601

605602
// if only looking at a subset of electrons make sure all are decorated
@@ -621,24 +618,13 @@ bool ElectronSelector :: executeSelection ( const xAOD::ElectronContainer* inEle
621618

622619
if ( passSel ) {
623620

624-
// check DFCommonCrackVetoCleaning flag for topocluster association bugfix
625-
if (m_applyCrackVetoCleaning){
626-
if ( !acc_CrackVetoCleaning( *el_itr ) ) passCrackVetoCleaning = false;
627-
}
628-
629621
nPass++;
630622
if ( m_createSelectedContainer ) {
631623
selectedElectrons->push_back( el_itr );
632624
}
633625
}
634626
}
635627

636-
// Fix to EGamma Crack-Electron topocluster association bug for MET (PFlow)
637-
// https://twiki.cern.ch/twiki/bin/view/AtlasProtected/HowToCleanJetsR21#Muons_Reconstructed_as_Jets_in_P
638-
if (m_applyCrackVetoCleaning) {
639-
if (!passCrackVetoCleaning) return false; // skip event
640-
}
641-
642628
// for cutflow: make sure to count passed objects only once (i.e., this flag will be true only for nominal)
643629
//
644630
if ( countPass ) {

xAODAnaHelpers/ElectronSelector.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ class ElectronSelector : public xAH::Algorithm
192192
/// Recommended threshold for egamma triggers: see https://svnweb.cern.ch/trac/atlasoff/browser/Trigger/TrigAnalysis/TriggerMatchingTool/trunk/src/TestMatchingToolAlg.cxx
193193
double m_minDeltaR = 0.07;
194194

195-
/// @brief Apply fix to EGamma Crack-Electron topocluster association bug for MET (PFlow) / false by default
196-
bool m_applyCrackVetoCleaning = false;
197-
198195
/// @brief Element links need to be updated if merged electrons are used (LRT + std) / false by default
199196
bool m_merged_electrons = false;
200197
/// @brief Input prefix of trigger decision tool

0 commit comments

Comments
 (0)