|
ATLAS Offline Software
|
Go to the documentation of this file.
16 declareInterface<IJetHistoFiller>(
this);
34 return StatusCode::SUCCESS;
38 if(
jets.empty())
return StatusCode::SUCCESS;
45 if( acc_disabledTriggers.
isAvailable( *eventInfo ) ) {
46 const std::vector<std::string> & disabledTriggers = acc_disabledTriggers( *eventInfo );
47 for(
const std::string &
s: disabledTriggers )
if (
s==
m_probeTrigChain)
return StatusCode::SUCCESS;
57 bool noalg = sprob.find(
"noalg") != std::string::npos;
59 if(!(probeBits & TrigDefs::L1_isPassedAfterVeto) and !noalg)
return StatusCode::SUCCESS;
60 if( (probeBits & TrigDefs::EF_prescaled) )
return StatusCode::SUCCESS;
71 if(npassed==
m_jetIndex) {probeJet = j;
break; }
75 std::list<const xAOD::Jet*> tmpList;
83 if(npassed==
m_jetIndex) {probeJet = j;
break; }
88 if(probeJet ==
nullptr)
return StatusCode::SUCCESS;
102 return StatusCode::SUCCESS;
ToolHandle< IJetHistoVarTool > m_jetVar
virtual StatusCode initialize()
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Helper class to provide constant type-safe access to aux data.
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
Gaudi::Property< bool > m_sortJets
Gaudi::Property< size_t > m_jetIndex
Gaudi::Property< std::string > m_group
bool isPassed(const std::string &c) const
Gaudi::Property< std::string > m_probeTrigChain
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int isPassedBits(const std::string &c) const
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
JetHistoTriggEfficiency(const std::string &type, const std::string &name, const IInterface *parent)
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Declare a monitored scalar variable.
ToolHandle< IJetSelector > m_selectTool