51 double getXf()
const {
return m_wpos[0]; }
52 double getYf()
const {
return m_wpos[1]; }
53 double getZf()
const {
return m_wpos[2]; }
56 double getXb()
const {
return m_wpos[3]; }
57 double getYb()
const {
return m_wpos[4]; }
58 double getZb()
const {
return m_wpos[5]; }
63 double getPhi(
double z)
const;
69 double getSag()
const {
return m_sag; }
78 double getRad()
const {
return m_play -> getLayerRad(); }
93 void print(FILE* fout = stdout)
const;
114 void setXf(
double xf) { m_wpos[0] = xf; }
115 void setYf(
double yf) { m_wpos[1] = yf; }
116 void setZf(
double zf) { m_wpos[2] = zf; }
119 void setXb(
double xb) { m_wpos[3] = xb; }
120 void setYb(
double yb) { m_wpos[4] = yb; }
121 void setZb(
double zb) { m_wpos[5] = zb; }
175 for(
int i=0; i<6; i++){
181 wcenpos[0] = 0.5 * (m_wpos[0] + m_wpos[3]);
182 wcenpos[1] = 0.5 * (m_wpos[1] + m_wpos[4]);
183 wcenpos[2] = 0.5 * (m_wpos[2] + m_wpos[5]);
void setCellId(int iCell)
void setLayerId(int iLay)
void setTension(double tension)
double getTension() const
void setPhiForward(double phi)
const char * getWireLabel() const
void setWirePos(double wpos[])
void getWirePos(double wpos[]) const
void setWireTag(char *tag)
double getTwistCell() const
void setWireId(int iWire)
void setLayerPtr(MdcCosLayer *layerptr)
void setPreAmpId(int iPreamp)
const MdcCosLayer * getLayerPtr() const
double getPhi(double z) const
void setWireLabel(char *label)
double getPhiForward() const
void print(FILE *fout=stdout) const
const char * getWireTag() const
void getWireCenPos(double wcenpos[]) const