CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWRecoGeometryESProducer.h
Go to the documentation of this file.
1 #ifndef GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
2 # define GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
3 
4 # include "boost/shared_ptr.hpp"
5 
9 
10 namespace edm
11 {
12  class ParameterSet;
13 }
14 
15 class CaloGeometry;
17 class TrackerGeometry;
18 class FWRecoGeometry;
20 class GeomDet;
21 
23 {
24 public:
26  virtual ~FWRecoGeometryESProducer( void );
27 
28  boost::shared_ptr<FWRecoGeometry> produce( const FWRecoGeometryRecord& );
29 
30 private:
33 
34  void addCSCGeometry( void );
35  void addDTGeometry( void );
36  void addRPCGeometry( void );
37  void addPixelBarrelGeometry( void );
38  void addPixelForwardGeometry( void );
39  void addTIBGeometry( void );
40  void addTOBGeometry( void );
41  void addTIDGeometry( void );
42  void addTECGeometry( void );
43  void addCaloGeometry( void );
44 
45  unsigned int insert_id( unsigned int id );
46  void fillPoints( unsigned int id, std::vector<GlobalPoint>::const_iterator begin, std::vector<GlobalPoint>::const_iterator end );
47  void fillShapeAndPlacement( unsigned int id, const GeomDet *det );
48 
52  boost::shared_ptr<FWRecoGeometry> m_fwGeometry;
53 
54  unsigned int m_current;
55 };
56 
57 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
FWRecoGeometryESProducer(const edm::ParameterSet &)
edm::ESHandle< GlobalTrackingGeometry > m_geomRecord
const TrackerGeometry * m_trackerGeom
boost::shared_ptr< FWRecoGeometry > m_fwGeometry
void fillShapeAndPlacement(unsigned int id, const GeomDet *det)
boost::shared_ptr< FWRecoGeometry > produce(const FWRecoGeometryRecord &)
#define end
Definition: vmac.h:38
unsigned int insert_id(unsigned int id)
void fillPoints(unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end)
const FWRecoGeometryESProducer & operator=(const FWRecoGeometryESProducer &)
edm::ESHandle< CaloGeometry > m_caloGeom
#define begin
Definition: vmac.h:31