#include <MdcSWire.h>
Public Member Functions | |
int | cell (void) const |
int | cell (void) const |
double | dPhiz (void) const |
double | dPhiz (void) const |
double | dPhizDC (double z) const |
double | dPhizDC (double z) const |
const HepPoint3D * | getEastPoint (void) const |
const HepPoint3D * | getEastPoint (void) const |
double | getSag (void) const |
double | getSag (void) const |
const MdcSagTraj * | getTraj (void) const |
const MdcSagTraj * | getTraj (void) const |
const HepPoint3D * | getWestPoint (void) const |
const HepPoint3D * | getWestPoint (void) const |
int | Id (void) const |
int | Id (void) const |
const MdcLayer * | layer (void) const |
const MdcLayer * | layer (void) const |
MdcSWire (HepPoint3D &eastP, HepPoint3D &westP, double sag=0, int id=0, int cell=0) | |
MdcSWire (HepPoint3D &eastP, HepPoint3D &westP, double sag=0, int id=0, int cell=0) | |
double | phi (void) const |
double | phi (void) const |
double | phiDC (double z) const |
double | phiDC (double z) const |
double | phiE (void) const |
double | phiE (void) const |
void | print (std::ostream &o) const |
void | print (std::ostream &o) const |
void | printInfo (std::ostream &o) const |
void | printInfo (std::ostream &o) const |
double | radiusDC (double z) const |
double | radiusDC (double z) const |
double | rEnd (void) const |
double | rEnd (void) const |
double | rMid (void) const |
double | rMid (void) const |
double | stDip (void) const |
double | stDip (void) const |
double | stereo (void) const |
double | stereo (void) const |
double | xEast (void) const |
double | xEast (void) const |
double | xMid (void) const |
double | xMid (void) const |
double | xWest (void) const |
double | xWest (void) const |
double | xWireDC (double z) const |
double | xWireDC (double z) const |
Hep3Vector | yAxis (double z=0.) |
Hep3Vector | yAxis (double z=0.) |
double | yEast (void) const |
double | yEast (void) const |
double | yMid (void) const |
double | yMid (void) const |
double | yWest (void) const |
double | yWest (void) const |
double | yWireDC (double z) const |
double | yWireDC (double z) const |
const Hep3Vector & | zAxis (void) const |
const Hep3Vector & | zAxis (void) const |
double | zEast (void) const |
double | zEast (void) const |
double | zEndDC (void) const |
double | zEndDC (void) const |
double | zLength (void) const |
double | zLength (void) const |
double | zWest (void) const |
double | zWest (void) const |
~MdcSWire () | |
~MdcSWire () | |
Protected Member Functions | |
void | setLayerPtr (const MdcLayer *lay) |
void | setLayerPtr (const MdcLayer *lay) |
Private Attributes | |
int | _cell |
HepPoint3D | _east |
int | _id |
const MdcLayer * | _lay |
const MdcLayer * | _lay |
double | _phiend |
double | _rend |
double | _sag |
MdcSagTraj | _traj |
double | _twist |
HepPoint3D | _west |
Friends | |
class | MdcLayer |
|
00010 : _traj(sag,eastP,westP), _east(eastP), _west(westP), _sag(sag), _id(id), _cell(cell) 00011 { 00012 _rend = sqrt(xEast()*xEast() + yEast()*yEast()); 00013 _phiend = _east.phi(); 00014 BesAngle westPphi(westP.phi()); 00015 BesAngle eastPphi(eastP.phi()); 00016 _twist = ( westPphi - eastPphi)* 0.5; 00017 }
|
|
00026 {};
|
|
|
|
00026 {};
|
|
00046 { return _cell; } //local cell number in layer
|
|
00046 { return _cell; } //local cell number in layer
|
|
00048 { return _twist; }
|
|
00048 { return _twist; }
|
|
|
|
|
|
00032 { return &_east; }
|
|
00032 { return &_east; }
|
|
00031 { return _sag; }
|
|
00031 { return _sag; }
|
|
00034 { return &_traj; }
|
|
00034 { return &_traj; }
|
|
00033 { return &_west; }
|
|
00033 { return &_west; }
|
|
00045 { return _id; }//wire number in Mdc
|
|
00045 { return _id; }//wire number in Mdc
|
|
00044 { return _lay; }
|
|
00044 { return _lay; }
|
|
00052 { return _phiend + _twist; }
|
|
00052 { return _phiend + _twist; }
|
|
|
|
|
|
00051 { return _phiend; }
|
|
00051 { return _phiend; }
|
|
|
|
00027 { 00028 o<< setw(6)<<Id()<< 00029 setw(10)<<xEast()<< 00030 setw(10)<<yEast()<< 00031 setw(10)<<zEast()<< 00032 setw(10)<<xWest()<< 00033 setw(10)<<yWest()<< 00034 setw(10)<<zWest()<< 00035 setw(10)<<xMid()<< 00036 setw(10)<<yMid()<< 00037 setw(10)<<rEnd()<< 00038 setw(10)<<getSag()<< 00039 setw(10)<<cell()<< 00040 setw(10)<<zLength()<< 00041 setw(10)<<dPhiz()<< 00042 setw(10)<<zEndDC()<< 00043 setw(10)<<rMid()<< 00044 setw(10)<<phiE()<< 00045 setw(10)<<phi()<< 00046 setw(10)<<stereo()<< 00047 setw(10)<<stDip()<< 00048 setw(10)<<radiusDC(0.)<< 00049 setw(10)<<phiDC(0.)<< 00050 setw(10)<<xWireDC(0.)<< 00051 setw(10)<<yWireDC(0.)<< 00052 setw(10)<<dPhizDC(0.)<< 00053 setw(10)<<getTraj()->sag()<<// 00054 setw(10)<<getTraj()->position(0.)<< 00055 setw(10)<<getTraj()->direction(0.)<< 00056 setw(10)<<getTraj()->curvature()<<// 00057 setw(10)<<getTraj()->rawDirection()<< 00058 std::endl; 00059 }
|
|
|
|
00062 { 00063 o << "east " << getEastPoint()->x() << " " << getEastPoint()->y() << " " 00064 << getEastPoint()->z() <<"\n" 00065 << "west " << getWestPoint()->x() <<" " << getWestPoint()->y() 00066 << " " << getWestPoint()->z() << "\n" 00067 << "sagitta: " << getSag() 00068 << " z length: " << zLength() 00069 << " twist: " << dPhiz() 00070 << " stereo: " << stereo() <<"\n" 00071 << "x-y mid: " << xMid() << " - " << yMid() << std::endl; 00072 00073 }
|
|
|
|
|
|
00043 { return _rend; }
|
|
00043 { return _rend; }
|
|
|
|
|
|
00073 { _lay =lay; }
|
|
00073 { _lay =lay; }
|
|
|
|
|
|
|
|
|
|
00035 { return _east.x(); }
|
|
00035 { return _east.x(); }
|
|
|
|
|
|
00038 { return _west.x(); }
|
|
00038 { return _west.x(); }
|
|
|
|
|
|
|
|
|
|
00036 { return _east.y(); }
|
|
00036 { return _east.y(); }
|
|
|
|
|
|
00039 { return _west.y(); }
|
|
00039 { return _west.y(); }
|
|
|
|
|
|
00067 { return _traj.rawDirection(); }
|
|
00067 { return _traj.rawDirection(); }
|
|
00037 { return _east.z(); }
|
|
00037 { return _east.z(); }
|
|
00049 { return 0.5*zLength(); }
|
|
00049 { return 0.5*zLength(); }
|
|
00047 { return getEastPoint()->z()- getWestPoint()->z(); }
|
|
00047 { return getEastPoint()->z()- getWestPoint()->z(); }
|
|
00040 { return _west.z(); }
|
|
00040 { return _west.z(); }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|