#include <OmtfName.h>
Public Types | |
enum | Board { OMTFn1 =-1, OMTFn2 =-2, OMTFn3 =-3, OMTFn4 =-4, OMTFn5 =-5, OMTFn6 =-6, OMTFp1 = 1, OMTFp2 = 2, OMTFp3 = 3, OMTFp4 = 4, OMTFp5 = 5, OMTFp6 = 6, UNKNOWN = 0 } |
Public Member Functions | |
std::string | name () const |
OmtfName (Board board=UNKNOWN) | |
OmtfName (const std::string &name) | |
OmtfName (unsigned int iProcesor, int endcap) | |
OmtfName (unsigned int iProcesor, l1t::tftype endcap) | |
operator int () const | |
bool | operator!= (const OmtfName &o) const |
bool | operator== (const OmtfName &o) const |
int | position () const |
unsigned int | processor () const |
l1t::tftype | tftype () const |
Private Attributes | |
Board | theBoard |
Friends | |
std::ostream & | operator<< (std::ostream &out, const OmtfName &n) |
Definition at line 10 of file OmtfName.h.
enum OmtfName::Board |
Enumerator | |
---|---|
OMTFn1 | |
OMTFn2 | |
OMTFn3 | |
OMTFn4 | |
OMTFn5 | |
OMTFn6 | |
OMTFp1 | |
OMTFp2 | |
OMTFp3 | |
OMTFp4 | |
OMTFp5 | |
OMTFp6 | |
UNKNOWN |
Definition at line 13 of file OmtfName.h.
Definition at line 19 of file OmtfName.h.
References makeMuonMisalignmentScenario::endcap, name(), and AlCaHLTBitMon_QueryRunRegistry::string.
OmtfName::OmtfName | ( | const std::string & | name | ) |
Definition at line 22 of file OmtfName.cc.
References OMTFn1, OMTFn2, OMTFn3, OMTFn4, OMTFn5, OMTFn6, OMTFp1, OMTFp2, OMTFp3, OMTFp4, OMTFp5, OMTFp6, and theBoard.
|
explicit |
Definition at line 8 of file OmtfName.cc.
References funct::abs(), position(), FWPFMaths::sgn(), and theBoard.
|
explicit |
Definition at line 15 of file OmtfName.cc.
References l1t::omtf_neg, l1t::omtf_pos, position(), FWPFMaths::sgn(), and theBoard.
std::string OmtfName::name | ( | void | ) | const |
Definition at line 39 of file OmtfName.cc.
References OMTFn1, OMTFn2, OMTFn3, OMTFn4, OMTFn5, OMTFn6, OMTFp1, OMTFp2, OMTFp3, OMTFp4, OMTFp5, OMTFp6, and theBoard.
Referenced by config.CFG::__str__(), validation.Sample::digest(), VIDSelectorBase.VIDSelectorBase::initialize(), OmtfName(), operator!=(), and XMLConfigWriter::writeEventData().
|
inline |
|
inline |
Definition at line 32 of file OmtfName.h.
References name(), connectstrParser::o, position(), processor(), AlCaHLTBitMon_QueryRunRegistry::string, and tftype().
|
inline |
int OmtfName::position | ( | ) | const |
Definition at line 58 of file OmtfName.cc.
References FWPFMaths::sgn(), and theBoard.
Referenced by OmtfName(), operator!=(), and XMLConfigWriter::writeEventData().
unsigned int OmtfName::processor | ( | ) | const |
Definition at line 60 of file OmtfName.cc.
References funct::abs(), and theBoard.
Referenced by operator!=(), and XMLConfigWriter::writeEventData().
l1t::tftype OmtfName::tftype | ( | ) | const |
Definition at line 62 of file OmtfName.cc.
References l1t::omtf_neg, l1t::omtf_pos, FWPFMaths::sgn(), and theBoard.
Referenced by operator!=().
|
friend |
Definition at line 44 of file OmtfName.h.
|
private |
Definition at line 42 of file OmtfName.h.
Referenced by name(), OmtfName(), operator int(), operator==(), position(), processor(), and tftype().