12 #ifndef HERD_DISTRIBUTIONFIBERTOOL_H_ 13 #define HERD_DISTRIBUTIONFIBERTOOL_H_ 27 namespace FitDigitizationTools {
33 Vec2() :
Vec3D(
std::numeric_limits<float>::max(),
std::numeric_limits<float>::max(), 0) {}
66 std::vector<std::pair<Point, double>> effectivePathFracInCores(
const Point &enPoint,
const Point &exPoint,
69 void setMatWidth(
float matWidth);
82 inline double getFiberX(
unsigned int iLayer,
int iFiber)
const {
83 return m_fibrePitch * (iFiber + 0.5 * (iLayer % 2));
85 inline double getFiberZ(
unsigned int iLayer)
const {
return (iLayer - 0.5 * (m_nlayers - 1)) * m_deltaZ; }
87 inline double firstFiber(
unsigned int iLayer)
const {
return ((iLayer % 2) == 0) ? m_firstFiber0 : m_firstFiber1; }
89 inline double lastFiber(
unsigned int iLayer)
const {
return ((iLayer % 2) == 0) ? -m_firstFiber0 : m_lastFiber1; }
91 void initNFibers(
unsigned int nFibers);
97 std::pair<int, int> getAdjacentFiberIds(
double x,
double dx_over_dz,
unsigned int iLayer)
const;
100 const double m_fibreCoreRadius = 0.011;
101 const double m_fibrePitch = 0.0275;
102 const double m_deltaZ = 0.021;
113 const double m_crossTalkProb = 0.193;
114 const double m_CTmodelTouching = 0.163;
115 const double m_CTmodelSide = 0.147;
116 const double m_CTmodel2layers = 0.028;
120 unsigned int m_nFibers = 355;
Coo
Aliases for the three space coordinates. RefFrame.h common/RefFrame.h.
Definition: RefFrame.h:24
CssGeoParams.h CssGeoParams class declaration.
Definition: CaloPDCalibrationAlgo.h:24
Data structure for single silicon layer geometry parameters.
Definition: FitGeoParams.h:64
A class describing a vector in 3D space.
Definition: Vec3D.h:33