ATLAS Offline Software
|
#include <L1CaloModuleType.h>
Public Types | |
enum | L1CaloModuleEnum { None = 0, Ppm = 1, Cpm =2, Jem =3, Cmm =4, Tcm =5, L1CaloRod =6, Cam =7, CtpEmulation, Dss, L1CaloBusy, L1CaloLtp, L1CaloLtpi, L1CaloRosInterface, Lrm, Lsm, Ttcvi } |
Public Member Functions | |
L1CaloModuleType (const L1CaloModuleEnum mEnum) | |
Construct a L1CaloModuleType given its type value. More... | |
L1CaloModuleType (const std::string &mTypeName) | |
Construct a L1CaloModuleType given its type name. More... | |
L1CaloModuleType (const L1CaloModuleType &mType) | |
Copy a L1CaloModuleType. More... | |
L1CaloModuleType & | operator= (const L1CaloModuleType &mType) |
Assign a L1CaloModuleType. More... | |
~L1CaloModuleType ()=default | |
const std::string | toString () const |
Compare with type value. More... | |
bool | operator== (const L1CaloModuleEnum mEnum) const |
Compare with type value. More... | |
bool | operator== (const L1CaloModuleType &mType) const |
Compare with another L1CaloModuleType. More... | |
bool | operator!= (const L1CaloModuleEnum mEnum) const |
bool | operator!= (const L1CaloModuleType &mType) const |
operator unsigned int () | |
Private Member Functions | |
L1CaloModuleEnum | moduleEnum () const |
Private Attributes | |
L1CaloModuleEnum | m_type |
Infrastructure class encapsulating our known module types.
This class is a very close adaptation of the online infraL1Calo/L1CaloModuleType class
Definition at line 11 of file L1CaloModuleType.h.
Enumerator | |
---|---|
None | |
Ppm | |
Cpm | |
Jem | |
Cmm | |
Tcm | |
L1CaloRod | |
Cam | |
CtpEmulation | |
Dss | |
L1CaloBusy | |
L1CaloLtp | |
L1CaloLtpi | |
L1CaloRosInterface | |
Lrm | |
Lsm | |
Ttcvi |
Definition at line 15 of file L1CaloModuleType.h.
L1CaloModuleType::L1CaloModuleType | ( | const L1CaloModuleEnum | mEnum | ) |
Construct a L1CaloModuleType given its type value.
Definition at line 20 of file L1CaloModuleType.cxx.
L1CaloModuleType::L1CaloModuleType | ( | const std::string & | mTypeName | ) |
Construct a L1CaloModuleType given its type name.
Definition at line 31 of file L1CaloModuleType.cxx.
L1CaloModuleType::L1CaloModuleType | ( | const L1CaloModuleType & | mType | ) |
Copy a L1CaloModuleType.
Definition at line 57 of file L1CaloModuleType.cxx.
|
default |
|
inlineprivate |
Definition at line 40 of file L1CaloModuleType.h.
|
inline |
Definition at line 36 of file L1CaloModuleType.h.
|
inline |
Definition at line 33 of file L1CaloModuleType.h.
|
inline |
Definition at line 34 of file L1CaloModuleType.h.
L1CaloModuleType & L1CaloModuleType::operator= | ( | const L1CaloModuleType & | mType | ) |
Assign a L1CaloModuleType.
Definition at line 69 of file L1CaloModuleType.cxx.
bool L1CaloModuleType::operator== | ( | const L1CaloModuleEnum | mEnum | ) | const |
Compare with type value.
Definition at line 113 of file L1CaloModuleType.cxx.
bool L1CaloModuleType::operator== | ( | const L1CaloModuleType & | mType | ) | const |
Compare with another L1CaloModuleType.
Definition at line 125 of file L1CaloModuleType.cxx.
const std::string L1CaloModuleType::toString | ( | ) | const |
|
private |
Definition at line 43 of file L1CaloModuleType.h.