#include "Identifier/IdentifierHash.h"
#include "RegSelLUT/ZRObject.h"
#include <iostream>
#include <cmath>
#include <stdint.h>
Go to the source code of this file.
◆ getModule()
copy z limits to max radius values just in case
read in extra z limits if required
Definition at line 110 of file RegSelModule.cxx.
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;
◆ operator<<()
Definition at line 95 of file RegSelModule.cxx.
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)]");