#include <L1GlobalTriggerObjectMaps.h>
Public Member Functions | |
ConditionsInAlgorithm (ConditionResult const *conditionResults, unsigned nConditions) | |
bool | getConditionResult (unsigned condition) const |
unsigned | nConditions () const |
Private Attributes | |
ConditionResult const * | m_conditionResults |
unsigned | m_nConditions |
Definition at line 132 of file L1GlobalTriggerObjectMaps.h.
L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::ConditionsInAlgorithm | ( | ConditionResult const * | conditionResults, |
unsigned | nConditions | ||
) |
Definition at line 290 of file L1GlobalTriggerObjectMaps.cc.
: m_conditionResults(conditionResults), m_nConditions(nConditions) { }
bool L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::getConditionResult | ( | unsigned | condition | ) | const |
Definition at line 297 of file L1GlobalTriggerObjectMaps.cc.
References cms::Exception::addContext(), and L1GlobalTriggerObjectMaps::m_conditionResults.
Referenced by CompareToObjectMapRecord::analyze(), and pat::PATTriggerProducer::produce().
{ if (condition >= m_nConditions) { cms::Exception ex("L1GlobalTrigger"); ex << "argument out of range"; ex.addContext("Calling L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::getConditionResult"); throw ex; } return (m_conditionResults + condition)->conditionResult(); }
unsigned L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::nConditions | ( | ) | const [inline] |
Definition at line 136 of file L1GlobalTriggerObjectMaps.h.
References m_nConditions.
Referenced by CompareToObjectMapRecord::analyze(), and pat::PATTriggerProducer::produce().
{ return m_nConditions; }
ConditionResult const* L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::m_conditionResults [private] |
Definition at line 140 of file L1GlobalTriggerObjectMaps.h.
unsigned L1GlobalTriggerObjectMaps::ConditionsInAlgorithm::m_nConditions [private] |
Definition at line 141 of file L1GlobalTriggerObjectMaps.h.
Referenced by nConditions().