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