BOSS 7.0.5
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
 
 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

Constructor & Destructor Documentation

◆ FTLayer() [1/2]

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 InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/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
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)

◆ ~FTLayer() [1/2]

FTLayer::~FTLayer ( )
inline

destructor

Definition at line 31 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

31{};

◆ FTLayer() [2/2]

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 
)

constructor

◆ ~FTLayer() [2/2]

FTLayer::~FTLayer ( )
inline

Member Function Documentation

◆ csize() [1/2]

double FTLayer::csize ( void  ) const
inline

◆ csize() [2/2]

double FTLayer::csize ( void  ) const

returns cell size

◆ layerId() [1/2]

const int FTLayer::layerId ( void  ) const
inline

returns layer ID

Definition at line 112 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

113{
114 return _layerId;
115}

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

◆ layerId() [2/2]

const int FTLayer::layerId ( void  ) const

returns layer ID

◆ limit() [1/2]

const double FTLayer::limit ( void  ) const
inline

returns limit of "d" for stereo layer

Definition at line 162 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

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

Referenced by FTSegment::update3D().

◆ limit() [2/2]

const double FTLayer::limit ( void  ) const

returns limit of "d" for stereo layer

◆ localLayerId() [1/2]

const int FTLayer::localLayerId ( void  ) const
inline

returns local-layer ID

Definition at line 119 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

120{
121 return _localLayerId;
122}

◆ localLayerId() [2/2]

const int FTLayer::localLayerId ( void  ) const

returns local-layer ID

◆ NWire() [1/2]

const int FTLayer::NWire ( void  ) const
inline

returns the number of wire

Definition at line 126 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

127{
128 return _NWire;
129}

Referenced by csize().

◆ NWire() [2/2]

const int FTLayer::NWire ( void  ) const

returns the number of wire

◆ offset() [1/2]

const float FTLayer::offset ( void  ) const
inline

returns offset of numbering(local ID)

Definition at line 176 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

177{
178 return _offset;
179}

◆ offset() [2/2]

const float FTLayer::offset ( void  ) const

returns offset of numbering(local ID)

◆ r() [1/2]

const float FTLayer::r ( void  ) const
inline

◆ r() [2/2]

const float FTLayer::r ( void  ) const

returns r form origin

◆ superLayer() [1/2]

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

returns super-layer

Definition at line 183 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

184{
185 return _superLayer;
186}

◆ superLayer() [2/2]

const FTSuperLayer & FTLayer::superLayer ( void  ) const

returns super-layer

◆ tanSlant() [1/2]

const float FTLayer::tanSlant ( void  ) const
inline

returns tangent of slant angle

Definition at line 133 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

134{
135 return _tanSlant;
136}

Referenced by FTWire::distance_z().

◆ tanSlant() [2/2]

const float FTLayer::tanSlant ( void  ) const

returns tangent of slant angle

◆ z() [1/2]

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

returns z for "d" in r-phi plane

Definition at line 169 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

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

Referenced by FTSegment::update3D().

◆ z() [2/2]

double FTLayer::z ( const double  d) const

returns z for "d" in r-phi plane

◆ zb() [1/2]

const float FTLayer::zb ( void  ) const
inline

returns z of backward end-plate

Definition at line 155 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

156{
157 return _zb;
158}

Referenced by FTWire::z().

◆ zb() [2/2]

const float FTLayer::zb ( void  ) const

returns z of backward end-plate

◆ zf() [1/2]

const float FTLayer::zf ( void  ) const
inline

returns z of forward end-plate

Definition at line 148 of file InstallArea/include/MdcFastTrkAlg/MdcFastTrkAlg/FTLayer.h.

149{
150 return _zf;
151}

Referenced by FTWire::z().

◆ zf() [2/2]

const float FTLayer::zf ( void  ) const

returns z of forward end-plate


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