BOSS 8.0.0
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)
 ~FTLayer ()=default
const int localLayerId () const
 returns local-layer ID
const int layerId () const
 returns layer ID
const int NWire () const
 returns the number of wire
const float tanSlant () const
 returns tangent of slant angle
const float r () const
 returns r form origin
const float zf () const
 returns z of forward end-plate
const float zb () const
 returns z of backward end-plate
const float offset () const
 returns offset of numbering(local ID)
const double limit () const
 returns limit of "d" for stereo layer
double z (const double d) const
 returns z for "d" in r-phi plane
double csize () const
 returns cell size

Detailed Description

Definition at line 5 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 )
inline

Definition at line 8 of file FTLayer.h.

10 : _radius( radius )
11 , _tanSlant( 1. / std::tan( stereoAngle ) )
12 , _zf( zf )
13 , _zb( zb )
14 , _layerId( layerID )
15 , _offset( offset )
16 , _localLayerId( localLayerID )
17 , _nwire( nwire ) {}
const float zb() const
returns z of backward end-plate
Definition FTLayer.h:41
const float zf() const
returns z of forward end-plate
Definition FTLayer.h:38
const float offset() const
returns offset of numbering(local ID)
Definition FTLayer.h:44

◆ ~FTLayer()

FTLayer::~FTLayer ( )
default

Member Function Documentation

◆ csize()

double FTLayer::csize ( ) const
inline

returns cell size

Definition at line 53 of file FTLayer.h.

53{ return 2 * M_PI * _radius / NWire(); }
#define M_PI
Definition TConstant.h:4
const int NWire() const
returns the number of wire
Definition FTLayer.h:29

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 ( ) const
inline

returns layer ID

Definition at line 26 of file FTLayer.h.

26{ return _layerId; }

◆ limit()

const double FTLayer::limit ( ) const
inline

returns limit of "d" for stereo layer

Definition at line 47 of file FTLayer.h.

47{ return ( _zf - _zb ) / _tanSlant; }

Referenced by FTSegment::update3D().

◆ localLayerId()

const int FTLayer::localLayerId ( ) const
inline

returns local-layer ID

Definition at line 23 of file FTLayer.h.

23{ return _localLayerId; }

◆ NWire()

const int FTLayer::NWire ( ) const
inline

returns the number of wire

Definition at line 29 of file FTLayer.h.

29{ return _nwire; }

Referenced by csize().

◆ offset()

const float FTLayer::offset ( ) const
inline

returns offset of numbering(local ID)

Definition at line 44 of file FTLayer.h.

44{ return _offset; }

Referenced by FTLayer().

◆ r()

const float FTLayer::r ( ) const
inline

returns r form origin

Definition at line 35 of file FTLayer.h.

35{ return _radius; }

Referenced by FTTrack::r_phi2Fit(), FTTrack::r_phi3Fit(), FTTrack::r_phi4Fit(), FTTrack::r_phiFit(), FTTrack::r_phiReFit(), FTTrack::s_zFit(), and FTSegment::update3D().

◆ tanSlant()

const float FTLayer::tanSlant ( ) const
inline

returns tangent of slant angle

Definition at line 32 of file FTLayer.h.

32{ return _tanSlant; }

◆ z()

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

returns z for "d" in r-phi plane

Definition at line 50 of file FTLayer.h.

50{ return _zb + d * _tanSlant; }

Referenced by FTSegment::update3D().

◆ zb()

const float FTLayer::zb ( ) const
inline

returns z of backward end-plate

Definition at line 41 of file FTLayer.h.

41{ return _zb; }

Referenced by FTLayer().

◆ zf()

const float FTLayer::zf ( ) const
inline

returns z of forward end-plate

Definition at line 38 of file FTLayer.h.

38{ return _zf; }

Referenced by FTLayer().


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