CMS 3D CMS Logo

IdealObliquePrism.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_CALOGEOMETRY_IDEALOBLIQUEPRISM_H
2 #define GEOMETRY_CALOGEOMETRY_IDEALOBLIQUEPRISM_H 1
3 
5 
29 public:
33 
34  static constexpr uint32_t k_dEta = 0; //Eta-width
35  static constexpr uint32_t k_dPhi = 1; //Phi-width
36  static constexpr uint32_t k_dZ = 2; //Signed thickness
37  static constexpr uint32_t k_Eta = 3; //Eta of the reference point
38  static constexpr uint32_t k_Z = 4; //Z of the reference point
39 
42 
44 
45  IdealObliquePrism(const GlobalPoint& faceCenter, CornersMgr* mgr, const CCGFloat* parm);
46 
47  ~IdealObliquePrism() override;
48 
49  CCGFloat dEta() const;
50  CCGFloat dPhi() const;
51  CCGFloat dz() const;
52  CCGFloat eta() const;
53  CCGFloat z() const;
54 
55  static void localCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref);
56 
57  void vocalCorners(Pt3DVec& vec, const CCGFloat* pv, Pt3D& ref) const override;
58 
59 private:
60  void initCorners(CornersVec&) override;
61 
62  static GlobalPoint etaPhiPerp(float eta, float phi, float perp);
63  static GlobalPoint etaPhiZ(float eta, float phi, float z);
64 };
65 
66 std::ostream& operator<<(std::ostream& s, const IdealObliquePrism& cell);
67 
68 #endif
CaloCellGeometry::Pt3DVec
std::vector< Pt3D > Pt3DVec
Definition: CaloCellGeometry.h:55
IdealObliquePrism::dEta
CCGFloat dEta() const
Definition: IdealObliquePrism.cc:25
CaloCellGeometry::CCGFloat
float CCGFloat
Definition: CaloCellGeometry.h:52
IdealObliquePrism::k_Eta
static constexpr uint32_t k_Eta
Definition: IdealObliquePrism.h:37
IdealObliquePrism::IdealObliquePrism
IdealObliquePrism()
Definition: IdealObliquePrism.cc:8
IdealObliquePrism::Pt3DVec
CaloCellGeometry::Pt3DVec Pt3DVec
Definition: IdealObliquePrism.h:32
IdealObliquePrism::etaPhiZ
static GlobalPoint etaPhiZ(float eta, float phi, float z)
Definition: IdealObliquePrism.cc:41
EZArrayFL< GlobalPoint >
perp
T perp() const
Magnitude of transverse component.
Definition: Basic3DVectorLD.h:133
IdealObliquePrism::dPhi
CCGFloat dPhi() const
Definition: IdealObliquePrism.cc:27
alignCSCRings.s
s
Definition: alignCSCRings.py:92
IdealObliquePrism
Definition: IdealObliquePrism.h:28
Point3DBase< float, GlobalTag >
IdealObliquePrism::z
CCGFloat z() const
Definition: IdealObliquePrism.cc:33
CaloCellGeometry::Pt3D
HepGeom::Point3D< CCGFloat > Pt3D
Definition: CaloCellGeometry.h:54
IdealObliquePrism::Pt3D
CaloCellGeometry::Pt3D Pt3D
Definition: IdealObliquePrism.h:31
IdealObliquePrism::localCorners
static void localCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref)
Definition: IdealObliquePrism.cc:45
IdealObliquePrism::k_dPhi
static constexpr uint32_t k_dPhi
Definition: IdealObliquePrism.h:35
IdealObliquePrism::eta
CCGFloat eta() const
Definition: IdealObliquePrism.cc:31
IdealObliquePrism::initCorners
void initCorners(CornersVec &) override
Definition: IdealObliquePrism.cc:89
IdealObliquePrism::~IdealObliquePrism
~IdealObliquePrism() override
Definition: IdealObliquePrism.cc:23
CaloCellGeometry
Definition: CaloCellGeometry.h:50
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
IdealObliquePrism::k_Z
static constexpr uint32_t k_Z
Definition: IdealObliquePrism.h:38
IdealObliquePrism::CCGFloat
CaloCellGeometry::CCGFloat CCGFloat
Definition: IdealObliquePrism.h:30
DDAxes::phi
CaloCellGeometry.h
IdealObliquePrism::operator=
IdealObliquePrism & operator=(const IdealObliquePrism &idop)
Definition: IdealObliquePrism.cc:12
IdealObliquePrism::k_dZ
static constexpr uint32_t k_dZ
Definition: IdealObliquePrism.h:36
IdealObliquePrism::etaPhiPerp
static GlobalPoint etaPhiPerp(float eta, float phi, float perp)
Definition: IdealObliquePrism.cc:37
IdealObliquePrism::k_dEta
static constexpr uint32_t k_dEta
Definition: IdealObliquePrism.h:34
IdealObliquePrism::vocalCorners
void vocalCorners(Pt3DVec &vec, const CCGFloat *pv, Pt3D &ref) const override
Definition: IdealObliquePrism.cc:35
EZMgrFL
Definition: EZMgrFL.h:8
operator<<
std::ostream & operator<<(std::ostream &s, const IdealObliquePrism &cell)
Definition: IdealObliquePrism.cc:134
IdealObliquePrism::dz
CCGFloat dz() const
Definition: IdealObliquePrism.cc:29