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 
6 //#include "CondFormats/AlignmentRecord/interface/CaloTowerAlignmentRcd.h"
8 
18 {
19  public:
20 
25 
27 
28  enum { k_NumberOfShapes = 41 } ;
29 
31 
32  static std::string dbString() { return "PCaloTowerRcd" ; }
33 
34  virtual unsigned int numberOfShapes() const { return k_NumberOfShapes ; }
35  virtual unsigned int numberOfParametersPerShape() const { return k_NumberOfParametersPerShape ; }
36 
37 
39  virtual ~CaloTowerGeometry();
40 
41  static std::string producerTag() { return "TOWER" ; }
42 
43  static unsigned int numberOfAlignments() { return 0 ; }
44 
45  static unsigned int alignmentTransformIndexLocal( const DetId& id ) ;
46 
47  static unsigned int alignmentTransformIndexGlobal( const DetId& id ) ;
48 
49  static std::vector<HepGeom::Point3D<double> > localCorners( const double* pv,
50  unsigned int i,
51  HepGeom::Point3D<double> & ref ) ;
52 
53  static CaloCellGeometry* newCell( const GlobalPoint& f1 ,
54  const GlobalPoint& f2 ,
55  const GlobalPoint& f3 ,
57  const double* parm,
58  const DetId& detId ) ;
59 
60 };
61 
62 #endif
int i
Definition: DBlmapReader.cc:9
CaloTowerDetId DetIdType
CaloTowerGeometryRecord AlignedRecord
CaloTowerAlignmentRcd AlignmentRecord
static std::vector< HepGeom::Point3D< double > > localCorners(const double *pv, unsigned int i, HepGeom::Point3D< double > &ref)
static unsigned int alignmentTransformIndexLocal(const DetId &id)
static CaloCellGeometry * newCell(const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId)
static std::string producerTag()
virtual unsigned int numberOfParametersPerShape() const
static std::string dbString()
static unsigned int alignmentTransformIndexGlobal(const DetId &id)
Definition: DetId.h:20
Definition: EZMgrFL.h:8
virtual unsigned int numberOfShapes() const
virtual ~CaloTowerGeometry()
PCaloTowerRcd PGeometryRecord
static unsigned int numberOfAlignments()