Skip to content
Snippets Groups Projects
Commit 45dc2054 authored by joaoVictorPinto's avatar joaoVictorPinto
Browse files

apply the review comments

parent c5dfdfce
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,!21787Update the Ringer Hypo to MT framework
/*
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
* */
/**********************************************************************
......
......@@ -10,10 +10,7 @@
#include "TrigEgammaEmulationTool/TrigEgammaSelectorBaseTool.h"
#include "AsgTools/AsgTool.h"
#include "EgammaAnalysisInterfaces/IAsgElectronIsEMSelector.h"
//#include "ElectronPhotonSelectorTools/IAsgPhotonIsEMSelector.h"
#include "EgammaAnalysisInterfaces/IAsgElectronLikelihoodTool.h"
//#include "egammaInterfaces/IEMFourMomBuilder.h"
//#include "egammaInterfaces/IEMShowerBuilder.h"
#include <vector>
namespace Trig{
......
......@@ -123,17 +123,17 @@ class TrigEgammaEmulationTool
template<class T>
const T*
TrigEgammaEmulationTool::getFeature(const HLT::TriggerElement* te,const std::string key){
if ( te == NULL ) return NULL;
if ( (m_trigdec->ancestor<T>(te,key)).te() == NULL )
return NULL;
if ( te == nullptr ) return nullptr;
if ( (m_trigdec->ancestor<T>(te,key)).te() == nullptr )
return nullptr;
return ( (m_trigdec->ancestor<T>(te)).cptr() );
}
template<class T>
bool
TrigEgammaEmulationTool::ancestorPassed(const HLT::TriggerElement* te,const std::string key){
if ( te == NULL ) return false;
if ( (m_trigdec->ancestor<T>(te,key)).te() == NULL )
if ( te == nullptr ) return false;
if ( (m_trigdec->ancestor<T>(te,key)).te() == nullptr )
return false;
return ( (m_trigdec->ancestor<T>(te)).te()->getActiveState());
}
......
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
def createIsoToolElectronSelector():
from AthenaCommon.AppMgr import ToolSvc
......
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