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;
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;
#define ATH_CHECK
Evaluate an expression and check for errors.
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
Gaudi::Property< std::string > m_probeTrigChain
ToolHandle< IJetSelector > m_selectTool
Gaudi::Property< bool > m_sortJets
virtual StatusCode processJetContainer(const JetMonitoringAlg &parentAlg, const xAOD::JetContainer &jets, const EventContext &ctx) const
ToolHandle< IJetHistoVarTool > m_jetVar
Gaudi::Property< std::string > m_group
Gaudi::Property< size_t > m_jetIndex
JetHistoTriggEfficiency(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode initialize()
A monitoring algorithm in charge of filling histogram for a JetContainer.
unsigned int isPassedBits(const std::string &c) const
bool isPassed(const std::string &c) const
Declare a monitored scalar variable.
SG::ConstAccessor< T, ALLOC > ConstAccessor
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
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.
static const unsigned int EF_prescaled
static const unsigned int L1_isPassedAfterVeto
Jet_v1 Jet
Definition of the current "jet version".
JetContainer_v1 JetContainer
Definition of the current "jet container version".