#include <L1GtCondition.h>
Public Member Functions | |
const L1GtConditionCategory & | 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 L1GtConditionType & | condType () const |
get / set the type of the condition (1s, etc) More... | |
const bool | corr () const |
L1GtCondition () | |
L1GtCondition (const std::string &) | |
constructor from condition name More... | |
L1GtCondition (const std::string &, const L1GtConditionCategory &, const L1GtConditionType &) | |
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 L1GtConditionCategory &cCategory) |
void | setCondChipNr (const int &cChipNr) |
void | setCondGEq (const bool &cGEq) |
void | setCondName (const std::string &cName) |
void | setCondType (const L1GtConditionType &cType) |
void | setObjectType (const std::vector< L1GtObject > &objType) |
const bool | wsc () const |
virtual | ~L1GtCondition () |
destructor More... | |
Protected Attributes | |
L1GtConditionCategory | 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... | |
L1GtConditionType | m_condType |
the type of the condition (1s, etc) More... | |
std::vector< L1GtObject > | m_objectType |
the trigger object type(s) More... | |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
std::ostream & | operator<< (std::ostream &, const L1GtCondition &) |
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 L1GtCondition.h.
L1GtCondition::L1GtCondition | ( | ) |
constructor(s)
Definition at line 28 of file L1GtCondition.cc.
References CondNull, m_condCategory, m_condChipNr, m_condGEq, m_condType, and TypeNull.
L1GtCondition::L1GtCondition | ( | const std::string & | cName | ) |
constructor from condition name
Definition at line 38 of file L1GtCondition.cc.
References CondNull, m_condCategory, m_condChipNr, m_condName, m_condType, and TypeNull.
L1GtCondition::L1GtCondition | ( | const std::string & | cName, |
const L1GtConditionCategory & | cCategory, | ||
const L1GtConditionType & | cType | ||
) |
constructor from condition name, category and type
Definition at line 47 of file L1GtCondition.cc.
References m_condCategory, m_condChipNr, m_condName, and m_condType.
|
virtual |
|
inline |
get / set the category of the condition
Definition at line 57 of file L1GtCondition.h.
References m_condCategory.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), and L1TMenuHelper::getLUSOTrigger().
|
inline |
get / set the condition-chip number the condition is located on
Definition at line 77 of file L1GtCondition.h.
References m_condChipNr.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), and L1GtCorrelationTemplate::copy().
|
inline |
get / set condition GEq flag
Definition at line 72 of file L1GtCondition.h.
References m_condGEq.
Referenced by L1GtMuonCondition::checkObjectParameter(), L1GtCaloCondition::checkObjectParameter(), L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtHfBitCountsCondition::evaluateCondition(), L1GtHfRingEtSumsCondition::evaluateCondition(), L1GtJetCountsCondition::evaluateCondition(), and L1GtEnergySumCondition::evaluateCondition().
|
inline |
get / set condition name
Definition at line 52 of file L1GtCondition.h.
References m_condName.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1TMenuHelper::getLUSOTrigger(), and L1GtTriggerMenuXmlParser::insertConditionIntoMap().
|
inline |
get / set the type of the condition (1s, etc)
Definition at line 62 of file L1GtCondition.h.
References m_condType.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1TMenuHelper::getLUSOTrigger(), and L1GtVhdlWriterCore::processAlgorithmMap().
const bool L1GtCondition::corr | ( | ) | const |
get logic flag for conditions, different type of trigger objects, and with spatial correlations
Definition at line 124 of file L1GtCondition.cc.
References m_condType, and Type2cor.
const int L1GtCondition::nrObjects | ( | ) | const |
get number of trigger objects
Definition at line 62 of file L1GtCondition.cc.
References m_condType, Type1s, Type2cor, Type2s, Type2wsc, Type3s, Type4s, TypeBptx, TypeCastor, TypeETM, TypeETT, TypeExternal, TypeHfBitCounts, TypeHfRingEtSums, TypeHTM, TypeHTT, TypeJetCounts, and TypeNull.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtMuonCondition::checkObjectParameter(), L1GtCaloCondition::checkObjectParameter(), L1GtMuonCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), L1GtVhdlWriterCore::getCondChipVhdContentFromTriggerMenu(), L1TMenuHelper::getLUSOTrigger(), L1GtBptxTemplate::L1GtBptxTemplate(), L1GtCaloTemplate::L1GtCaloTemplate(), L1GtCastorTemplate::L1GtCastorTemplate(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtEnergySumTemplate::L1GtEnergySumTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), L1GtHfBitCountsTemplate::L1GtHfBitCountsTemplate(), L1GtHfRingEtSumsTemplate::L1GtHfRingEtSumsTemplate(), L1GtJetCountsTemplate::L1GtJetCountsTemplate(), L1GtMuonTemplate::L1GtMuonTemplate(), L1GtHfBitCountsTemplate::print(), L1GtHfRingEtSumsTemplate::print(), L1GtJetCountsTemplate::print(), L1GtEnergySumTemplate::print(), L1GtCaloTemplate::print(), and L1GtMuonTemplate::print().
|
inline |
get / set the trigger object type(s) in the condition
Definition at line 67 of file L1GtCondition.h.
References m_objectType.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtEnergySumCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), L1GtCaloCondition::getCandidate(), L1TMenuHelper::getLUSOTrigger(), L1GtCaloCondition::L1GtCaloCondition(), L1GtVhdlWriterCore::processAlgorithmMap(), and L1GlobalTriggerGTL::run().
|
virtual |
print condition
Reimplemented in L1GtCorrelationTemplate, L1GtMuonTemplate, L1GtCaloTemplate, L1GtEnergySumTemplate, L1GtJetCountsTemplate, L1GtHfBitCountsTemplate, L1GtHfRingEtSumsTemplate, L1GtBptxTemplate, L1GtExternalTemplate, and L1GtCastorTemplate.
Definition at line 133 of file L1GtCondition.cc.
References BPTX, CenJet, CondBptx, CondCalo, CondCastor, CondCorrelation, CondEnergySum, CondExternal, CondHfBitCounts, CondHfRingEtSums, CondJetCounts, CondMuon, CondNull, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, mps_fire::i, IsoEG, JetCounts, m_condCategory, m_condChipNr, m_condGEq, m_condName, m_condType, m_objectType, Mu, NoIsoEG, TauJet, Type1s, Type2cor, Type2s, Type2wsc, Type3s, Type4s, TypeBptx, TypeCastor, TypeETM, TypeETT, TypeExternal, TypeHfBitCounts, TypeHfRingEtSums, TypeHTM, TypeHTT, TypeJetCounts, and TypeNull.
Referenced by operator<<(), L1GtCastorTemplate::print(), L1GtBptxTemplate::print(), L1GtExternalTemplate::print(), L1GtHfBitCountsTemplate::print(), L1GtHfRingEtSumsTemplate::print(), L1GtJetCountsTemplate::print(), L1GtEnergySumTemplate::print(), L1GtCaloTemplate::print(), L1GtMuonTemplate::print(), and L1GtCorrelationTemplate::print().
|
private |
|
inline |
Definition at line 59 of file L1GtCondition.h.
References m_condCategory.
|
inline |
Definition at line 79 of file L1GtCondition.h.
References m_condChipNr.
Referenced by L1GtTriggerMenuConfigOnlineProd::addBptxCondition(), L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addCastorCondition(), L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition(), L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition(), L1GtTriggerMenuConfigOnlineProd::addExternalCondition(), L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition(), L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtTriggerMenuXmlParser::parseBptx(), L1GtTriggerMenuXmlParser::parseCalo(), L1GtTriggerMenuXmlParser::parseCastor(), L1GtTriggerMenuXmlParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseExternal(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), and L1GtTriggerMenuXmlParser::parseMuon().
|
inline |
Definition at line 74 of file L1GtCondition.h.
References m_condGEq.
Referenced by L1GtTriggerMenuConfigOnlineProd::addBptxCondition(), L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addCastorCondition(), L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition(), L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition(), L1GtTriggerMenuConfigOnlineProd::addExternalCondition(), L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition(), L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtTriggerMenuXmlParser::parseBptx(), L1GtTriggerMenuXmlParser::parseCalo(), L1GtTriggerMenuXmlParser::parseCastor(), L1GtTriggerMenuXmlParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseExternal(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), and L1GtTriggerMenuXmlParser::parseMuon().
|
inline |
Definition at line 54 of file L1GtCondition.h.
References m_condName.
|
inline |
Definition at line 64 of file L1GtCondition.h.
References m_condType.
Referenced by L1GtTriggerMenuConfigOnlineProd::addBptxCondition(), L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addCastorCondition(), L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition(), L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition(), L1GtTriggerMenuConfigOnlineProd::addExternalCondition(), L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition(), L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtTriggerMenuXmlParser::parseBptx(), L1GtTriggerMenuXmlParser::parseCalo(), L1GtTriggerMenuXmlParser::parseCastor(), L1GtTriggerMenuXmlParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseExternal(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), and L1GtTriggerMenuXmlParser::parseMuon().
|
inline |
Definition at line 69 of file L1GtCondition.h.
References m_objectType.
Referenced by L1GtTriggerMenuConfigOnlineProd::addBptxCondition(), L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addCastorCondition(), L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition(), L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition(), L1GtTriggerMenuConfigOnlineProd::addExternalCondition(), L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition(), L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtTriggerMenuXmlParser::parseCalo(), L1GtTriggerMenuXmlParser::parseEnergySum(), L1GtTriggerMenuXmlParser::parseHfBitCounts(), L1GtTriggerMenuXmlParser::parseHfRingEtSums(), L1GtTriggerMenuXmlParser::parseJetCounts(), and L1GtTriggerMenuXmlParser::parseMuon().
const bool L1GtCondition::wsc | ( | ) | const |
get logic flag for conditions, same type of trigger objects, and with spatial correlations
Definition at line 114 of file L1GtCondition.cc.
References m_condType, and Type2wsc.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCaloCondition(), L1GtTriggerMenuConfigOnlineProd::addMuonCondition(), L1GtMuonCondition::evaluateCondition(), L1GtCaloCondition::evaluateCondition(), L1GtCaloTemplate::print(), and L1GtMuonTemplate::print().
|
friend |
Definition at line 118 of file L1GtCondition.h.
|
friend |
Definition at line 118 of file L1GtCondition.h.
|
friend |
output stream operator
Definition at line 420 of file L1GtCondition.cc.
|
protected |
the category of the condition
Definition at line 104 of file L1GtCondition.h.
Referenced by condCategory(), L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtBptxTemplate::L1GtBptxTemplate(), L1GtCaloTemplate::L1GtCaloTemplate(), L1GtCastorTemplate::L1GtCastorTemplate(), L1GtCondition(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtEnergySumTemplate::L1GtEnergySumTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), L1GtHfBitCountsTemplate::L1GtHfBitCountsTemplate(), L1GtHfRingEtSumsTemplate::L1GtHfRingEtSumsTemplate(), L1GtJetCountsTemplate::L1GtJetCountsTemplate(), L1GtMuonTemplate::L1GtMuonTemplate(), print(), and setCondCategory().
|
protected |
condition is located on condition chip m_condChipNr
Definition at line 116 of file L1GtCondition.h.
Referenced by condChipNr(), L1GtCastorTemplate::copy(), L1GtExternalTemplate::copy(), L1GtBptxTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtCondition(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), print(), and setCondChipNr().
|
protected |
the operator used for the condition (>=, =): true for >=
Definition at line 113 of file L1GtCondition.h.
Referenced by condGEq(), L1GtCastorTemplate::copy(), L1GtExternalTemplate::copy(), L1GtBptxTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtCondition(), print(), and setCondGEq().
|
protected |
the name of the condition
Definition at line 101 of file L1GtCondition.h.
Referenced by condName(), L1GtCastorTemplate::copy(), L1GtExternalTemplate::copy(), L1GtBptxTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtCondition(), print(), and setCondName().
|
protected |
the type of the condition (1s, etc)
Definition at line 107 of file L1GtCondition.h.
Referenced by condType(), L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), corr(), L1GtBptxTemplate::L1GtBptxTemplate(), L1GtCastorTemplate::L1GtCastorTemplate(), L1GtCondition(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), nrObjects(), L1GtEnergySumTemplate::print(), L1GtMuonTemplate::print(), print(), setCondType(), and wsc().
|
protected |
the trigger object type(s)
Definition at line 110 of file L1GtCondition.h.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtBptxTemplate::L1GtBptxTemplate(), L1GtCaloTemplate::L1GtCaloTemplate(), L1GtCastorTemplate::L1GtCastorTemplate(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtEnergySumTemplate::L1GtEnergySumTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), L1GtHfBitCountsTemplate::L1GtHfBitCountsTemplate(), L1GtHfRingEtSumsTemplate::L1GtHfRingEtSumsTemplate(), L1GtJetCountsTemplate::L1GtJetCountsTemplate(), L1GtMuonTemplate::L1GtMuonTemplate(), objectType(), print(), and setObjectType().