CMS 3D CMS Logo

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 FastTimeGeometry;
20 class FWRecoGeometry;
22 class GeomDet;
23 
25 {
26 public:
28  ~FWRecoGeometryESProducer( void ) override;
29 
30  std::shared_ptr<FWRecoGeometry> produce( const FWRecoGeometryRecord& );
31 
32 private:
34  const FWRecoGeometryESProducer& operator=( const FWRecoGeometryESProducer& ) = delete;
35 
36  void addCSCGeometry( void );
37  void addDTGeometry( void );
38  void addRPCGeometry( void );
39  void addGEMGeometry( void );
40  void addME0Geometry( void );
41  void addPixelBarrelGeometry( void );
42  void addPixelForwardGeometry( void );
43  void addTIBGeometry( void );
44  void addTOBGeometry( void );
45  void addTIDGeometry( void );
46  void addTECGeometry( void );
47  void addCaloGeometry( void );
48 
49  void addFTLGeometry( void );
50 
51 
52 
53  void ADD_PIXEL_TOPOLOGY( unsigned int rawid, const GeomDet* detUnit );
54 
55 
56  unsigned int insert_id( unsigned int id );
57  void fillPoints( unsigned int id, std::vector<GlobalPoint>::const_iterator begin, std::vector<GlobalPoint>::const_iterator end );
58  void fillShapeAndPlacement( unsigned int id, const GeomDet *det );
59  void writeTrackerParametersXML();
60 
64  std::vector<edm::ESHandle<HGCalGeometry> > m_hgcalGeoms;
66  std::shared_ptr<FWRecoGeometry> m_fwGeometry;
67 
68  unsigned int m_current;
69  bool m_tracker;
70  bool m_muon;
71  bool m_calo;
72  bool m_timing;
73 };
74 
75 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
std::shared_ptr< FWRecoGeometry > m_fwGeometry
edm::ESHandle< GlobalTrackingGeometry > m_geomRecord
const TrackerGeometry * m_trackerGeom
edm::ESHandle< FastTimeGeometry > m_ftlEndcapGeom
#define end
Definition: vmac.h:39
std::vector< edm::ESHandle< HGCalGeometry > > m_hgcalGeoms
#define begin
Definition: vmac.h:32
HLT enums.