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

Constructor & Destructor Documentation

◆ KalFitLayer_Mdc() [1/2]

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 InstallArea/include/KalFitAlg/KalFitAlg/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)
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() [1/2]

KalFitLayer_Mdc::~KalFitLayer_Mdc ( )
inline

destructor

Definition at line 22 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

22{};

◆ KalFitLayer_Mdc() [2/2]

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 
)

constructor

◆ ~KalFitLayer_Mdc() [2/2]

KalFitLayer_Mdc::~KalFitLayer_Mdc ( )
inline

Member Function Documentation

◆ csize() [1/2]

double KalFitLayer_Mdc::csize ( void  ) const
inline

returns cell size

Definition at line 136 of file InstallArea/include/KalFitAlg/KalFitAlg/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

◆ csize() [2/2]

double KalFitLayer_Mdc::csize ( void  ) const

returns cell size

◆ layerId() [1/2]

◆ layerId() [2/2]

const int KalFitLayer_Mdc::layerId ( void  ) const

returns layer ID

◆ limit() [1/2]

const double KalFitLayer_Mdc::limit ( void  ) const
inline

returns limit of "d" for stereo layer

Definition at line 111 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

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

◆ limit() [2/2]

const double KalFitLayer_Mdc::limit ( void  ) const

returns limit of "d" for stereo layer

◆ localLayerId() [1/2]

const int KalFitLayer_Mdc::localLayerId ( void  ) const
inline

returns local-layer ID

Definition at line 97 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

97{ return _localLayerId;}

◆ localLayerId() [2/2]

const int KalFitLayer_Mdc::localLayerId ( void  ) const

returns local-layer ID

◆ offset() [1/2]

const int KalFitLayer_Mdc::offset ( void  ) const
inline

returns offset of numbering(local ID)

Definition at line 122 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

123{
124 return _offset;
125}

Referenced by KalFitWire::phi().

◆ offset() [2/2]

const int KalFitLayer_Mdc::offset ( void  ) const

returns offset of numbering(local ID)

◆ r() [1/2]

const double KalFitLayer_Mdc::r ( void  ) const
inline

returns r form origin

Definition at line 102 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

102{ return _radius;}

◆ r() [2/2]

const double KalFitLayer_Mdc::r ( void  ) const

returns r form origin

◆ superLayer() [1/2]

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

returns super-layer

Definition at line 129 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

130{
131 return _superLayer;
132}

Referenced by KalFitWire::phi().

◆ superLayer() [2/2]

const KalFitSuper_Mdc & KalFitLayer_Mdc::superLayer ( void  ) const

returns super-layer

◆ tanSlant() [1/2]

const double KalFitLayer_Mdc::tanSlant ( void  ) const
inline

returns tangent of slant angle

Definition at line 99 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

99{ return _tanSlant;}

Referenced by KalFitWire::distance_z().

◆ tanSlant() [2/2]

const double KalFitLayer_Mdc::tanSlant ( void  ) const

returns tangent of slant angle

◆ z() [1/2]

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

returns z for "d" in r-phi plane

Definition at line 115 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

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

◆ z() [2/2]

double KalFitLayer_Mdc::z ( const double  d) const

returns z for "d" in r-phi plane

◆ zb() [1/2]

const double KalFitLayer_Mdc::zb ( void  ) const
inline

returns z of backward end-plate

Definition at line 108 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

108{ return _zb;}

Referenced by KalFitWire::z().

◆ zb() [2/2]

const double KalFitLayer_Mdc::zb ( void  ) const

returns z of backward end-plate

◆ zf() [1/2]

const double KalFitLayer_Mdc::zf ( void  ) const
inline

returns z of forward end-plate

Definition at line 105 of file InstallArea/include/KalFitAlg/KalFitAlg/KalFitLayer_Mdc.h.

105{ return _zf;}

Referenced by KalFitWire::z().

◆ zf() [2/2]

const double KalFitLayer_Mdc::zf ( void  ) const

returns z of forward end-plate


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