#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.
L1GtCondition::L1GtCondition | ( | const std::string & | cName | ) |
constructor from condition name
Definition at line 40 of file L1GtCondition.cc.
L1GtCondition::L1GtCondition | ( | const std::string & | cName, |
const L1GtConditionCategory & | cCategory, | ||
const L1GtConditionType & | cType | ||
) |
constructor from condition name, category and type
Definition at line 50 of file L1GtCondition.cc.
|
virtual |
destructor
Definition at line 65 of file L1GtCondition.cc.
|
inline |
get / set the category of the condition
Definition at line 68 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(), and L1GtCorrelationTemplate::copy().
|
inline |
get / set the condition-chip number the condition is located on
Definition at line 112 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 101 of file L1GtCondition.h.
References m_condGEq.
Referenced by L1GtCastorTemplate::copy(), L1GtBptxTemplate::copy(), L1GtExternalTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtHfBitCountsCondition::evaluateCondition(), L1GtHfRingEtSumsCondition::evaluateCondition(), and L1GtJetCountsCondition::evaluateCondition().
|
inline |
get / set condition name
Definition at line 57 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(), and L1GtCorrelationTemplate::copy().
|
inline |
get / set the type of the condition (1s, etc)
Definition at line 79 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(), and L1GtCorrelationTemplate::copy().
const bool L1GtCondition::corr | ( | ) | const |
get logic flag for conditions, different type of trigger objects, and with spatial correlations
Definition at line 140 of file L1GtCondition.cc.
const int L1GtCondition::nrObjects | ( | ) | const |
get number of trigger objects
Definition at line 71 of file L1GtCondition.cc.
Referenced by 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 90 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(), and L1GtCorrelationTemplate::copy().
|
virtual |
print condition
Reimplemented in L1GtCorrelationTemplate, L1GtMuonTemplate, L1GtCaloTemplate, L1GtEnergySumTemplate, L1GtJetCountsTemplate, L1GtHfBitCountsTemplate, L1GtHfRingEtSumsTemplate, L1GtBptxTemplate, L1GtExternalTemplate, and L1GtCastorTemplate.
Definition at line 151 of file L1GtCondition.cc.
Referenced by L1GtCastorTemplate::print(), L1GtBptxTemplate::print(), L1GtExternalTemplate::print(), L1GtHfRingEtSumsTemplate::print(), L1GtHfBitCountsTemplate::print(), L1GtJetCountsTemplate::print(), L1GtEnergySumTemplate::print(), L1GtCaloTemplate::print(), L1GtMuonTemplate::print(), and L1GtCorrelationTemplate::print().
|
private |
|
inline |
Definition at line 73 of file L1GtCondition.h.
References m_condCategory.
|
inline |
Definition at line 117 of file L1GtCondition.h.
References m_condChipNr.
|
inline |
Definition at line 106 of file L1GtCondition.h.
References m_condGEq.
|
inline |
Definition at line 62 of file L1GtCondition.h.
References m_condName.
|
inline |
Definition at line 84 of file L1GtCondition.h.
References m_condType.
|
inline |
Definition at line 95 of file L1GtCondition.h.
References m_objectType.
const bool L1GtCondition::wsc | ( | ) | const |
get logic flag for conditions, same type of trigger objects, and with spatial correlations
Definition at line 128 of file L1GtCondition.cc.
Referenced by L1GtCaloTemplate::print(), and L1GtMuonTemplate::print().
|
friend |
Definition at line 163 of file L1GtCondition.h.
|
friend |
Definition at line 163 of file L1GtCondition.h.
|
friend |
output stream operator
Definition at line 423 of file L1GtCondition.cc.
|
protected |
the category of the condition
Definition at line 147 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(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtEnergySumTemplate::L1GtEnergySumTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), L1GtHfBitCountsTemplate::L1GtHfBitCountsTemplate(), L1GtHfRingEtSumsTemplate::L1GtHfRingEtSumsTemplate(), L1GtJetCountsTemplate::L1GtJetCountsTemplate(), L1GtMuonTemplate::L1GtMuonTemplate(), and setCondCategory().
|
protected |
condition is located on condition chip m_condChipNr
Definition at line 159 of file L1GtCondition.h.
Referenced by condChipNr(), L1GtCastorTemplate::copy(), L1GtExternalTemplate::copy(), L1GtBptxTemplate::copy(), L1GtHfBitCountsTemplate::copy(), L1GtHfRingEtSumsTemplate::copy(), L1GtJetCountsTemplate::copy(), L1GtEnergySumTemplate::copy(), L1GtCaloTemplate::copy(), L1GtMuonTemplate::copy(), L1GtCorrelationTemplate::copy(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), and setCondChipNr().
|
protected |
the operator used for the condition (>=, =): true for >=
Definition at line 156 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(), and setCondGEq().
|
protected |
the name of the condition
Definition at line 144 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(), and setCondName().
|
protected |
the type of the condition (1s, etc)
Definition at line 150 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(), L1GtBptxTemplate::L1GtBptxTemplate(), L1GtCastorTemplate::L1GtCastorTemplate(), L1GtCorrelationTemplate::L1GtCorrelationTemplate(), L1GtExternalTemplate::L1GtExternalTemplate(), L1GtEnergySumTemplate::print(), L1GtMuonTemplate::print(), and setCondType().
|
protected |
the trigger object type(s)
Definition at line 153 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(), and setObjectType().