9 #ifndef CondFormats_PPSObjects_TotemT2FramePosition 10 #define CondFormats_PPSObjects_TotemT2FramePosition 33 unsigned short TOTFEDId,
34 unsigned short OptoRxId,
36 unsigned short IdxInFiber,
friend std::ostream & operator<<(std::ostream &s, const TotemT2FramePosition &fp)
static const unsigned int maskPayload
void printXML()
prints XML formatted DAQ channel to stdout
bool operator<(const TotemT2FramePosition &pos) const
static const unsigned int offsetPayload
void setGOHId(unsigned short v)
static bool checkXMLAttributeFlag(unsigned char flag)
returns true if all attributes have been set
unsigned short getGOHId() const
static const unsigned int offsetFEDId
TotemT2FramePosition(unsigned short SubSystemId, unsigned short TOTFEDId, unsigned short OptoRxId, unsigned short GOHId, unsigned short IdxInFiber, unsigned short payload)
the preferred constructor
static const unsigned int offsetSubSystemId
TotemT2FramePosition(unsigned int pos=0)
don't use this constructor unless you have a good reason
bool operator<(const TotemFramePosition &pos) const
static const unsigned int offsetIdxInFiber
unsigned short getIdxInFiber() const
unsigned short getFEDId() const
recomended getters and setters
bool operator==(const TotemFramePosition &pos) const
static const unsigned int offsetOptoRxId
static const unsigned int maskFEDId
bool operator==(const TotemT2FramePosition &pos) const
void setPayload(unsigned short v)
unsigned int getRawPosition() const
the getters and setters below are deprecated
unsigned short getPayload() const
static const unsigned int maskGOHId
unsigned char setXMLAttribute(const std::string &attribute, const std::string &value, unsigned char &flag)
static const unsigned int offsetTOTFEDId
void setIdxInFiber(unsigned short v)
void setFEDId(unsigned short v)
static const unsigned int maskIdxInFiber
static const unsigned int offsetGOHId