#include <CorrelationThreeBodyTemplate.h>
Classes | |
struct | CorrelationThreeBodyParameter |
typedef for correlation three-body parameters More... | |
Public Member Functions | |
const l1t::GtConditionCategory | cond0Category () const |
get / set the category of the three subconditions More... | |
const int | cond0Index () const |
get / set the index of the three subconditions in the cor* vector from menu More... | |
const l1t::GtConditionCategory | cond1Category () const |
const int | cond1Index () const |
const l1t::GtConditionCategory | cond2Category () const |
const int | cond2Index () const |
const CorrelationThreeBodyParameter * | correlationThreeBodyParameter () const |
get / set correlation parameters More... | |
CorrelationThreeBodyTemplate () | |
CorrelationThreeBodyTemplate (const std::string &) | |
from condition name More... | |
CorrelationThreeBodyTemplate (const std::string &, const l1t::GtConditionCategory &, const l1t::GtConditionCategory &, const l1t::GtConditionCategory &, const int, const int, const int) | |
CorrelationThreeBodyTemplate (const CorrelationThreeBodyTemplate &) | |
copy constructor More... | |
CorrelationThreeBodyTemplate & | operator= (const CorrelationThreeBodyTemplate &) |
assign operator More... | |
void | print (std::ostream &myCout) const override |
print the condition More... | |
void | setCond0Category (const l1t::GtConditionCategory &) |
void | setCond0Index (const int &) |
void | setCond1Category (const l1t::GtConditionCategory &) |
void | setCond1Index (const int &) |
void | setCond2Category (const l1t::GtConditionCategory &) |
void | setCond2Index (const int &) |
void | setCorrelationThreeBodyParameter (const CorrelationThreeBodyParameter &corrThreeBodyParameter) |
~CorrelationThreeBodyTemplate () override | |
destructor More... | |
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 |
const bool | corrThree () const |
get logic flag for three-body conditions, trigger objects are muons More... | |
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 CorrelationThreeBodyTemplate &cp) |
copy function for copy constructor and operator= More... | |
Friends | |
std::ostream & | operator<< (std::ostream &, const CorrelationThreeBodyTemplate &) |
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 = false |
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 three-body correlation template: include invariant mass calculation for three-muon events
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Description: L1 Global Trigger three-body correlation template:
include invariant mass calculation for three-muon events
Implementation: <TODO: enter implementation details>
Definition at line 35 of file CorrelationThreeBodyTemplate.h.
CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate | ( | ) |
constructor(s) default
Definition at line 34 of file CorrelationThreeBodyTemplate.cc.
References l1t::CondCorrelationThreeBody, l1t::CondNull, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, m_cond2Category, m_cond2Index, GlobalCondition::m_condCategory, GlobalCondition::m_condChipNr, GlobalCondition::m_condType, GlobalCondition::m_objectType, GlobalCondition::nrObjects(), and l1t::Type3s.
CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate | ( | const std::string & | cName | ) |
from condition name
Definition at line 55 of file CorrelationThreeBodyTemplate.cc.
References l1t::CondCorrelationThreeBody, l1t::CondNull, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, m_cond2Category, m_cond2Index, GlobalCondition::m_condCategory, GlobalCondition::m_condChipNr, GlobalCondition::m_condType, GlobalCondition::m_objectType, GlobalCondition::nrObjects(), and l1t::Type3s.
CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate | ( | const std::string & | cName, |
const l1t::GtConditionCategory & | cond0Cat, | ||
const l1t::GtConditionCategory & | cond1Cat, | ||
const l1t::GtConditionCategory & | cond2Cat, | ||
const int | cond0Index, | ||
const int | cond1index, | ||
const int | cond2index | ||
) |
from condition name, the category of first, second, and third subcondition, the index of first, second, third subcondition in the cor* vector
Definition at line 78 of file CorrelationThreeBodyTemplate.cc.
References l1t::CondCorrelationThreeBody, GlobalCondition::m_condCategory, GlobalCondition::m_condChipNr, GlobalCondition::m_condType, GlobalCondition::m_objectType, GlobalCondition::nrObjects(), and l1t::Type3s.
CorrelationThreeBodyTemplate::CorrelationThreeBodyTemplate | ( | const CorrelationThreeBodyTemplate & | cp | ) |
copy constructor
Definition at line 107 of file CorrelationThreeBodyTemplate.cc.
References copy().
|
override |
destructor
Definition at line 113 of file CorrelationThreeBodyTemplate.cc.
|
inline |
get / set the category of the three subconditions
Definition at line 87 of file CorrelationThreeBodyTemplate.h.
References m_cond0Category.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
get / set the index of the three subconditions in the cor* vector from menu
Definition at line 96 of file CorrelationThreeBodyTemplate.h.
References m_cond0Index.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
Definition at line 88 of file CorrelationThreeBodyTemplate.h.
References m_cond1Category.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
Definition at line 97 of file CorrelationThreeBodyTemplate.h.
References m_cond1Index.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
Definition at line 89 of file CorrelationThreeBodyTemplate.h.
References m_cond2Category.
Referenced by l1t::GlobalBoard::runGTL().
|
inline |
Definition at line 98 of file CorrelationThreeBodyTemplate.h.
References m_cond2Index.
Referenced by l1t::GlobalBoard::runGTL().
|
private |
copy function for copy constructor and operator=
Definition at line 176 of file CorrelationThreeBodyTemplate.cc.
References m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, m_cond2Category, m_cond2Index, GlobalCondition::m_condCategory, GlobalCondition::m_condChipNr, GlobalCondition::m_condGEq, GlobalCondition::m_condName, GlobalCondition::m_condType, m_correlationThreeBodyParameter, and GlobalCondition::m_objectType.
Referenced by CorrelationThreeBodyTemplate(), and operator=().
|
inline |
get / set correlation parameters
Definition at line 105 of file CorrelationThreeBodyTemplate.h.
References m_correlationThreeBodyParameter.
CorrelationThreeBodyTemplate & CorrelationThreeBodyTemplate::operator= | ( | const CorrelationThreeBodyTemplate & | cp | ) |
assign operator
Definition at line 118 of file CorrelationThreeBodyTemplate.cc.
References copy().
|
overridevirtual |
print the condition
Reimplemented from GlobalCondition.
Definition at line 145 of file CorrelationThreeBodyTemplate.cc.
References CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::corrCutType, TauDecayModes::dec, m_cond0Category, m_cond0Index, m_cond1Category, m_cond1Index, m_cond2Category, m_cond2Index, m_correlationThreeBodyParameter, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::maxEtaCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::maxMassCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::maxPhiCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::minEtaCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::minMassCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::minPhiCutValue, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::precEtaCut, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::precMassCut, CorrelationThreeBodyTemplate::CorrelationThreeBodyParameter::precPhiCut, and GlobalCondition::print().
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond0Category | ( | const l1t::GtConditionCategory & | condCateg | ) |
Definition at line 124 of file CorrelationThreeBodyTemplate.cc.
References m_cond0Category.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond0Index | ( | const int & | condIndex | ) |
Definition at line 135 of file CorrelationThreeBodyTemplate.cc.
References m_cond0Index.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond1Category | ( | const l1t::GtConditionCategory & | condCateg | ) |
Definition at line 127 of file CorrelationThreeBodyTemplate.cc.
References m_cond1Category.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond1Index | ( | const int & | condIndex | ) |
Definition at line 136 of file CorrelationThreeBodyTemplate.cc.
References m_cond1Index.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond2Category | ( | const l1t::GtConditionCategory & | condCateg | ) |
Definition at line 130 of file CorrelationThreeBodyTemplate.cc.
References m_cond2Category.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCond2Index | ( | const int & | condIndex | ) |
Definition at line 137 of file CorrelationThreeBodyTemplate.cc.
References m_cond2Index.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
void CorrelationThreeBodyTemplate::setCorrelationThreeBodyParameter | ( | const CorrelationThreeBodyParameter & | corrThreeBodyParameter | ) |
Definition at line 140 of file CorrelationThreeBodyTemplate.cc.
References m_correlationThreeBodyParameter.
Referenced by l1t::TriggerMenuParser::parseCorrelationThreeBody().
|
friend |
output stream operator
Definition at line 195 of file CorrelationThreeBodyTemplate.cc.
|
private |
Definition at line 121 of file CorrelationThreeBodyTemplate.h.
Referenced by cond0Category(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond0Category().
|
private |
Definition at line 124 of file CorrelationThreeBodyTemplate.h.
Referenced by cond0Index(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond0Index().
|
private |
Definition at line 122 of file CorrelationThreeBodyTemplate.h.
Referenced by cond1Category(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond1Category().
|
private |
Definition at line 125 of file CorrelationThreeBodyTemplate.h.
Referenced by cond1Index(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond1Index().
|
private |
Definition at line 123 of file CorrelationThreeBodyTemplate.h.
Referenced by cond2Category(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond2Category().
|
private |
Definition at line 126 of file CorrelationThreeBodyTemplate.h.
Referenced by cond2Index(), copy(), CorrelationThreeBodyTemplate(), print(), and setCond2Index().
|
private |
Definition at line 127 of file CorrelationThreeBodyTemplate.h.
Referenced by copy(), correlationThreeBodyParameter(), print(), and setCorrelationThreeBodyParameter().