#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, 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 } |
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, 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 |
std::string | name () const |
OmtfName (Board board=UNKNOWN) | |
OmtfName (Board board=UNKNOWN) | |
OmtfName (const std::string &name) | |
OmtfName (const std::string &name) | |
OmtfName (unsigned int iProcesor, int endcap) | |
OmtfName (unsigned int iProcesor, int endcap) | |
OmtfName (unsigned int iProcesor, l1t::tftype endcap) | |
OmtfName (unsigned int iProcesor, l1t::tftype endcap) | |
OmtfName (unsigned int iProcesor) | |
operator int () const | |
operator int () const | |
bool | operator!= (const OmtfName &o) const |
bool | operator!= (const OmtfName &o) const |
bool | operator== (const OmtfName &o) const |
bool | operator== (const OmtfName &o) const |
int | position () const |
int | position () const |
unsigned int | processor () const |
unsigned int | processor () const |
l1t::tftype | tftype () const |
l1t::tftype | tftype () const |
Private Attributes | |
Board | theBoard |
Friends | |
std::ostream & | operator<< (std::ostream &out, const OmtfName &n) |
std::ostream & | operator<< (std::ostream &out, const OmtfName &n) |
Definition at line 9 of file OmtfName.h.
enum OmtfName::Board |
Enumerator | |
---|---|
OMTFn1 | |
OMTFn2 | |
OMTFn3 | |
OMTFn4 | |
OMTFn5 | |
OMTFn6 | |
OMTFp1 | |
OMTFp2 | |
OMTFp3 | |
OMTFp4 | |
OMTFp5 | |
OMTFp6 | |
UNKNOWN | |
OMTFn1 | |
OMTFn2 | |
OMTFn3 | |
OMTFn4 | |
OMTFn5 | |
OMTFn6 | |
OMTFp1 | |
OMTFp2 | |
OMTFp3 | |
OMTFp4 | |
OMTFp5 | |
OMTFp6 | |
UNKNOWN |
Definition at line 11 of file OmtfName.h.
enum OmtfName::Board |
Enumerator | |
---|---|
OMTFn1 | |
OMTFn2 | |
OMTFn3 | |
OMTFn4 | |
OMTFn5 | |
OMTFn6 | |
OMTFp1 | |
OMTFp2 | |
OMTFp3 | |
OMTFp4 | |
OMTFp5 | |
OMTFp6 | |
UNKNOWN | |
OMTFn1 | |
OMTFn2 | |
OMTFn3 | |
OMTFn4 | |
OMTFn5 | |
OMTFn6 | |
OMTFp1 | |
OMTFp2 | |
OMTFp3 | |
OMTFp4 | |
OMTFp5 | |
OMTFp6 | |
UNKNOWN |
Definition at line 11 of file OmtfName.h.
Definition at line 28 of file OmtfName.h.
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 10 of file OmtfName.cc.
References funct::abs(), makeMuonMisalignmentScenario::endcap, position(), FWPFMaths::sgn(), and theBoard.
|
explicit |
Definition at line 16 of file OmtfName.cc.
References makeMuonMisalignmentScenario::endcap, l1t::omtf_neg, l1t::omtf_pos, position(), FWPFMaths::sgn(), and theBoard.
Definition at line 28 of file OmtfName.h.
OmtfName::OmtfName | ( | const std::string & | name | ) |
|
explicit |
|
explicit |
|
explicit |
std::string OmtfName::name | ( | void | ) | const |
Definition at line 51 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(), EventCapture::observeEventEnd(), and XMLConfigWriter::writeEventData().
std::string OmtfName::name | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int OmtfName::position | ( | ) | const |
Definition at line 82 of file OmtfName.cc.
References FWPFMaths::sgn(), and theBoard.
Referenced by OmtfName(), and XMLConfigWriter::writeEventData().
int OmtfName::position | ( | ) | const |
unsigned int OmtfName::processor | ( | ) | const |
Definition at line 84 of file OmtfName.cc.
References funct::abs(), and theBoard.
Referenced by XMLConfigWriter::writeEventData().
unsigned int OmtfName::processor | ( | ) | const |
l1t::tftype OmtfName::tftype | ( | ) | const |
Definition at line 86 of file OmtfName.cc.
References l1t::omtf_neg, l1t::omtf_pos, FWPFMaths::sgn(), and theBoard.
l1t::tftype OmtfName::tftype | ( | ) | const |
|
friend |
Definition at line 51 of file OmtfName.h.
|
friend |
Definition at line 54 of file OmtfName.h.
|
private |
Definition at line 49 of file OmtfName.h.
Referenced by name(), OmtfName(), operator int(), operator==(), position(), processor(), and tftype().