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
unsigned short getFMCId() const
CTPPSPixelFramePosition(unsigned int pos=0)
don't use this constructor unless you have a good reason
unsigned short getFEDId() const
recomended getters and setters
unsigned int getRawPosition() 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 getChannelIdx() const
static const unsigned int maskFEDId
unsigned short getROC() const
static bool checkXMLAttributeFlag(unsigned char flag)
returns true if all attributes have been set
static const unsigned int maskChannelIdx
#define COND_SERIALIZABLE
bool operator==(const CTPPSPixelFramePosition &pos) const
bool operator<(const CTPPSPixelFramePosition &pos) const
static const unsigned int offsetChannelIdx
void setFEDId(unsigned short v)