test
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 <memory>
5 
9 
10 namespace edm
11 {
12  class ParameterSet;
13 }
14 
15 class CaloGeometry;
16 class HGCalGeometry;
18 class TrackerGeometry;
19 class FWRecoGeometry;
21 class GeomDet;
22 
24 {
25 public:
27  virtual ~FWRecoGeometryESProducer( void );
28 
29  std::shared_ptr<FWRecoGeometry> produce( const FWRecoGeometryRecord& );
30 
31 private:
34 
35  void addCSCGeometry( void );
36  void addDTGeometry( void );
37  void addRPCGeometry( void );
38  void addGEMGeometry( void );
39  void addME0Geometry( void );
40  void addPixelBarrelGeometry( void );
41  void addPixelForwardGeometry( void );
42  void addTIBGeometry( void );
43  void addTOBGeometry( void );
44  void addTIDGeometry( void );
45  void addTECGeometry( void );
46  void addCaloGeometry( void );
47 
48  unsigned int insert_id( unsigned int id );
49  void fillPoints( unsigned int id, std::vector<GlobalPoint>::const_iterator begin, std::vector<GlobalPoint>::const_iterator end );
50  void fillShapeAndPlacement( unsigned int id, const GeomDet *det );
51 
54  std::vector<edm::ESHandle<HGCalGeometry> > m_hgcalGeoms;
56  std::shared_ptr<FWRecoGeometry> m_fwGeometry;
57 
58  unsigned int m_current;
59  bool m_tracker;
60  bool m_muon;
61  bool m_calo;
62 };
63 
64 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
std::shared_ptr< FWRecoGeometry > m_fwGeometry
FWRecoGeometryESProducer(const edm::ParameterSet &)
edm::ESHandle< GlobalTrackingGeometry > m_geomRecord
const TrackerGeometry * m_trackerGeom
void fillShapeAndPlacement(unsigned int id, const GeomDet *det)
#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)
std::vector< edm::ESHandle< HGCalGeometry > > m_hgcalGeoms
const FWRecoGeometryESProducer & operator=(const FWRecoGeometryESProducer &)
std::shared_ptr< FWRecoGeometry > produce(const FWRecoGeometryRecord &)
edm::ESHandle< CaloGeometry > m_caloGeom
#define begin
Definition: vmac.h:30