20#include "MdcFastTrkAlg/FTSuperLayer.h"
25 FTLayer(
const float radius,
const float stereoAngle,
26 const float zf,
const float zb,
const float offset,
27 const int layerID,
const int localLayerID,
const int NWire,
41 const int NWire(
void)
const;
47 const float r(
void)
const;
50 const float zf(
void)
const;
53 const float zb(
void)
const;
56 const float offset(
void)
const;
62 const double limit(
void)
const;
65 double z(
const double d)
const;
68 double csize(
void)
const;
72 const float _tanSlant;
76 const int _localLayerId;
83#ifdef FTLayer_NO_INLINE
87#define FTLayer_INLINE_DEFINE_HERE
90#ifdef FTLayer_INLINE_DEFINE_HERE
94 const float zf,
const float zb,
const float offset,
95 const int layerID,
const int localLayerID,
const int NWire,
98 _tanSlant(1./
std::
tan(stereoAngle)),
102 _localLayerId(localLayerID),
121 return _localLayerId;
164 return (
double)(_zf-_zb)/_tanSlant;
171 return (
double)_zb+d*_tanSlant;
double tan(const BesAngle a)
const float r(void) const
returns r form origin
const int localLayerId(void) const
returns local-layer ID
double z(const double d) const
returns z for "d" in r-phi plane
const int NWire(void) const
returns the number of wire
const int layerId(void) const
returns layer ID
const double limit(void) const
returns limit of "d" for stereo layer
const float zf(void) const
returns z of forward end-plate
const float tanSlant(void) const
returns tangent of slant angle
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
const float zb(void) const
returns z of backward end-plate
const float offset(void) const
returns offset of numbering(local ID)
const FTSuperLayer & superLayer(void) const
returns super-layer
double csize(void) const
returns cell size