|
ATLAS Offline Software
|
Go to the documentation of this file.
11 ,m_jetContainerKey(
"AntiKt4LCTopoJets"), m_jetFillerTools(this), m_failureOnMissingContainer(true), m_onlyPassingJets(true)
45 std::list<const xAOD::Jet*> tmpList;
47 for(
const auto& jetLinkInfo : fc) {
48 if (!jetLinkInfo.isValid()) {
54 tmpList.push_back( trigjet );
61 if (trigJetsCont->
empty()) {
63 return StatusCode::SUCCESS;
67 ATH_CHECK(
t->processJetContainer(*
this, *trigJetsCont, ctx) );
72 if (!
jets.isValid() ) {
75 return StatusCode::FAILURE;
78 return StatusCode::SUCCESS;
83 bool eventFiresAnyJetChain =
false;
86 if (
isPassed(trig)) { eventFiresAnyJetChain =
true;
break; }
88 if (!eventFiresAnyJetChain)
return StatusCode::SUCCESS;
97 return StatusCode::SUCCESS;
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Gaudi::Property< std::string > m_triggerChainString
Trigger chain string pulled from the job option and parsed into a vector.
const ToolHandle< Trig::TrigDecisionTool > & getTrigDecisionTool() const
Get the trigger decision tool member.
ToolHandleArray< IJetHistoFiller > m_jetFillerTools
const DV * asDataVector() const
Return a pointer to this object, as a const DataVector.
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Base class for Athena Monitoring Algorithms.
virtual ~JetMonitoringAlg()
bool isPassed(const std::string &c) const
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int isPassedBits(const std::string &c) const
ElementLink implementation for ROOT usage.
bool m_failureOnMissingContainer
value_type push_back(value_type pElem)
Add an element to the end of the collection.
JetMonitoringAlg(const std::string &name, ISvcLocator *pSvcLocator)
bool m_eventFiresAnyJetChain
virtual StatusCode initialize() override
initialize
#define ATH_MSG_WARNING(x)
DataVector adapter that acts like it holds const pointers.
virtual StatusCode initialize() override
initialize
std::vector< std::string > getListOfTriggers() const
bool empty() const noexcept
Returns true if the collection is empty.