#include <FTLayer.h>
Public Member Functions | |
FTLayer (const float radius, const float stereoAngle, const float zf, const float zb, const float offset, const int layerID, const int localLayerID, const int NWire, const FTSuperLayer &super) | |
constructor | |
~FTLayer () | |
destructor | |
const int | localLayerId (void) const |
returns local-layer ID | |
const int | layerId (void) const |
returns layer ID | |
const int | NWire (void) const |
returns the number of wire | |
const float | tanSlant (void) const |
returns tangent of slant angle | |
const float | r (void) const |
returns r form origin | |
const float | zf (void) const |
returns z of forward end-plate | |
const float | zb (void) const |
returns z of backward end-plate | |
const float | offset (void) const |
returns offset of numbering(local ID) | |
const FTSuperLayer & | superLayer (void) const |
returns super-layer | |
const double | limit (void) const |
returns limit of "d" for stereo layer | |
double | z (const double d) const |
returns z for "d" in r-phi plane | |
double | csize (void) const |
returns cell size | |
Private Attributes | |
const float | _radius |
const float | _tanSlant |
const float | _zf |
const float | _zb |
const int | _layerId |
const int | _localLayerId |
const float | _offset |
const int | _NWire |
const FTSuperLayer & | _superLayer |
Definition at line 22 of file FTLayer.h.
FTLayer::FTLayer | ( | const float | radius, | |
const float | stereoAngle, | |||
const float | zf, | |||
const float | zb, | |||
const float | offset, | |||
const int | layerID, | |||
const int | localLayerID, | |||
const int | NWire, | |||
const FTSuperLayer & | super | |||
) | [inline] |
constructor
Definition at line 93 of file FTLayer.h.
00097 : _radius(radius), 00098 _tanSlant(1./std::tan(stereoAngle)), 00099 _zf(zf), 00100 _zb(zb), 00101 _layerId(layerID), 00102 _localLayerId(localLayerID), 00103 _NWire(NWire), 00104 //_offset((int)(2.0*offset)), 00105 _offset(offset), 00106 _superLayer(super) 00107 { 00108 }
double FTLayer::csize | ( | void | ) | const [inline] |
returns cell size
Definition at line 190 of file FTLayer.h.
References _radius, M_PI, and NWire().
Referenced by FTTrack::r_phi2Fit(), FTTrack::r_phi3Fit(), FTFinder::t2x(), and FTFinder::x2t().
const int FTLayer::layerId | ( | void | ) | const [inline] |
returns layer ID
Definition at line 112 of file FTLayer.h.
References _layerId.
Referenced by FTFinder::linkAxialSegments_step().
00113 { 00114 return _layerId; 00115 }
const double FTLayer::limit | ( | void | ) | const [inline] |
const int FTLayer::localLayerId | ( | void | ) | const [inline] |
returns local-layer ID
Definition at line 119 of file FTLayer.h.
References _localLayerId.
Referenced by FTSuperLayer::connect_short_segments(), FTSuperLayer::connect_singleHit(), FTWire::getInnerNeighbor(), and FTWire::getOuterNeighbor().
00120 { 00121 return _localLayerId; 00122 }
const int FTLayer::NWire | ( | void | ) | const [inline] |
returns the number of wire
Definition at line 126 of file FTLayer.h.
References _NWire.
Referenced by csize(), FTWire::getInnerNeighbor(), FTWire::getOuterNeighbor(), FTWire::left(), and FTWire::right().
00127 { 00128 return _NWire; 00129 }
const float FTLayer::offset | ( | void | ) | const [inline] |
const float FTLayer::r | ( | void | ) | const [inline] |
returns r form origin
Definition at line 141 of file FTLayer.h.
References _radius.
Referenced by FTFinder::linkAxialSegments(), FTTrack::r_phi2Fit(), FTTrack::r_phi3Fit(), FTSegment::update(), and FTSegment::update3D().
00142 { 00143 return _radius; 00144 }
const FTSuperLayer & FTLayer::superLayer | ( | void | ) | const [inline] |
returns super-layer
Definition at line 183 of file FTLayer.h.
References _superLayer.
Referenced by FTWire::getOuterNeighbor(), and FTFinder::updateMdc().
00184 { 00185 return _superLayer; 00186 }
const float FTLayer::tanSlant | ( | void | ) | const [inline] |
returns tangent of slant angle
Definition at line 133 of file FTLayer.h.
References _tanSlant.
Referenced by FTWire::distance_z().
00134 { 00135 return _tanSlant; 00136 }
double FTLayer::z | ( | const double | d | ) | const [inline] |
const float FTLayer::zb | ( | void | ) | const [inline] |
returns z of backward end-plate
Definition at line 155 of file FTLayer.h.
References _zb.
Referenced by FTWire::z().
00156 { 00157 return _zb; 00158 }
const float FTLayer::zf | ( | void | ) | const [inline] |
returns z of forward end-plate
Definition at line 148 of file FTLayer.h.
References _zf.
Referenced by FTWire::z().
00149 { 00150 return _zf; 00151 }
const int FTLayer::_layerId [private] |
const int FTLayer::_localLayerId [private] |
const int FTLayer::_NWire [private] |
const float FTLayer::_offset [private] |
const float FTLayer::_radius [private] |
const FTSuperLayer& FTLayer::_superLayer [private] |
const float FTLayer::_tanSlant [private] |
const float FTLayer::_zb [private] |
const float FTLayer::_zf [private] |