#include <KalFitLayer_Mdc.h>
Public Member Functions | |
KalFitLayer_Mdc (const KalFitSuper_Mdc &super, const double radius, const double stereoAngle, const double zf, const double zb, const double offset, const int layerID, const int localLayerID) | |
constructor | |
~KalFitLayer_Mdc () | |
destructor | |
const int | localLayerId (void) const |
returns local-layer ID | |
const int | layerId (void) const |
returns layer ID | |
const double | tanSlant (void) const |
returns tangent of slant angle | |
const double | r (void) const |
returns r form origin | |
const double | zf (void) const |
returns z of forward end-plate | |
const double | zb (void) const |
returns z of backward end-plate | |
const int | offset (void) const |
returns offset of numbering(local ID) | |
const KalFitSuper_Mdc & | 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 double | _radius |
const double | _tanSlant |
const double | _zf |
const double | _zb |
const int | _layerId |
const int | _localLayerId |
const int | _offset |
const KalFitSuper_Mdc & | _superLayer |
Definition at line 13 of file KalFitLayer_Mdc.h.
KalFitLayer_Mdc::KalFitLayer_Mdc | ( | const KalFitSuper_Mdc & | super, | |
const double | radius, | |||
const double | stereoAngle, | |||
const double | zf, | |||
const double | zb, | |||
const double | offset, | |||
const int | layerID, | |||
const int | localLayerID | |||
) | [inline] |
constructor
Definition at line 80 of file KalFitLayer_Mdc.h.
00083 : _radius(radius), 00084 _tanSlant(1./tan(stereoAngle)), 00085 _zf(zf), 00086 _zb(zb), 00087 _layerId(layerID), 00088 _localLayerId(localLayerID), 00089 _offset((int)(2.0*offset)), 00090 _superLayer(super) 00091 { 00092 }
KalFitLayer_Mdc::~KalFitLayer_Mdc | ( | ) | [inline] |
double KalFitLayer_Mdc::csize | ( | void | ) | const [inline] |
returns cell size
Definition at line 136 of file KalFitLayer_Mdc.h.
References _radius, _superLayer, M_PI, and KalFitSuper_Mdc::nWire().
00137 { 00138 return 2*M_PI*_radius/_superLayer.nWire(); 00139 }
const int KalFitLayer_Mdc::layerId | ( | void | ) | const [inline] |
returns layer ID
Definition at line 95 of file KalFitLayer_Mdc.h.
References _layerId.
Referenced by KalFitTrack::chi2_next(), KalFitAlg::filter_fwd_anal(), KalFitTrack::getDriftDist(), KalFitTrack::getDriftTime(), KalFitTrack::getSigma(), KalFitWire::KalFitWire(), KalFitWire::sagcoef(), KalFitAlg::smoother_anal(), and KalFitAlg::smoother_calib().
00095 { return _layerId;}
const double KalFitLayer_Mdc::limit | ( | void | ) | const [inline] |
const int KalFitLayer_Mdc::localLayerId | ( | void | ) | const [inline] |
returns local-layer ID
Definition at line 97 of file KalFitLayer_Mdc.h.
References _localLayerId.
Referenced by KalFitWire::innerLeft(), KalFitWire::innerRight(), KalFitWire::outerLeft(), and KalFitWire::outerRight().
00097 { return _localLayerId;}
const int KalFitLayer_Mdc::offset | ( | void | ) | const [inline] |
returns offset of numbering(local ID)
Definition at line 122 of file KalFitLayer_Mdc.h.
References _offset.
Referenced by KalFitWire::innerLeft(), KalFitWire::innerRight(), KalFitWire::outerLeft(), KalFitWire::outerRight(), and KalFitWire::phi().
00123 { 00124 return _offset; 00125 }
const double KalFitLayer_Mdc::r | ( | void | ) | const [inline] |
returns r form origin
Definition at line 102 of file KalFitLayer_Mdc.h.
References _radius.
00102 { return _radius;}
const KalFitSuper_Mdc & KalFitLayer_Mdc::superLayer | ( | void | ) | const [inline] |
returns super-layer
Definition at line 129 of file KalFitLayer_Mdc.h.
References _superLayer.
Referenced by KalFitWire::innerLeft(), KalFitWire::innerRight(), KalFitWire::left(), KalFitWire::outerLeft(), KalFitWire::outerRight(), KalFitWire::phi(), and KalFitWire::right().
00130 { 00131 return _superLayer; 00132 }
const double KalFitLayer_Mdc::tanSlant | ( | void | ) | const [inline] |
returns tangent of slant angle
Definition at line 99 of file KalFitLayer_Mdc.h.
References _tanSlant.
Referenced by KalFitWire::distance_z().
00099 { return _tanSlant;}
double KalFitLayer_Mdc::z | ( | const double | d | ) | const [inline] |
const double KalFitLayer_Mdc::zb | ( | void | ) | const [inline] |
returns z of backward end-plate
Definition at line 108 of file KalFitLayer_Mdc.h.
References _zb.
Referenced by KalFitWire::z().
00108 { return _zb;}
const double KalFitLayer_Mdc::zf | ( | void | ) | const [inline] |
returns z of forward end-plate
Definition at line 105 of file KalFitLayer_Mdc.h.
References _zf.
Referenced by KalFitWire::z().
00105 { return _zf;}
const int KalFitLayer_Mdc::_layerId [private] |
const int KalFitLayer_Mdc::_localLayerId [private] |
const int KalFitLayer_Mdc::_offset [private] |
const double KalFitLayer_Mdc::_radius [private] |
const KalFitSuper_Mdc& KalFitLayer_Mdc::_superLayer [private] |
const double KalFitLayer_Mdc::_tanSlant [private] |
const double KalFitLayer_Mdc::_zb [private] |
const double KalFitLayer_Mdc::_zf [private] |