#include <L1GtCorrelationTemplate.h>
Classes | |
struct | CorrelationParameter |
typedef for correlation parameters More... | |
Public Member Functions | |
const L1GtConditionCategory | cond0Category () const |
get / set the category of the two sub-conditions More... | |
const int | cond0Index () const |
get / set the index of the two sub-conditions in the cor* vector from menu More... | |
const L1GtConditionCategory | cond1Category () const |
const int | cond1Index () const |
const CorrelationParameter * | correlationParameter () const |
get / set correlation parameters More... | |
L1GtCorrelationTemplate () | |
L1GtCorrelationTemplate (const L1GtCorrelationTemplate &) | |
copy constructor More... | |
L1GtCorrelationTemplate (const std::string &) | |
from condition name More... | |
L1GtCorrelationTemplate (const std::string &, const L1GtConditionCategory &, const L1GtConditionCategory &, const int, const int) | |
L1GtCorrelationTemplate & | operator= (const L1GtCorrelationTemplate &) |
assign operator More... | |
void | print (std::ostream &myCout) const override |
print the condition More... | |
void | setCond0Category (const L1GtConditionCategory &) |
void | setCond0Index (const int &) |
void | setCond1Category (const L1GtConditionCategory &) |
void | setCond1Index (const int &) |
void | setCorrelationParameter (const CorrelationParameter &corrParameter) |
~L1GtCorrelationTemplate () override | |
destructor More... | |
Public Member Functions inherited from L1GtCondition | |
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... | |
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... | |
Private Member Functions | |
void | copy (const L1GtCorrelationTemplate &cp) |
copy function for copy constructor and operator= More... | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
L1GtConditionCategory | m_cond0Category |
int | m_cond0Index |
L1GtConditionCategory | m_cond1Category |
int | m_cond1Index |
CorrelationParameter | m_correlationParameter |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
std::ostream & | operator<< (std::ostream &, const L1GtCorrelationTemplate &) |
output stream operator More... | |
Additional Inherited Members | |
Protected Attributes inherited from L1GtCondition | |
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... | |
Description: L1 Global Trigger correlation template. Includes spatial correlation for two objects of different type.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 37 of file L1GtCorrelationTemplate.h.
L1GtCorrelationTemplate::L1GtCorrelationTemplate | ( | ) |
constructor(s) default
Definition at line 36 of file L1GtCorrelationTemplate.cc.
References CondCorrelation, CondNull, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, L1GtCondition::m_condCategory, L1GtCondition::m_condChipNr, L1GtCondition::m_condType, L1GtCondition::m_objectType, L1GtCondition::nrObjects(), and Type2cor.
L1GtCorrelationTemplate::L1GtCorrelationTemplate | ( | const std::string & | cName | ) |
from condition name
Definition at line 55 of file L1GtCorrelationTemplate.cc.
References CondCorrelation, CondNull, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, L1GtCondition::m_condCategory, L1GtCondition::m_condChipNr, L1GtCondition::m_condType, L1GtCondition::m_objectType, L1GtCondition::nrObjects(), and Type2cor.
L1GtCorrelationTemplate::L1GtCorrelationTemplate | ( | const std::string & | cName, |
const L1GtConditionCategory & | cond0Cat, | ||
const L1GtConditionCategory & | cond1Cat, | ||
const int | cond0Index, | ||
const int | cond1index | ||
) |
from condition name, the category of first sub-condition, the category of the second sub-condition, the index of first sub-condition in the cor* vector, the index of second sub-condition in the cor* vector
Definition at line 76 of file L1GtCorrelationTemplate.cc.
References CondCorrelation, L1GtCondition::m_condCategory, L1GtCondition::m_condChipNr, L1GtCondition::m_condType, L1GtCondition::m_objectType, L1GtCondition::nrObjects(), and Type2cor.
L1GtCorrelationTemplate::L1GtCorrelationTemplate | ( | const L1GtCorrelationTemplate & | cp | ) |
copy constructor
Definition at line 101 of file L1GtCorrelationTemplate.cc.
References copy(), and CommonMethods::cp().
|
override |
|
inline |
get / set the category of the two sub-conditions
Definition at line 74 of file L1GtCorrelationTemplate.h.
References m_cond0Category.
Referenced by L1GtCorrelationCondition::evaluateCondition(), and L1GlobalTriggerGTL::run().
|
inline |
get / set the index of the two sub-conditions in the cor* vector from menu
Definition at line 82 of file L1GtCorrelationTemplate.h.
References m_cond0Index.
Referenced by L1GlobalTriggerGTL::run().
|
inline |
Definition at line 76 of file L1GtCorrelationTemplate.h.
References m_cond1Category.
Referenced by L1GtCorrelationCondition::evaluateCondition(), and L1GlobalTriggerGTL::run().
|
inline |
Definition at line 84 of file L1GtCorrelationTemplate.h.
References m_cond1Index.
Referenced by L1GlobalTriggerGTL::run().
|
private |
copy function for copy constructor and operator=
Definition at line 153 of file L1GtCorrelationTemplate.cc.
References CommonMethods::cp(), m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, L1GtCondition::m_condCategory, L1GtCondition::m_condChipNr, L1GtCondition::m_condGEq, L1GtCondition::m_condName, L1GtCondition::m_condType, m_correlationParameter, and L1GtCondition::m_objectType.
Referenced by L1GtCorrelationTemplate(), and operator=().
|
inline |
get / set correlation parameters
Definition at line 91 of file L1GtCorrelationTemplate.h.
References m_correlationParameter.
Referenced by L1GtCorrelationCondition::evaluateCondition().
L1GtCorrelationTemplate & L1GtCorrelationTemplate::operator= | ( | const L1GtCorrelationTemplate & | cp | ) |
assign operator
Definition at line 111 of file L1GtCorrelationTemplate.cc.
References copy(), and CommonMethods::cp().
|
overridevirtual |
print the condition
Reimplemented from L1GtCondition.
Definition at line 131 of file L1GtCorrelationTemplate.cc.
References TauDecayModes::dec, L1GtCorrelationTemplate::CorrelationParameter::deltaEtaRange, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiRange, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, m_correlationParameter, and L1GtCondition::print().
Referenced by L1GtCorrelationCondition::print().
|
private |
void L1GtCorrelationTemplate::setCond0Category | ( | const L1GtConditionCategory & | condCateg | ) |
Definition at line 117 of file L1GtCorrelationTemplate.cc.
References m_cond0Category.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition().
void L1GtCorrelationTemplate::setCond0Index | ( | const int & | condIndex | ) |
Definition at line 122 of file L1GtCorrelationTemplate.cc.
References m_cond0Index.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition().
void L1GtCorrelationTemplate::setCond1Category | ( | const L1GtConditionCategory & | condCateg | ) |
Definition at line 119 of file L1GtCorrelationTemplate.cc.
References m_cond1Category.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition().
void L1GtCorrelationTemplate::setCond1Index | ( | const int & | condIndex | ) |
Definition at line 124 of file L1GtCorrelationTemplate.cc.
References m_cond1Index.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition().
void L1GtCorrelationTemplate::setCorrelationParameter | ( | const CorrelationParameter & | corrParameter | ) |
Definition at line 127 of file L1GtCorrelationTemplate.cc.
References m_correlationParameter.
Referenced by L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition().
|
friend |
Definition at line 112 of file L1GtCorrelationTemplate.h.
|
friend |
Definition at line 112 of file L1GtCorrelationTemplate.h.
|
friend |
output stream operator
Definition at line 170 of file L1GtCorrelationTemplate.cc.
|
private |
Definition at line 106 of file L1GtCorrelationTemplate.h.
Referenced by cond0Category(), copy(), L1GtCorrelationTemplate(), print(), and setCond0Category().
|
private |
Definition at line 108 of file L1GtCorrelationTemplate.h.
Referenced by cond0Index(), copy(), L1GtCorrelationTemplate(), print(), and setCond0Index().
|
private |
Definition at line 107 of file L1GtCorrelationTemplate.h.
Referenced by cond1Category(), copy(), L1GtCorrelationTemplate(), print(), and setCond1Category().
|
private |
Definition at line 109 of file L1GtCorrelationTemplate.h.
Referenced by cond1Index(), copy(), L1GtCorrelationTemplate(), print(), and setCond1Index().
|
private |
Definition at line 110 of file L1GtCorrelationTemplate.h.
Referenced by copy(), correlationParameter(), print(), and setCorrelationParameter().