CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
FTLayer Class Reference

#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 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
 

Detailed Description

Definition at line 22 of file FTLayer.h.

Constructor & Destructor Documentation

◆ FTLayer()

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.

97 : _radius(radius),
98 _tanSlant(1./std::tan(stereoAngle)),
99 _zf(zf),
100 _zb(zb),
101 _layerId(layerID),
102 _localLayerId(localLayerID),
103 _NWire(NWire),
104 //_offset((int)(2.0*offset)),
105 _offset(offset),
106 _superLayer(super)
107{
108}
const int NWire(void) const
returns the number of wire
Definition: FTLayer.h:126
const float zf(void) const
returns z of forward end-plate
Definition: FTLayer.h:148
const float zb(void) const
returns z of backward end-plate
Definition: FTLayer.h:155
const float offset(void) const
returns offset of numbering(local ID)
Definition: FTLayer.h:176

◆ ~FTLayer()

FTLayer::~FTLayer ( )
inline

destructor

Definition at line 31 of file FTLayer.h.

31{};

Member Function Documentation

◆ csize()

double FTLayer::csize ( void  ) const
inline

returns cell size

Definition at line 190 of file FTLayer.h.

191{
192 return 2*M_PI*_radius/NWire();
193}
#define M_PI
Definition: TConstant.h:4

Referenced by FTTrack::r_phi2Fit(), FTTrack::r_phi3Fit(), FTTrack::r_phi4Fit(), FTTrack::r_phiFit(), FTTrack::r_phiReFit(), FTTrack::s_zFit(), FTFinder::t2x(), and FTFinder::x2t().

◆ layerId()

const int FTLayer::layerId ( void  ) const
inline

returns layer ID

Definition at line 112 of file FTLayer.h.

113{
114 return _layerId;
115}

Referenced by FTSegment::printout(), and FTSuperLayer::reduce_noise().

◆ limit()

const double FTLayer::limit ( void  ) const
inline

returns limit of "d" for stereo layer

Definition at line 162 of file FTLayer.h.

163{
164 return (double)(_zf-_zb)/_tanSlant;
165}

Referenced by FTSegment::update3D().

◆ localLayerId()

const int FTLayer::localLayerId ( void  ) const
inline

returns local-layer ID

Definition at line 119 of file FTLayer.h.

120{
121 return _localLayerId;
122}

◆ NWire()

const int FTLayer::NWire ( void  ) const
inline

returns the number of wire

Definition at line 126 of file FTLayer.h.

127{
128 return _NWire;
129}

Referenced by csize().

◆ offset()

const float FTLayer::offset ( void  ) const
inline

returns offset of numbering(local ID)

Definition at line 176 of file FTLayer.h.

177{
178 return _offset;
179}

◆ r()

const float FTLayer::r ( void  ) const
inline

◆ superLayer()

const FTSuperLayer & FTLayer::superLayer ( void  ) const
inline

returns super-layer

Definition at line 183 of file FTLayer.h.

184{
185 return _superLayer;
186}

◆ tanSlant()

const float FTLayer::tanSlant ( void  ) const
inline

returns tangent of slant angle

Definition at line 133 of file FTLayer.h.

134{
135 return _tanSlant;
136}

Referenced by FTWire::distance_z().

◆ z()

double FTLayer::z ( const double  d) const
inline

returns z for "d" in r-phi plane

Definition at line 169 of file FTLayer.h.

170{
171 return (double)_zb+d*_tanSlant;
172}

Referenced by FTSegment::update3D().

◆ zb()

const float FTLayer::zb ( void  ) const
inline

returns z of backward end-plate

Definition at line 155 of file FTLayer.h.

156{
157 return _zb;
158}

Referenced by FTWire::z().

◆ zf()

const float FTLayer::zf ( void  ) const
inline

returns z of forward end-plate

Definition at line 148 of file FTLayer.h.

149{
150 return _zf;
151}

Referenced by FTWire::z().


The documentation for this class was generated from the following file: