#include <GtCondition.h>
Public Member Functions | |
const l1t::GtConditionCategory & | condCategory () const |
get / set the category of the condition More... | |
const int & | condChipNr () const |
get / set the condition-chip number the condition is located on More... | |
const bool | condGEq () const |
get / set condition GEq flag More... | |
const std::string & | condName () const |
get / set condition name More... | |
const int & | condRelativeBx () const |
get / set the condition relative bx More... | |
const l1t::GtConditionType & | condType () const |
get / set the type of the condition (1s, etc) More... | |
const bool | corr () const |
GtCondition () | |
GtCondition (const std::string &) | |
constructor from condition name More... | |
GtCondition (const std::string &, const l1t::GtConditionCategory &, const l1t::GtConditionType &) | |
constructor from condition name, category and type More... | |
const int | nrObjects () const |
get number of trigger objects More... | |
const std::vector< L1GtObject > & | objectType () const |
get / set the trigger object type(s) in the condition More... | |
virtual void | print (std::ostream &myCout) const |
print condition More... | |
void | setCondCategory (const l1t::GtConditionCategory &cCategory) |
void | setCondChipNr (const int &cChipNr) |
void | setCondGEq (const bool &cGEq) |
void | setCondName (const std::string &cName) |
void | setCondRelativeBx (const int &cRelativeBx) |
void | setCondType (const l1t::GtConditionType &cType) |
void | setObjectType (const std::vector< L1GtObject > &objType) |
const bool | wsc () const |
virtual | ~GtCondition () |
destructor More... | |
Protected Attributes | |
l1t::GtConditionCategory | m_condCategory |
the category of the condition More... | |
int | m_condChipNr |
condition is located on condition chip m_condChipNr More... | |
bool | m_condGEq |
the operator used for the condition (>=, =): true for >= More... | |
std::string | m_condName |
the name of the condition More... | |
int | m_condRelativeBx |
l1t::GtConditionType | m_condType |
the type of the condition (1s, etc) More... | |
std::vector< L1GtObject > | m_objectType |
the trigger object type(s) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const GtCondition &) |
output stream operator More... | |
Description: base class for L1 Global Trigger object templates (condition).
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 35 of file GtCondition.h.
GtCondition::GtCondition | ( | ) |
constructor(s)
Definition at line 28 of file GtCondition.cc.
References l1t::CondNull, m_condCategory, m_condChipNr, m_condRelativeBx, m_condType, and l1t::TypeNull.
GtCondition::GtCondition | ( | const std::string & | cName | ) |
constructor from condition name
Definition at line 40 of file GtCondition.cc.
References l1t::CondNull, m_condCategory, m_condChipNr, m_condName, m_condRelativeBx, m_condType, and l1t::TypeNull.
GtCondition::GtCondition | ( | const std::string & | cName, |
const l1t::GtConditionCategory & | cCategory, | ||
const l1t::GtConditionType & | cType | ||
) |
constructor from condition name, category and type
Definition at line 52 of file GtCondition.cc.
References m_condCategory, m_condChipNr, m_condName, m_condRelativeBx, and m_condType.
|
virtual |
|
inline |
get / set the category of the condition
Definition at line 68 of file GtCondition.h.
References m_condCategory.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), and MuonTemplate::copy().
|
inline |
get / set the condition-chip number the condition is located on
Definition at line 112 of file GtCondition.h.
References m_condChipNr.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), and MuonTemplate::copy().
|
inline |
get / set condition GEq flag
Definition at line 101 of file GtCondition.h.
References m_condGEq.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), and MuonTemplate::copy().
|
inline |
get / set condition name
Definition at line 57 of file GtCondition.h.
References m_condName.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), l1t::TriggerMenuParser::insertConditionIntoMap(), and l1t::TriggerMenuXmlParser::insertConditionIntoMap().
|
inline |
get / set the condition relative bx
Definition at line 123 of file GtCondition.h.
References m_condRelativeBx.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), and MuonTemplate::copy().
|
inline |
get / set the type of the condition (1s, etc)
Definition at line 79 of file GtCondition.h.
References m_condType.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), and MuonTemplate::copy().
const bool GtCondition::corr | ( | ) | const |
get logic flag for conditions, different type of trigger objects, and with spatial correlations
Definition at line 143 of file GtCondition.cc.
References m_condType, and l1t::Type2cor.
const int GtCondition::nrObjects | ( | ) | const |
get number of trigger objects
Definition at line 74 of file GtCondition.cc.
References m_condType, l1t::Type1s, l1t::Type2cor, l1t::Type2s, l1t::Type2wsc, l1t::Type3s, l1t::Type4s, TypeBptx, TypeCastor, TypeETM, TypeETT, TypeExternal, TypeHfBitCounts, TypeHfRingEtSums, TypeHTM, TypeHTT, TypeJetCounts, and l1t::TypeNull.
Referenced by CaloTemplate::CaloTemplate(), CorrelationTemplate::CorrelationTemplate(), EnergySumTemplate::EnergySumTemplate(), MuonTemplate::MuonTemplate(), EnergySumTemplate::print(), CaloTemplate::print(), and MuonTemplate::print().
|
inline |
get / set the trigger object type(s) in the condition
Definition at line 90 of file GtCondition.h.
References m_objectType.
Referenced by l1t::CaloCondition::CaloCondition(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), and l1t::CorrCondition::evaluateCondition().
|
virtual |
print condition
Reimplemented in MuonTemplate, CorrelationTemplate, CaloTemplate, EnergySumTemplate, and ExternalTemplate.
Definition at line 154 of file GtCondition.cc.
References BPTX, CenJet, CondBptx, l1t::CondCalo, CondCastor, l1t::CondCorrelation, CondEnergySum, CondExternal, CondHfBitCounts, CondHfRingEtSums, CondJetCounts, l1t::CondMuon, l1t::CondNull, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, i, IsoEG, JetCounts, m_condCategory, m_condChipNr, m_condGEq, m_condName, m_condRelativeBx, m_condType, m_objectType, Mu, NoIsoEG, TauJet, l1t::Type1s, l1t::Type2cor, l1t::Type2s, l1t::Type2wsc, l1t::Type3s, l1t::Type4s, TypeBptx, TypeCastor, TypeETM, TypeETT, TypeExternal, TypeHfBitCounts, TypeHfRingEtSums, TypeHTM, TypeHTT, TypeJetCounts, and l1t::TypeNull.
Referenced by operator<<(), ExternalTemplate::print(), EnergySumTemplate::print(), CaloTemplate::print(), CorrelationTemplate::print(), and MuonTemplate::print().
|
inline |
Definition at line 73 of file GtCondition.h.
References m_condCategory.
|
inline |
Definition at line 117 of file GtCondition.h.
References m_condChipNr.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloV2(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuXmlParser::parseCorrelationV2(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumV2(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuXmlParser::parseExternalV2(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuXmlParser::parseMuonCorr(), and l1t::TriggerMenuXmlParser::parseMuonV2().
|
inline |
Definition at line 106 of file GtCondition.h.
References m_condGEq.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloV2(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuXmlParser::parseCorrelationV2(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumV2(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuXmlParser::parseExternalV2(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuXmlParser::parseMuonCorr(), and l1t::TriggerMenuXmlParser::parseMuonV2().
|
inline |
Definition at line 62 of file GtCondition.h.
References m_condName.
|
inline |
Definition at line 128 of file GtCondition.h.
References m_condRelativeBx.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloV2(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumV2(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuXmlParser::parseExternalV2(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuXmlParser::parseMuonCorr(), and l1t::TriggerMenuXmlParser::parseMuonV2().
|
inline |
Definition at line 84 of file GtCondition.h.
References m_condType.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloV2(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuXmlParser::parseCorrelationV2(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumV2(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuXmlParser::parseExternalV2(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuXmlParser::parseMuonCorr(), and l1t::TriggerMenuXmlParser::parseMuonV2().
|
inline |
Definition at line 95 of file GtCondition.h.
References m_objectType.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloCorr(), l1t::TriggerMenuXmlParser::parseCaloV2(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuXmlParser::parseCorrelationV2(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuXmlParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumCorr(), l1t::TriggerMenuXmlParser::parseEnergySumV2(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), l1t::TriggerMenuXmlParser::parseMuonCorr(), and l1t::TriggerMenuXmlParser::parseMuonV2().
const bool GtCondition::wsc | ( | ) | const |
get logic flag for conditions, same type of trigger objects, and with spatial correlations
Definition at line 131 of file GtCondition.cc.
References m_condType, and l1t::Type2wsc.
Referenced by CaloTemplate::print(), and MuonTemplate::print().
|
friend |
output stream operator
Definition at line 428 of file GtCondition.cc.
|
protected |
the category of the condition
Definition at line 159 of file GtCondition.h.
Referenced by CaloTemplate::CaloTemplate(), condCategory(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), EnergySumTemplate::EnergySumTemplate(), ExternalTemplate::ExternalTemplate(), GtCondition(), MuonTemplate::MuonTemplate(), print(), and setCondCategory().
|
protected |
condition is located on condition chip m_condChipNr
Definition at line 171 of file GtCondition.h.
Referenced by condChipNr(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), GtCondition(), print(), and setCondChipNr().
|
protected |
the operator used for the condition (>=, =): true for >=
Definition at line 168 of file GtCondition.h.
Referenced by condGEq(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), print(), and setCondGEq().
|
protected |
the name of the condition
Definition at line 156 of file GtCondition.h.
Referenced by condName(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), GtCondition(), print(), and setCondName().
|
protected |
Definition at line 174 of file GtCondition.h.
Referenced by condRelativeBx(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), MuonTemplate::copy(), GtCondition(), print(), and setCondRelativeBx().
|
protected |
the type of the condition (1s, etc)
Definition at line 162 of file GtCondition.h.
Referenced by condType(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), corr(), CorrelationTemplate::CorrelationTemplate(), GtCondition(), nrObjects(), EnergySumTemplate::print(), MuonTemplate::print(), print(), setCondType(), and wsc().
|
protected |
the trigger object type(s)
Definition at line 165 of file GtCondition.h.
Referenced by CaloTemplate::CaloTemplate(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), EnergySumTemplate::EnergySumTemplate(), MuonTemplate::MuonTemplate(), objectType(), print(), and setObjectType().