Go to the documentation of this file.
21 std::ostream&
operator<<(std::ostream&
s,
const PixelROCName& pixelroc);
33 char detsub()
const {
return (
id_ & 0x80000000) ?
'B' :
'F'; }
34 char mp()
const {
return id_ & 0x40000000 ?
'p' :
'm'; }
35 char IO()
const {
return id_ & 0x20000000 ?
'I' :
'O'; }
36 int roc()
const {
return id_ & 0xf; }
41 return (
id_ >> 12) & 0x3;
45 return (
id_ >> 7) & 0x1f;
49 return ((
id_ >> 6) & 0
x1) + 1;
53 return ((
id_ >> 4) & 0x3) + 1;
59 return ((
id_ >> 14) & 0x7) + 1;
63 return (
id_ >> 12) & 0x3;
67 return (
id_ >> 6) & 0x1f;
71 return id_ & 0x00000800 ?
'F' :
'H';
75 return ((
id_ >> 4) & 0x3) + 1;
86 unsigned int id()
const {
return id_; }
void parsename(std::string name)
std::string rocname() const
void setIdBPix(char np, char LR, int sec, int layer, int ladder, char HF, int module, int roc)
const bool operator==(const PixelROCName &aROC) const
void check(bool check, const std::string &name)
const bool operator<(const PixelROCName &aROC) const
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
void setIdFPix(char np, char LR, int disk, int blade, int panel, int plaquet, int roc)
const PixelROCName & operator=(const PixelROCName &aROC)