#include <L1GtBptxTemplate.h>
Public Member Functions | |
L1GtBptxTemplate () | |
L1GtBptxTemplate (const std::string &) | |
L1GtBptxTemplate (const L1GtBptxTemplate &) | |
L1GtBptxTemplate (const std::string &, const L1GtConditionType &) | |
L1GtBptxTemplate & | operator= (const L1GtBptxTemplate &) |
virtual void | print (std::ostream &myCout) const |
print the condition | |
virtual | ~L1GtBptxTemplate () |
Private Member Functions | |
void | copy (const L1GtBptxTemplate &cp) |
copy function for copy constructor and operator= | |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1GtBptxTemplate &) |
output stream operator |
Description: L1 Global Trigger BPTX template.
Implementation: Instantiated L1GtCondition. BPTX conditions sends a logical result only. No changes are possible at the L1 GT level. BPTX conditions can be used in physics algorithms in combination with other defined conditions, see L1GtFwd.
It has zero objects associated.
$Date$ $Revision$
Definition at line 37 of file L1GtBptxTemplate.h.
L1GtBptxTemplate::L1GtBptxTemplate | ( | ) |
Definition at line 40 of file L1GtBptxTemplate.cc.
References CondBptx, L1GtCondition::m_condCategory, L1GtCondition::m_condType, and TypeBptx.
: L1GtCondition() { m_condCategory = CondBptx; m_condType = TypeBptx; }
L1GtBptxTemplate::L1GtBptxTemplate | ( | const std::string & | cName | ) |
Definition at line 49 of file L1GtBptxTemplate.cc.
References CondBptx, L1GtCondition::m_condCategory, L1GtCondition::m_condType, and TypeBptx.
: L1GtCondition(cName) { m_condCategory = CondBptx; m_condType = TypeBptx; }
L1GtBptxTemplate::L1GtBptxTemplate | ( | const std::string & | cName, |
const L1GtConditionType & | cType | ||
) |
Definition at line 58 of file L1GtBptxTemplate.cc.
References CondBptx, L1GtCondition::m_condCategory, L1GtCondition::m_condType, L1GtCondition::m_objectType, L1GtCondition::nrObjects(), and TypeBptx.
: L1GtCondition(cName, CondEnergySum, cType) { m_condCategory = CondBptx; m_condType = TypeBptx; // actually no objects are sent by BPTX, only the result of the condition int nObjects = nrObjects(); if (nObjects > 0) { m_objectType.reserve(nObjects); } }
L1GtBptxTemplate::L1GtBptxTemplate | ( | const L1GtBptxTemplate & | cp | ) |
Definition at line 75 of file L1GtBptxTemplate.cc.
References copy().
: L1GtCondition(cp.m_condName) { copy(cp); }
L1GtBptxTemplate::~L1GtBptxTemplate | ( | ) | [virtual] |
Definition at line 82 of file L1GtBptxTemplate.cc.
{
// empty now
}
void L1GtBptxTemplate::copy | ( | const L1GtBptxTemplate & | cp | ) | [private] |
copy function for copy constructor and operator=
Definition at line 108 of file L1GtBptxTemplate.cc.
References L1GtCondition::condCategory(), L1GtCondition::condChipNr(), L1GtCondition::condGEq(), L1GtCondition::condName(), L1GtCondition::condType(), L1GtCondition::m_condCategory, L1GtCondition::m_condChipNr, L1GtCondition::m_condGEq, L1GtCondition::m_condName, L1GtCondition::m_condType, L1GtCondition::m_objectType, and L1GtCondition::objectType().
Referenced by L1GtBptxTemplate(), and operator=().
{ m_condName = cp.condName(); m_condCategory = cp.condCategory(); m_condType = cp.condType(); m_objectType = cp.objectType(); m_condGEq = cp.condGEq(); m_condChipNr = cp.condChipNr(); }
L1GtBptxTemplate & L1GtBptxTemplate::operator= | ( | const L1GtBptxTemplate & | cp | ) |
void L1GtBptxTemplate::print | ( | std::ostream & | myCout | ) | const [virtual] |
print the condition
Reimplemented from L1GtCondition.
Definition at line 96 of file L1GtBptxTemplate.cc.
Referenced by operator<<(), and L1GtBptxCondition::print().
{ myCout << "\n L1GtBptxTemplate print..." << std::endl; L1GtCondition::print(myCout); // reset to decimal output myCout << std::dec << std::endl; }
std::ostream& operator<< | ( | std::ostream & | os, |
const L1GtBptxTemplate & | result | ||
) | [friend] |
output stream operator
Definition at line 121 of file L1GtBptxTemplate.cc.
{ result.print(os); return os; }