KalFitLayer_Mdc Class Reference

#include <KalFitLayer_Mdc.h>

List of all members.

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_MdcsuperLayer (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


Detailed Description

Definition at line 13 of file KalFitLayer_Mdc.h.


Constructor & Destructor Documentation

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]

destructor

Definition at line 22 of file KalFitLayer_Mdc.h.

00022 {};


Member Function Documentation

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]

returns limit of "d" for stereo layer

Definition at line 111 of file KalFitLayer_Mdc.h.

References _tanSlant, _zb, and _zf.

00111 {  return (double)(_zf-_zb)/_tanSlant;}

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]

returns z for "d" in r-phi plane

Definition at line 115 of file KalFitLayer_Mdc.h.

References _tanSlant, and _zb.

00116 {
00117   return (double)_zb+d*_tanSlant;
00118 }

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;}


Member Data Documentation

const int KalFitLayer_Mdc::_layerId [private]

Definition at line 63 of file KalFitLayer_Mdc.h.

Referenced by layerId().

const int KalFitLayer_Mdc::_localLayerId [private]

Definition at line 64 of file KalFitLayer_Mdc.h.

Referenced by localLayerId().

const int KalFitLayer_Mdc::_offset [private]

Definition at line 65 of file KalFitLayer_Mdc.h.

Referenced by offset().

const double KalFitLayer_Mdc::_radius [private]

Definition at line 59 of file KalFitLayer_Mdc.h.

Referenced by csize(), and r().

const KalFitSuper_Mdc& KalFitLayer_Mdc::_superLayer [private]

Definition at line 66 of file KalFitLayer_Mdc.h.

Referenced by csize(), and superLayer().

const double KalFitLayer_Mdc::_tanSlant [private]

Definition at line 60 of file KalFitLayer_Mdc.h.

Referenced by limit(), tanSlant(), and z().

const double KalFitLayer_Mdc::_zb [private]

Definition at line 62 of file KalFitLayer_Mdc.h.

Referenced by limit(), z(), and zb().

const double KalFitLayer_Mdc::_zf [private]

Definition at line 61 of file KalFitLayer_Mdc.h.

Referenced by limit(), and zf().


Generated on Tue Nov 29 23:19:55 2016 for BOSS_7.0.2 by  doxygen 1.4.7