CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloTowerGeometry.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_HCALTOWERALGO_CALOTOWERGEOMETRY_H
2 #define GEOMETRY_HCALTOWERALGO_CALOTOWERGEOMETRY_H 1
3 
8 
16 {
17  public:
18 
19  typedef std::vector<IdealObliquePrism> CellVec ;
20 
24 
29 
31 
32  enum { k_NumberOfShapes = 41 } ;
33 
35 
36  static std::string dbString() { return "PCaloTowerRcd" ; }
37 
38  virtual unsigned int numberOfShapes() const { return k_NumberOfShapes ; }
39  virtual unsigned int numberOfParametersPerShape() const { return k_NumberOfParametersPerShape ; }
40 
41 
43  virtual ~CaloTowerGeometry();
44 
45  static std::string producerTag() { return "TOWER" ; }
46 
47  static unsigned int numberOfAlignments() { return 0 ; }
48 
49  static unsigned int alignmentTransformIndexLocal( const DetId& id ) ;
50 
51  static unsigned int alignmentTransformIndexGlobal( const DetId& id ) ;
52 
53  static void localCorners( Pt3DVec& lc ,
54  const CCGFloat* pv ,
55  unsigned int i ,
56  Pt3D& ref ) ;
57 
58  virtual void newCell( const GlobalPoint& f1 ,
59  const GlobalPoint& f2 ,
60  const GlobalPoint& f3 ,
61  const CCGFloat* parm,
62  const DetId& detId ) ;
63  protected:
64 
65  virtual const CaloCellGeometry* cellGeomPtr( uint32_t index ) const ;
66 
67  private:
68 
70 };
71 
72 #endif
int i
Definition: DBlmapReader.cc:9
CaloTowerDetId DetIdType
CaloTowerGeometryRecord AlignedRecord
CaloTowerAlignmentRcd AlignmentRecord
virtual void newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId)
std::vector< Pt3D > Pt3DVec
static unsigned int alignmentTransformIndexLocal(const DetId &id)
static std::string producerTag()
virtual unsigned int numberOfParametersPerShape() const
CaloCellGeometry::CCGFloat CCGFloat
CaloCellGeometry::Pt3D Pt3D
static std::string dbString()
CaloCellGeometry::CCGFloat CCGFloat
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
CaloCellGeometry::Pt3D Pt3D
static void localCorners(Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref)
Definition: DetId.h:18
CaloCellGeometry::Pt3DVec Pt3DVec
HepGeom::Point3D< CCGFloat > Pt3D
std::vector< IdealObliquePrism > CellVec
virtual unsigned int numberOfShapes() const
virtual ~CaloTowerGeometry()
CaloCellGeometry::Pt3DVec Pt3DVec
PCaloTowerRcd PGeometryRecord
virtual const CaloCellGeometry * cellGeomPtr(uint32_t index) const
static unsigned int numberOfAlignments()