16 unsigned ncorners= vec.
size();
17 if(ncorners!=8)
return;
27 for(
unsigned ic=0;ic<8;++ic)
75 for(
unsigned ic=0;ic<4;++ic)
77 unsigned i1=(unsigned)((zsign*ic+offset)%4);
90 for(
unsigned ic=0;ic<8;++ic)
104 for(
unsigned il=0;il<4;++il)
111 for(
unsigned i=0;
i<4;++
i)
121 for(
unsigned i=0;
i<6;++
i)
148 if(corners.size()==4)
167 if(corners.size()==4)
187 if(corners.size()==4&&i<4
U)
275 for(
unsigned ic=0;ic<8;++ic)
280 std::cout <<
" Normales sortantes " << std::endl;
281 for(
unsigned id=0;
id<6;++
id)
void getLateralEdges(unsigned i, XYZPoint &, XYZPoint &) const
get the lateral edges
XYZVector firstedgedirection_
void setCorners(const CaloCellGeometry::CornersVec &vec, const GlobalPoint &pos)
constexpr uint32_t rawId() const
get the raw id
void getDrawingCoordinates(std::vector< float > &x, std::vector< float > &y, std::vector< float > &z) const
for debugging.
XYZVector lateraldirection_[4]
BaseCrystal()
Empty constructor.
void getBackSide(XYZPoint &a, XYZPoint &b, XYZPoint &c, XYZPoint &d) const
Coordinates of the back side.
ROOT::Math::Plane3D Plane3D
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
void getSide(const CaloDirection &side, XYZPoint &a, XYZPoint &b, XYZPoint &c, XYZPoint &d) const
generic access
XYZVector exitingNormal_[6]
void getLateralSide(unsigned i, XYZPoint &a, XYZPoint &b, XYZPoint &c, XYZPoint &d) const
Coordinates of the i=th lateral side.
static CaloDirection Side(unsigned i)
unsigned int -> Side conversion
ROOT::Math::Plane3D::Point Point
Structure Point Contains parameters of Gaussian fits to DMRs.
CaloDirection
Codes the local directions in the cell lattice.
void getFrontSide(XYZPoint &a, XYZPoint &b, XYZPoint &c, XYZPoint &d) const
coordinates of the front side
XYZVector fifthedgedirection_
void computeBasicProperties()