9 #ifndef CondFormats_PPSObjects_CTPPSPixelFramePosition
10 #define CondFormats_PPSObjects_CTPPSPixelFramePosition
CTPPSPixelFramePosition(unsigned short FEDId, unsigned short FMCId, unsigned short ChannelIdx, unsigned short ROC)
the preferred constructor
CTPPSPixelFramePosition(unsigned int pos=0)
don't use this constructor unless you have a good reason
bool operator<(const CTPPSPixelFramePosition &pos) const
void setChannelIdx(unsigned short v)
~CTPPSPixelFramePosition()
friend std::ostream & operator<<(std::ostream &s, const CTPPSPixelFramePosition &fp)
void printXML()
prints XML formatted DAQ channel to stdout
static const unsigned int offsetFMCId
static const unsigned int offsetROC
unsigned char setXMLAttribute(const std::string &attribute, const std::string &value, unsigned char &flag)
static const unsigned int maskFMCId
void setFMCId(unsigned short v)
static const unsigned int maskROC
static const unsigned int offsetFEDId
void setROC(unsigned short v)
unsigned short getFMCId() const
static const unsigned int maskFEDId
static bool checkXMLAttributeFlag(unsigned char flag)
returns true if all attributes have been set
unsigned short getChannelIdx() const
unsigned short getROC() const
static const unsigned int maskChannelIdx
#define COND_SERIALIZABLE
unsigned short getFEDId() const
recomended getters and setters
bool operator==(const CTPPSPixelFramePosition &pos) const
unsigned int getRawPosition() const
static const unsigned int offsetChannelIdx
void setFEDId(unsigned short v)