#include <ExternalTemplate.h>
Public Member Functions | |
const unsigned int & | extChannel () const |
get external channel number More... | |
ExternalTemplate () | |
ExternalTemplate (const std::string &) | |
ExternalTemplate (const std::string &, const l1t::GtConditionType &) | |
ExternalTemplate (const ExternalTemplate &) | |
ExternalTemplate & | operator= (const ExternalTemplate &) |
virtual void | print (std::ostream &myCout) const |
print the condition More... | |
void | setExternalChannel (unsigned int extCh) |
set functions More... | |
virtual | ~ExternalTemplate () |
Public Member Functions inherited from GlobalCondition | |
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< l1t::GlobalObject > & | objectType () const |
get / set the trigger object type(s) in the 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... | |
Private Member Functions | |
void | copy (const ExternalTemplate &cp) |
copy function for copy constructor and operator= More... | |
Private Attributes | |
unsigned int | m_extChannel |
Friends | |
std::ostream & | operator<< (std::ostream &, const ExternalTemplate &) |
output stream operator More... | |
Additional Inherited Members | |
Protected Attributes inherited from GlobalCondition | |
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< l1t::GlobalObject > | m_objectType |
the trigger object type(s) More... | |
Description: L1 Global Trigger energy-sum template.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 32 of file ExternalTemplate.h.
ExternalTemplate::ExternalTemplate | ( | ) |
Definition at line 33 of file ExternalTemplate.cc.
References l1t::CondExternal, and GlobalCondition::m_condCategory.
ExternalTemplate::ExternalTemplate | ( | const std::string & | cName | ) |
Definition at line 41 of file ExternalTemplate.cc.
References l1t::CondExternal, and GlobalCondition::m_condCategory.
ExternalTemplate::ExternalTemplate | ( | const std::string & | cName, |
const l1t::GtConditionType & | cType | ||
) |
Definition at line 49 of file ExternalTemplate.cc.
References l1t::CondExternal, and GlobalCondition::m_condCategory.
ExternalTemplate::ExternalTemplate | ( | const ExternalTemplate & | cp | ) |
Definition at line 58 of file ExternalTemplate.cc.
References copy().
|
virtual |
Definition at line 65 of file ExternalTemplate.cc.
|
private |
copy function for copy constructor and operator=
Definition at line 93 of file ExternalTemplate.cc.
References GlobalCondition::condCategory(), GlobalCondition::condChipNr(), GlobalCondition::condGEq(), GlobalCondition::condName(), GlobalCondition::condRelativeBx(), GlobalCondition::condType(), extChannel(), GlobalCondition::m_condCategory, GlobalCondition::m_condChipNr, GlobalCondition::m_condGEq, GlobalCondition::m_condName, GlobalCondition::m_condRelativeBx, GlobalCondition::m_condType, m_extChannel, GlobalCondition::m_objectType, and GlobalCondition::objectType().
Referenced by ExternalTemplate(), operator=(), and setExternalChannel().
|
inline |
get external channel number
Definition at line 63 of file ExternalTemplate.h.
References m_extChannel.
Referenced by copy(), and l1t::ExternalCondition::evaluateCondition().
ExternalTemplate & ExternalTemplate::operator= | ( | const ExternalTemplate & | cp | ) |
Definition at line 71 of file ExternalTemplate.cc.
References copy().
|
virtual |
print the condition
Reimplemented from GlobalCondition.
Definition at line 79 of file ExternalTemplate.cc.
References TauDecayModes::dec, m_extChannel, and GlobalCondition::print().
Referenced by operator<<(), l1t::ExternalCondition::print(), and setExternalChannel().
|
inline |
set functions
Definition at line 69 of file ExternalTemplate.h.
References copy(), SimDataFormats::CaloAnalysis::cp, m_extChannel, operator<<, and print().
Referenced by l1t::TriggerMenuParser::parseExternal().
|
friend |
output stream operator
Definition at line 108 of file ExternalTemplate.cc.
Referenced by setExternalChannel().
|
private |
Definition at line 85 of file ExternalTemplate.h.
Referenced by copy(), extChannel(), print(), and setExternalChannel().