Go to the documentation of this file.
9 #ifndef CondFormats_PPSObjects_TotemFramePosition
10 #define CondFormats_PPSObjects_TotemFramePosition
44 unsigned short TOTFEDId,
45 unsigned short OptoRxId,
47 unsigned short IdxInFiber)
static const unsigned int maskSubSystemId
static const unsigned int offsetFEDId
static const unsigned int offsetIdxInFiber
unsigned char setXMLAttribute(const std::string &attribute, const std::string &value, unsigned char &flag)
static const unsigned int offsetOptoRxId
static const unsigned int offsetGOHId
static const unsigned int maskGOHId
static const unsigned int offsetSubSystemId
void setSubSystemId(unsigned short v)
TotemFramePosition(unsigned short SubSystemId, unsigned short TOTFEDId, unsigned short OptoRxId, unsigned short GOHId, unsigned short IdxInFiber)
the preferred constructor
unsigned short getTOTFEDId() const
static const unsigned int maskOptoRxId
unsigned short getOptoRxId() const
static const unsigned int maskFEDId
friend std::ostream & operator<<(std::ostream &s, const TotemFramePosition &fp)
unsigned short getSubSystemId() const
the getters and setters below are deprecated
void setTOTFEDId(unsigned short v)
unsigned short getIdxInFiber() const
static const unsigned int maskTOTFEDId
unsigned short getGOHId() const
bool operator==(const TotemFramePosition &pos) const
void setIdxInFiber(unsigned short v)
void setFEDId(unsigned short v)
static bool checkXMLAttributeFlag(unsigned char flag)
returns true if all attributes have been set
bool operator<(const TotemFramePosition &pos) const
void printXML()
prints XML formatted DAQ channel to stdout
unsigned int getRawPosition() const
don't use this method unless you have a good reason
void setOptoRxId(unsigned short v)
static const unsigned int offsetTOTFEDId
static const unsigned int maskIdxInFiber
unsigned short getFEDId() const
recomended getters and setters
void setGOHId(unsigned short v)