BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
KalFitLayer_Mdc Class Reference

#include <KalFitLayer_Mdc.h>

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
 

Detailed Description

Definition at line 13 of file KalFitLayer_Mdc.h.

Constructor & Destructor Documentation

◆ KalFitLayer_Mdc()

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.

83 : _radius(radius),
84 _tanSlant(1./tan(stereoAngle)),
85 _zf(zf),
86 _zb(zb),
87 _layerId(layerID),
88 _localLayerId(localLayerID),
89 _offset((int)(2.0*offset)),
90 _superLayer(super)
91{
92}
double tan(const BesAngle a)
Definition BesAngle.h:216
const double zb(void) const
returns z of backward end-plate
const double zf(void) const
returns z of forward end-plate
const int offset(void) const
returns offset of numbering(local ID)

◆ ~KalFitLayer_Mdc()

KalFitLayer_Mdc::~KalFitLayer_Mdc ( )
inline

destructor

Definition at line 22 of file KalFitLayer_Mdc.h.

22{};

Member Function Documentation

◆ csize()

double KalFitLayer_Mdc::csize ( void ) const
inline

returns cell size

Definition at line 136 of file KalFitLayer_Mdc.h.

137{
138 return 2*M_PI*_radius/_superLayer.nWire();
139}
#define M_PI
Definition TConstant.h:4
const int nWire(void) const
returns number of wires

◆ layerId()

◆ limit()

const double KalFitLayer_Mdc::limit ( void ) const
inline

returns limit of "d" for stereo layer

Definition at line 111 of file KalFitLayer_Mdc.h.

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

◆ localLayerId()

const int KalFitLayer_Mdc::localLayerId ( void ) const
inline

returns local-layer ID

Definition at line 97 of file KalFitLayer_Mdc.h.

97{ return _localLayerId;}

◆ offset()

const int KalFitLayer_Mdc::offset ( void ) const
inline

returns offset of numbering(local ID)

Definition at line 122 of file KalFitLayer_Mdc.h.

123{
124 return _offset;
125}

Referenced by KalFitWire::phi().

◆ r()

const double KalFitLayer_Mdc::r ( void ) const
inline

returns r form origin

Definition at line 102 of file KalFitLayer_Mdc.h.

102{ return _radius;}

◆ superLayer()

const KalFitSuper_Mdc & KalFitLayer_Mdc::superLayer ( void ) const
inline

returns super-layer

Definition at line 129 of file KalFitLayer_Mdc.h.

130{
131 return _superLayer;
132}

Referenced by KalFitWire::phi().

◆ tanSlant()

const double KalFitLayer_Mdc::tanSlant ( void ) const
inline

returns tangent of slant angle

Definition at line 99 of file KalFitLayer_Mdc.h.

99{ return _tanSlant;}

Referenced by KalFitWire::distance_z().

◆ z()

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.

116{
117 return (double)_zb+d*_tanSlant;
118}

◆ zb()

const double KalFitLayer_Mdc::zb ( void ) const
inline

returns z of backward end-plate

Definition at line 108 of file KalFitLayer_Mdc.h.

108{ return _zb;}

Referenced by KalFitWire::z().

◆ zf()

const double KalFitLayer_Mdc::zf ( void ) const
inline

returns z of forward end-plate

Definition at line 105 of file KalFitLayer_Mdc.h.

105{ return _zf;}

Referenced by KalFitWire::z().


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