File indexing completed on 2023-03-17 13:02:58
0001 #ifndef Geometry_ForwardGeometry_IdealCastorTrapezoid_H
0002 #define Geometry_ForwardGeometry_IdealCastorTrapezoid_H 1
0003
0004 #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 class IdealCastorTrapezoid : public CaloCellGeometry {
0033 public:
0034 typedef CaloCellGeometry::CCGFloat CCGFloat;
0035 typedef CaloCellGeometry::Pt3D Pt3D;
0036 typedef CaloCellGeometry::Pt3DVec Pt3DVec;
0037 typedef CaloCellGeometry::Tr3D Tr3D;
0038
0039 IdealCastorTrapezoid();
0040
0041 IdealCastorTrapezoid(const IdealCastorTrapezoid& idct);
0042
0043 IdealCastorTrapezoid& operator=(const IdealCastorTrapezoid& idct);
0044
0045 IdealCastorTrapezoid(const GlobalPoint& faceCenter, CornersMgr* mgr, const CCGFloat* parm);
0046
0047 ~IdealCastorTrapezoid() override;
0048
0049 CCGFloat dxl() const;
0050 CCGFloat dxh() const;
0051 CCGFloat dx() const;
0052 CCGFloat dh() const;
0053 CCGFloat dy() const;
0054 CCGFloat dz() const;
0055 CCGFloat dhz() const;
0056 CCGFloat dzb() const;
0057 CCGFloat dzs() const;
0058 CCGFloat an() const;
0059 CCGFloat dR() const;
0060
0061 using CaloCellGeometry::vocalCorners;
0062 void vocalCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref) const override;
0063
0064 static void localCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref);
0065
0066 private:
0067 void initCorners(CornersVec&) override;
0068 };
0069
0070 std::ostream& operator<<(std::ostream& s, const IdealCastorTrapezoid& cell);
0071
0072 #endif