FTLayer Class Reference

#include <FTLayer.h>

List of all members.

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


Detailed Description

Definition at line 22 of file FTLayer.h.


Constructor & Destructor Documentation

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 }

FTLayer::~FTLayer (  )  [inline]

destructor

Definition at line 31 of file FTLayer.h.

00031 {};


Member Function Documentation

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().

00191 {
00192   return 2*M_PI*_radius/NWire();
00193 }

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]

returns limit of "d" for stereo layer

Definition at line 162 of file FTLayer.h.

References _tanSlant, _zb, and _zf.

Referenced by FTSegment::update3D().

00163 {
00164   return (double)(_zf-_zb)/_tanSlant;
00165 }

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]

returns offset of numbering(local ID)

Definition at line 176 of file FTLayer.h.

References _offset.

00177 {
00178   return _offset;
00179 }

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]

returns z for "d" in r-phi plane

Definition at line 169 of file FTLayer.h.

References _tanSlant, and _zb.

Referenced by FTSegment::update3D().

00170 {
00171   return (double)_zb+d*_tanSlant;
00172 }

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 }


Member Data Documentation

const int FTLayer::_layerId [private]

Definition at line 75 of file FTLayer.h.

Referenced by layerId().

const int FTLayer::_localLayerId [private]

Definition at line 76 of file FTLayer.h.

Referenced by localLayerId().

const int FTLayer::_NWire [private]

Definition at line 78 of file FTLayer.h.

Referenced by NWire().

const float FTLayer::_offset [private]

Definition at line 77 of file FTLayer.h.

Referenced by offset().

const float FTLayer::_radius [private]

Definition at line 71 of file FTLayer.h.

Referenced by csize(), and r().

const FTSuperLayer& FTLayer::_superLayer [private]

Definition at line 79 of file FTLayer.h.

Referenced by superLayer().

const float FTLayer::_tanSlant [private]

Definition at line 72 of file FTLayer.h.

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

const float FTLayer::_zb [private]

Definition at line 74 of file FTLayer.h.

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

const float FTLayer::_zf [private]

Definition at line 73 of file FTLayer.h.

Referenced by limit(), and zf().


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