33 m_phiMin(0), m_phiMax(0),
34 m_layer(0), m_detector(0),
35 m_robID(0), m_hashID(0) { }
40 double rmin,
double rmax,
41 double phimin,
double phimax,
53 m_phiMin(phimin), m_phiMax(phimax),
55 m_robID(robid), m_hashID(hashid)
68 double z2min,
double z2max,
69 double rmin,
double rmax,
70 double phimin,
double phimax,
82 m_phiMin(phimin), m_phiMax(phimax),
84 m_robID(robid), m_hashID(hashid)
97 s <<
"[ lyr= " <<
m.layer()
98 <<
" ,\tdet= " <<
m.detector()
99 <<
" ,\tr= " <<
m.rMin() <<
" - " <<
m.rMax()
100 <<
" ,\tphi= " <<
m.phiMin()*180/
M_PI <<
" - " <<
m.phiMax()*180/
M_PI
101 <<
" ,\tz= " <<
m.zMin() <<
" - " <<
m.zMax();
102 if (
m.zMin()!=
m.z2Min() ||
m.zMax()!=
m.z2Max() )
s <<
" ,\tz2= " <<
m.z2Min() <<
" - " <<
m.z2Max();
103 s <<
" ,\trob= 0x" << std::hex <<
m.robID()
104 <<
" ,\thash= 0x" << std::hex <<
m.hashID() << std::dec << (
m.enabled() ?
" ]" :
" (disabled)]");
112 char s[128],
s1[128],
s2[128];
120 double phiMin, phiMax;
124 unsigned int hashint;
128 >>
s >>
s >> rMin >>
s >> rMax
129 >>
s >>
s >> phiMin >>
s >> phiMax
130 >>
s >>
s >> zMin >>
s >> zMax;
139 if ( std::string(
s2)==
"z2=" ) {
140 ss >> z2Min >>
s >> z2Max;
144 ss >> std::hex >> robid
145 >>
s >>
s >> std::hex >> hashint >> std::dec >>
s;
147 if (
ss.fail() )
return false;