1 #ifndef PixelModuleNameOnline_h
2 #define PixelModuleNameOnline_h
41 char detsub()
const {
return (
id_&0x80000000)?
'B':
'F';}
42 char mp()
const {
return id_&0x40000000?
'p':
'm';}
43 char IO()
const {
return id_&0x20000000?
'I':
'O';}
54 char HF()
const {
assert((
id_&0x80000000)!=0);
return id_&0x00000080?
'F':
'H';}
void parsename(std::string name)
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void check(bool check, const std::string &name)
friend std::ostream & operator<<(std::ostream &s, const PixelModuleName &pixelroc)
const PixelModuleName & operator=(const PixelModuleName &aROC)
const bool operator<(const PixelModuleName &aROC) const
std::string modulename() const
void setIdBPix(char np, char LR, int sec, int layer, int ladder, char HF, int module)
const bool operator==(const PixelModuleName &aModule) const
void setIdFPix(char np, char LR, int disk, int blade, int panel)
This class stores the name and related hardware mappings for a ROC.