10 : _mdcDet(theDet), _exist(1), _layer(lay), _nwires(nwir),
13 if (_nwires == 0) _exist = 0;
15 for (
int wire=0; wire<_nwires; wire++) {
21 _rend = wires[0]->
rEnd();
22 _rmid = wires[0]->
rMid();
23 _stdip = _rend - _rmid;
25 _zend = wires[0]->
zEndDC();
26 _stereo = wires[0]->
stereo();
28 _delphi = wires[0]->
dPhiz();
30 if((_layer>=0 && _layer<=7)||(_layer>=20&&_layer<=35)){
31 _view = (int)(_stereo/(fabs(_stereo)));
35 _phiOffset = wires[0]->
phiE();
76 if ( cell >= 0 && cell <
nWires() ) {
79 std::cout <<
"phiWireDC: wrong cell # " << cell <<
"\n"
80 <<
" number of cells in this layer is " <<
nWires()
90 if ( cell >= 0 && cell <
nWires() ) {
93 std::cout <<
"phiWire: wrong cell # " << cell <<
"\n"
94 <<
" number of cells in this layer is " <<
nWires()
104 if ( cell >= 0 && cell <
nWires() ) {
107 std::cout <<
"xWire: wrong cell # " << cell <<
"\n"
108 <<
" number of cells in this layer is " <<
nWires()
118 if ( cell >= 0 && cell <
nWires() ) {
121 std::cout <<
"YWire: wrong cell # " << cell <<
"\n"
122 <<
" number of cells in this layer is " <<
nWires()
134 if ( wire >= 0 && wire <
nWires() ) {
137 std::cout <<
"Error In makeHitTrajInGlobalCoords: wrong cell # "<< wire <<
"\n"
138 <<
" number of cells in this layer is " <<
nWires() << std::endl;
const Trajectory * makeHitTrajInGlobalCoords(int wire, double z=0) const
double yWire(int cell) const
MdcLayer(int lay, int nwir, MdcSWire **wires, const MdcDetector &theDet)
double phiWire(int cell) const
MdcSWire * getWire(int wire) const
double phiOffset(void) const
double phiWireDC(int cell, double z) const
double zLength(void) const
double phiEPOffset(void) const
double radiusDC(double z) const
double stereo(void) const
double cellWidth(void) const
void print(std::ostream &o) const
double dPhizDC(double z) const
int superLayer(void) const
double xWire(int cell) const
double phiDC(double z) const
double zEndDC(void) const
const MdcSagTraj * getTraj(void) const
double stereo(void) const
void setLayerPtr(const MdcLayer *lay)