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 addGEMGeometry( void );
38  void addPixelBarrelGeometry( void );
39  void addPixelForwardGeometry( void );
40  void addTIBGeometry( void );
41  void addTOBGeometry( void );
42  void addTIDGeometry( void );
43  void addTECGeometry( void );
44  void addCaloGeometry( void );
45 
46  unsigned int insert_id( unsigned int id );
47  void fillPoints( unsigned int id, std::vector<GlobalPoint>::const_iterator begin, std::vector<GlobalPoint>::const_iterator end );
48  void fillShapeAndPlacement( unsigned int id, const GeomDet *det );
49 
53  boost::shared_ptr<FWRecoGeometry> m_fwGeometry;
54 
55  unsigned int m_current;
56 };
57 
58 #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:37
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:30