8#include "Gaudi/Property.h"
15 ISvcLocator* pSvcLocator )
17 m_trigdec(
"Trig::TrigDecisionTool/TrigDecisionTool"),
18 m_matchTool(
"Trig::TrigEgammaMatchingTool/TrigEgammaMatchingTool",this)
36 if ( (
m_trigdec.retrieve()).isFailure() ){
37 ATH_MSG_ERROR(
"Could not retrieve Trigger Decision Tool! Can't work");
38 return StatusCode::FAILURE;
40 return StatusCode::SUCCESS;
54 ATH_MSG_INFO(
"REGTEST: " << iter->first <<
" == " << iter->second);
57 return StatusCode::SUCCESS;
67 ATH_MSG_DEBUG(
"REGTEST:: Method 1 Matched Electron with tool for " << trigger);
74 ATH_MSG_DEBUG(
"REGTEST:: Method 2 Matched Electron with tool for " << trigger);
75 if ( finalFC != NULL ){
78 ATH_MSG_DEBUG(
"REGTEST::Passed Matching method 2 for " << trigger);
87 ATH_MSG_DEBUG(
"REGTEST:: Method 3 Matched Electron with tool for " << trigger);
105 <<
", L2: " <<
m_trigdec->isPassed(
"L2_.*" )
106 <<
", EF: " <<
m_trigdec->isPassed(
"EF_.*" )
107 <<
", HLT: " <<
m_trigdec->isPassed(
"HLT_.*" ) );
108 auto chainGroups =
m_trigdec->getChainGroup(
"HLT_e.*");
110 for(
auto &trig : chainGroups->getListOfTriggers()) {
121 if ( (
evtStore()->retrieve(offElectrons,
"Electrons")).isFailure() ){
127 if ( (
evtStore()->retrieve(muons,
"Muons")).isFailure() ){
130 if(offElectrons)
ATH_MSG_INFO(
"Offline Electron container size " << offElectrons->
size());
134 if(!offElectrons)
continue;
135 for(
const auto eg : *offElectrons){
190 return StatusCode::SUCCESS;
#define ATH_MSG_VERBOSE(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
size_type size() const noexcept
Returns the number of elements in the collection.
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
The common trigger namespace for trigger analysis tools.
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
Egamma_v1 Egamma
Definition of the current "egamma version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".