5#ifndef _DEFINE_LAYER_Mdc_H_
6#define _DEFINE_LAYER_Mdc_H_
10#include "KalFitAlg/KalFitSuper_Mdc.h"
17 const double radius,
const double stereoAngle,
18 const double zf,
const double zb,
const double offset,
19 const int layerID,
const int localLayerID);
35 const double r(
void)
const;
38 const double zf(
void)
const;
41 const double zb(
void)
const;
53 double z(
const double d)
const;
60 const double _tanSlant;
64 const int _localLayerId;
70#ifdef KalFitLayer_Mdc_NO_INLINE
74#define KalFitLayer_Mdc_INLINE_DEFINE_HERE
77#ifdef KalFitLayer_Mdc_INLINE_DEFINE_HERE
81 const double radius,
const double stereoAngle,
82 const double zf,
const double zb,
const double offset,
83 const int layerID,
const int localLayerID) : _radius(radius),
84 _tanSlant(1./
tan(stereoAngle)),
88 _localLayerId(localLayerID),
89 _offset((int)(2.0*offset)),
117 return (
double)_zb+d*_tanSlant;
138 return 2*
M_PI*_radius/_superLayer.
nWire();
double tan(const BesAngle a)
const double tanSlant(void) const
returns tangent of slant angle
double csize(void) const
returns cell size
const double zb(void) const
returns z of backward end-plate
const double zf(void) const
returns z of forward end-plate
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
const double limit(void) const
returns limit of "d" for stereo layer
const int localLayerId(void) const
returns local-layer ID
~KalFitLayer_Mdc()
destructor
const double r(void) const
returns r form origin
const KalFitSuper_Mdc & superLayer(void) const
returns super-layer
const int layerId(void) const
returns layer ID
double z(const double d) const
returns z for "d" in r-phi plane
const int offset(void) const
returns offset of numbering(local ID)
const int nWire(void) const
returns number of wires