#include <GlobalCondition.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 |
const bool | corrThree () const |
get logic flag for three-body conditions, trigger objects are muons More... | |
GlobalCondition () | |
GlobalCondition (const std::string &) | |
constructor from condition name More... | |
GlobalCondition (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< l1t::GlobalObject > & | 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< l1t::GlobalObject > &objType) |
const bool | wsc () const |
virtual | ~GlobalCondition () |
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 = false |
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< l1t::GlobalObject > | m_objectType |
the trigger object type(s) More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const GlobalCondition &) |
output stream operator More... | |
Description: base class for L1 Global Trigger object templates (condition).
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Description: base class for L1 Global Trigger object templates (condition).
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 34 of file GlobalCondition.h.
GlobalCondition::GlobalCondition | ( | ) |
constructor(s)
Definition at line 29 of file GlobalCondition.cc.
References l1t::CondNull, m_condCategory, m_condChipNr, m_condRelativeBx, m_condType, and l1t::TypeNull.
GlobalCondition::GlobalCondition | ( | const std::string & | cName | ) |
constructor from condition name
Definition at line 39 of file GlobalCondition.cc.
References l1t::CondNull, m_condCategory, m_condChipNr, m_condName, m_condRelativeBx, m_condType, and l1t::TypeNull.
GlobalCondition::GlobalCondition | ( | const std::string & | cName, |
const l1t::GtConditionCategory & | cCategory, | ||
const l1t::GtConditionType & | cType | ||
) |
constructor from condition name, category and type
Definition at line 49 of file GlobalCondition.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 56 of file GlobalCondition.h.
References m_condCategory.
|
inline |
get / set the condition-chip number the condition is located on
Definition at line 76 of file GlobalCondition.h.
References m_condChipNr.
|
inline |
get / set condition GEq flag
Definition at line 71 of file GlobalCondition.h.
References m_condGEq.
|
inline |
get / set condition name
Definition at line 51 of file GlobalCondition.h.
References m_condName.
|
inline |
get / set the condition relative bx
Definition at line 81 of file GlobalCondition.h.
References m_condRelativeBx.
Referenced by l1t::CorrCondition::evaluateCondition(), l1t::CorrThreeBodyCondition::evaluateCondition(), and l1t::CorrWithOverlapRemovalCondition::evaluateCondition().
|
inline |
get / set the type of the condition (1s, etc)
Definition at line 61 of file GlobalCondition.h.
References m_condType.
const bool GlobalCondition::corr | ( | ) | const |
get logic flag for conditions, different type of trigger objects, and with spatial correlations
Definition at line 151 of file GlobalCondition.cc.
References m_condType, and l1t::Type2cor.
const bool GlobalCondition::corrThree | ( | ) | const |
get logic flag for three-body conditions, trigger objects are muons
Definition at line 160 of file GlobalCondition.cc.
References m_condType, and l1t::Type3s.
const int GlobalCondition::nrObjects | ( | ) | const |
get number of trigger objects
Definition at line 65 of file GlobalCondition.cc.
References m_condType, l1t::Type1s, l1t::Type2cor, l1t::Type2corWithOverlapRemoval, l1t::Type2s, l1t::Type2wsc, l1t::Type3s, l1t::Type4s, l1t::TypeAsymEt, l1t::TypeAsymEtHF, l1t::TypeAsymHt, l1t::TypeAsymHtHF, l1t::TypeAXOL1TL, l1t::TypeCent0, l1t::TypeCent1, l1t::TypeCent2, l1t::TypeCent3, l1t::TypeCent4, l1t::TypeCent5, l1t::TypeCent6, l1t::TypeCent7, l1t::TypeETM, l1t::TypeETMHF, l1t::TypeETT, l1t::TypeExternal, l1t::TypeHTM, l1t::TypeHTT, l1t::TypeMinBiasHFM0, l1t::TypeMinBiasHFM1, l1t::TypeMinBiasHFP0, l1t::TypeMinBiasHFP1, l1t::TypeNull, l1t::TypeTowerCount, l1t::TypeZDCM, and l1t::TypeZDCP.
Referenced by AXOL1TLTemplate::AXOL1TLTemplate(), CaloTemplate::CaloTemplate(), CorrelationTemplate::CorrelationTemplate(), CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate(), CorrelationWithOverlapRemovalTemplate::CorrelationWithOverlapRemovalTemplate(), EnergySumTemplate::EnergySumTemplate(), EnergySumZdcTemplate::EnergySumZdcTemplate(), MuonShowerTemplate::MuonShowerTemplate(), MuonTemplate::MuonTemplate(), AXOL1TLTemplate::print(), MuonShowerTemplate::print(), EnergySumZdcTemplate::print(), EnergySumTemplate::print(), CaloTemplate::print(), and MuonTemplate::print().
|
inline |
get / set the trigger object type(s) in the condition
Definition at line 66 of file GlobalCondition.h.
References m_objectType.
Referenced by l1t::CaloCondition::CaloCondition(), l1t::CorrCondition::evaluateCondition(), l1t::CorrThreeBodyCondition::evaluateCondition(), and l1t::CorrWithOverlapRemovalCondition::evaluateCondition().
|
virtual |
print condition
Reimplemented in CorrelationWithOverlapRemovalTemplate, MuonTemplate, CorrelationTemplate, CaloTemplate, CorrelationThreeBodyTemplate, EnergySumTemplate, EnergySumZdcTemplate, MuonShowerTemplate, ExternalTemplate, and AXOL1TLTemplate.
Definition at line 169 of file GlobalCondition.cc.
References l1t::CondAXOL1TL, l1t::CondCalo, l1t::CondCorrelation, l1t::CondCorrelationThreeBody, l1t::CondCorrelationWithOverlapRemoval, l1t::CondEnergySum, l1t::CondEnergySumZdc, l1t::CondExternal, l1t::CondMuon, l1t::CondMuonShower, l1t::CondNull, l1t::gtAsymmetryEt, l1t::gtAsymmetryEtHF, l1t::gtAsymmetryHt, l1t::gtAsymmetryHtHF, l1t::gtCentrality0, l1t::gtCentrality1, l1t::gtCentrality2, l1t::gtCentrality3, l1t::gtCentrality4, l1t::gtCentrality5, l1t::gtCentrality6, l1t::gtCentrality7, l1t::gtEG, l1t::gtETM, l1t::gtETMHF, l1t::gtETT, l1t::gtETTem, l1t::gtExternal, l1t::gtHTM, l1t::gtHTT, l1t::gtJet, l1t::gtMinBiasHFM0, l1t::gtMinBiasHFM1, l1t::gtMinBiasHFP0, l1t::gtMinBiasHFP1, l1t::gtMu, l1t::gtMuShower, l1t::gtTau, l1t::gtTowerCount, mps_fire::i, m_condCategory, m_condChipNr, m_condGEq, m_condName, m_condRelativeBx, m_condType, m_objectType, l1t::Type1s, l1t::Type2cor, l1t::Type2corWithOverlapRemoval, l1t::Type2s, l1t::Type2wsc, l1t::Type3s, l1t::Type4s, l1t::TypeAsymEt, l1t::TypeAsymEtHF, l1t::TypeAsymHt, l1t::TypeAsymHtHF, l1t::TypeCent0, l1t::TypeCent1, l1t::TypeCent2, l1t::TypeCent3, l1t::TypeCent4, l1t::TypeCent5, l1t::TypeCent6, l1t::TypeCent7, l1t::TypeETM, l1t::TypeETMHF, l1t::TypeETT, l1t::TypeETTem, l1t::TypeExternal, l1t::TypeHTM, l1t::TypeHTT, l1t::TypeMinBiasHFM0, l1t::TypeMinBiasHFM1, l1t::TypeMinBiasHFP0, l1t::TypeMinBiasHFP1, l1t::TypeNull, and l1t::TypeTowerCount.
Referenced by AXOL1TLTemplate::print(), ExternalTemplate::print(), MuonShowerTemplate::print(), EnergySumZdcTemplate::print(), EnergySumTemplate::print(), CaloTemplate::print(), CorrelationThreeBodyTemplate::print(), CorrelationTemplate::print(), MuonTemplate::print(), and CorrelationWithOverlapRemovalTemplate::print().
|
inline |
Definition at line 58 of file GlobalCondition.h.
References m_condCategory.
|
inline |
Definition at line 78 of file GlobalCondition.h.
References m_condChipNr.
Referenced by l1t::TriggerMenuParser::parseAXOL1TL(), l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationThreeBody(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), and l1t::TriggerMenuParser::parseMuonShower().
|
inline |
Definition at line 73 of file GlobalCondition.h.
References m_condGEq.
Referenced by l1t::TriggerMenuParser::parseAXOL1TL(), l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuParser::parseMuon(), and l1t::TriggerMenuParser::parseMuonCorr().
|
inline |
Definition at line 53 of file GlobalCondition.h.
References m_condName.
|
inline |
Definition at line 83 of file GlobalCondition.h.
References m_condRelativeBx.
Referenced by l1t::TriggerMenuParser::parseAXOL1TL(), l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), and l1t::TriggerMenuParser::parseMuonShower().
|
inline |
Definition at line 63 of file GlobalCondition.h.
References m_condType.
Referenced by l1t::TriggerMenuParser::parseAXOL1TL(), l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationThreeBody(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), and l1t::TriggerMenuParser::parseMuonShower().
|
inline |
Definition at line 68 of file GlobalCondition.h.
References m_objectType, and electrons_cff::objType.
Referenced by l1t::TriggerMenuParser::parseCalo(), l1t::TriggerMenuParser::parseCaloCorr(), l1t::TriggerMenuParser::parseCorrelation(), l1t::TriggerMenuParser::parseCorrelationThreeBody(), l1t::TriggerMenuParser::parseCorrelationWithOverlapRemoval(), l1t::TriggerMenuParser::parseEnergySum(), l1t::TriggerMenuParser::parseEnergySumCorr(), l1t::TriggerMenuParser::parseEnergySumZdc(), l1t::TriggerMenuParser::parseExternal(), l1t::TriggerMenuParser::parseMuon(), l1t::TriggerMenuParser::parseMuonCorr(), and l1t::TriggerMenuParser::parseMuonShower().
const bool GlobalCondition::wsc | ( | ) | const |
get logic flag for conditions, same type of trigger objects, and with spatial correlations
Definition at line 141 of file GlobalCondition.cc.
References m_condType, and l1t::Type2wsc.
Referenced by CaloTemplate::print(), and MuonTemplate::print().
|
friend |
output stream operator
Definition at line 622 of file GlobalCondition.cc.
|
protected |
the category of the condition
Definition at line 111 of file GlobalCondition.h.
Referenced by AXOL1TLTemplate::AXOL1TLTemplate(), CaloTemplate::CaloTemplate(), condCategory(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate(), CorrelationWithOverlapRemovalTemplate::CorrelationWithOverlapRemovalTemplate(), EnergySumTemplate::EnergySumTemplate(), EnergySumZdcTemplate::EnergySumZdcTemplate(), ExternalTemplate::ExternalTemplate(), GlobalCondition(), MuonShowerTemplate::MuonShowerTemplate(), MuonTemplate::MuonTemplate(), print(), and setCondCategory().
|
protected |
condition is located on condition chip m_condChipNr
Definition at line 123 of file GlobalCondition.h.
Referenced by condChipNr(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate(), CorrelationWithOverlapRemovalTemplate::CorrelationWithOverlapRemovalTemplate(), GlobalCondition(), print(), and setCondChipNr().
|
protected |
the operator used for the condition (>=, =): true for >=
Definition at line 120 of file GlobalCondition.h.
Referenced by condGEq(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), print(), and setCondGEq().
|
protected |
the name of the condition
Definition at line 108 of file GlobalCondition.h.
Referenced by condName(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), GlobalCondition(), print(), and setCondName().
|
protected |
Definition at line 126 of file GlobalCondition.h.
Referenced by condRelativeBx(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), MuonTemplate::copy(), GlobalCondition(), print(), and setCondRelativeBx().
|
protected |
the type of the condition (1s, etc)
Definition at line 114 of file GlobalCondition.h.
Referenced by condType(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), corr(), CorrelationTemplate::CorrelationTemplate(), CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate(), CorrelationWithOverlapRemovalTemplate::CorrelationWithOverlapRemovalTemplate(), corrThree(), GlobalCondition(), nrObjects(), EnergySumTemplate::print(), print(), MuonTemplate::print(), setCondType(), and wsc().
|
protected |
the trigger object type(s)
Definition at line 117 of file GlobalCondition.h.
Referenced by AXOL1TLTemplate::AXOL1TLTemplate(), CaloTemplate::CaloTemplate(), AXOL1TLTemplate::copy(), ExternalTemplate::copy(), MuonShowerTemplate::copy(), EnergySumZdcTemplate::copy(), EnergySumTemplate::copy(), CorrelationThreeBodyTemplate::copy(), CaloTemplate::copy(), CorrelationTemplate::copy(), MuonTemplate::copy(), CorrelationWithOverlapRemovalTemplate::copy(), CorrelationTemplate::CorrelationTemplate(), CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate(), CorrelationWithOverlapRemovalTemplate::CorrelationWithOverlapRemovalTemplate(), EnergySumTemplate::EnergySumTemplate(), EnergySumZdcTemplate::EnergySumZdcTemplate(), MuonShowerTemplate::MuonShowerTemplate(), MuonTemplate::MuonTemplate(), objectType(), print(), and setObjectType().