10 using namespace GeomDetEnumerators;
12 template <
class T>
T sqr(
T t) {
return t*
t;}
17 s <<
" face: "<<l.
face()
19 <<
" range:"<<l.
range()<<
", "
27 else if (d.
allLayers) s <<
"x0 by MSLayersKeeper";
28 else s <<
"empty DataX0";
34 : theFace(layer->location()), theX0Data(dataX0)
54 cout <<
" ** MSLayer ** unknown part - will not work!" <<endl;
62 thePosition(position),
64 theHalfThickness(halfThickness),
79 const float eps = 1.e-5;
154 float OverSinTheta =
std::sqrt(1.
f+cotTheta*cotTheta);
163 if (dataLayer)
return dataLayer->
x0(cotTheta);
189 if (dataLayer)
return dataLayer->
sumX0D(cotTheta);
virtual const BoundSurface & surface() const =0
The surface of the GeometricSearchDet.
const MSLayersKeeper * allLayers
virtual float length() const =0
float sumX0D(float cotTheta) const
float x0(float cotTheta) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
virtual float thickness() const =0
float zAtR(float r) const
const Range & range() const
Scalar radius() const
Radius of the cylinder.
const GeomDetEnumerators::Location & face() const
virtual const BoundDisk & specificSurface() const
bool operator<(const MSLayer &o) const
float distance(const PixelRecoPointRZ &point) const
bool operator==(const MSLayer &o) const
virtual const MSLayersAtAngle & layers(float cotTheta) const =0
const Bounds & bounds() const
std::pair< PixelRecoPointRZ, bool > crossing(const PixelRecoLineRZ &line) const
virtual const BoundSurface & surface() const
GeometricSearchDet interface.
virtual const Surface::PositionType & position() const
Returns position of the surface.
bool inside(const T &value) const
virtual const BoundCylinder & specificSurface() const
Extension of the interface.
float rAtZ(float z) const
Square< F >::type sqr(const F &f)
static int position[264][3]
float outerRadius() const
The outer radius of the disk.
float innerRadius() const
The inner radius of the disk.
GeomDetEnumerators::Location theFace
PixelRecoRange< float > Range
const MSLayer * findLayer(const MSLayer &layer) const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point