#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 |
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< 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< 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 |
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< 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$
Definition at line 35 of file GlobalCondition.h.
GlobalCondition::GlobalCondition | ( | ) |
constructor(s)
Definition at line 29 of file GlobalCondition.cc.
GlobalCondition::GlobalCondition | ( | const std::string & | cName | ) |
constructor from condition name
Definition at line 41 of file GlobalCondition.cc.
GlobalCondition::GlobalCondition | ( | const std::string & | cName, |
const l1t::GtConditionCategory & | cCategory, | ||
const l1t::GtConditionType & | cType | ||
) |
constructor from condition name, category and type
Definition at line 53 of file GlobalCondition.cc.
|
virtual |
destructor
Definition at line 69 of file GlobalCondition.cc.
|
inline |
get / set the category of the condition
Definition at line 68 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
inline |
get / set the condition-chip number the condition is located on
Definition at line 112 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
inline |
get / set condition GEq flag
Definition at line 101 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
inline |
get / set condition name
Definition at line 57 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
inline |
get / set the condition relative bx
Definition at line 123 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
inline |
get / set the type of the condition (1s, etc)
Definition at line 79 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
const bool GlobalCondition::corr | ( | ) | const |
get logic flag for conditions, different type of trigger objects, and with spatial correlations
Definition at line 145 of file GlobalCondition.cc.
const int GlobalCondition::nrObjects | ( | ) | const |
get number of trigger objects
Definition at line 75 of file GlobalCondition.cc.
Referenced by CaloTemplate::CaloTemplate(), EnergySumTemplate::EnergySumTemplate(), EnergySumTemplate::print(), and CaloTemplate::print().
|
inline |
get / set the trigger object type(s) in the condition
Definition at line 90 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
virtual |
print condition
Reimplemented in CorrelationTemplate, MuonTemplate, CaloTemplate, EnergySumTemplate, and ExternalTemplate.
Definition at line 156 of file GlobalCondition.cc.
Referenced by ExternalTemplate::print(), EnergySumTemplate::print(), and CaloTemplate::print().
|
inline |
Definition at line 73 of file GlobalCondition.h.
|
inline |
Definition at line 117 of file GlobalCondition.h.
|
inline |
Definition at line 106 of file GlobalCondition.h.
|
inline |
Definition at line 62 of file GlobalCondition.h.
|
inline |
Definition at line 128 of file GlobalCondition.h.
|
inline |
Definition at line 84 of file GlobalCondition.h.
|
inline |
Definition at line 95 of file GlobalCondition.h.
const bool GlobalCondition::wsc | ( | ) | const |
get logic flag for conditions, same type of trigger objects, and with spatial correlations
Definition at line 133 of file GlobalCondition.cc.
Referenced by CaloTemplate::print().
|
friend |
output stream operator
Definition at line 423 of file GlobalCondition.cc.
|
protected |
the category of the condition
Definition at line 159 of file GlobalCondition.h.
Referenced by CaloTemplate::CaloTemplate(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), EnergySumTemplate::EnergySumTemplate(), and ExternalTemplate::ExternalTemplate().
|
protected |
condition is located on condition chip m_condChipNr
Definition at line 171 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
protected |
the operator used for the condition (>=, =): true for >=
Definition at line 168 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
protected |
the name of the condition
Definition at line 156 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
protected |
Definition at line 174 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), and CaloTemplate::copy().
|
protected |
the type of the condition (1s, etc)
Definition at line 162 of file GlobalCondition.h.
Referenced by ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), and EnergySumTemplate::print().
|
protected |
the trigger object type(s)
Definition at line 165 of file GlobalCondition.h.
Referenced by CaloTemplate::CaloTemplate(), ExternalTemplate::copy(), EnergySumTemplate::copy(), CaloTemplate::copy(), and EnergySumTemplate::EnergySumTemplate().