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  class ParameterSet;
12 }
13 
14 class CaloGeometry;
15 class CaloGeometryRecord;
18 class TrackerGeometry;
20 class MTDGeometry;
22 class FWRecoGeometry;
24 class GeomDet;
25 
27 public:
29  ~FWRecoGeometryESProducer(void) override;
30 
31  std::unique_ptr<FWRecoGeometry> produce(const FWRecoGeometryRecord&);
32 
35 
36 private:
49 
51 
52  void ADD_PIXEL_TOPOLOGY(unsigned int rawid, const GeomDet* detUnit, FWRecoGeometry&);
53 
54  void ADD_MTD_TOPOLOGY(unsigned int rawid, const GeomDet* detUnit, FWRecoGeometry&);
55 
56  unsigned int insert_id(unsigned int id, FWRecoGeometry&);
57  void fillPoints(unsigned int id,
58  std::vector<GlobalPoint>::const_iterator begin,
59  std::vector<GlobalPoint>::const_iterator end,
61  void fillShapeAndPlacement(unsigned int id, const GeomDet* det, FWRecoGeometry&);
63 
68  const MTDGeometry* m_mtdGeom = nullptr;
69  const CaloGeometry* m_caloGeom = nullptr;
70  const TrackerGeometry* m_trackerGeom = nullptr;
71 
72  unsigned int m_current;
73  bool m_tracker;
74  bool m_muon;
75  bool m_gem;
76  bool m_calo;
77  bool m_timing;
78 };
79 
80 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_caloGeomToken
void fillShapeAndPlacement(unsigned int id, const GeomDet *det, FWRecoGeometry &)
void addTOBGeometry(FWRecoGeometry &)
FWRecoGeometryESProducer(const edm::ParameterSet &)
void addTIBGeometry(FWRecoGeometry &)
const GlobalTrackingGeometry * m_trackingGeom
void addMTDGeometry(FWRecoGeometry &)
void addRPCGeometry(FWRecoGeometry &)
void ADD_MTD_TOPOLOGY(unsigned int rawid, const GeomDet *detUnit, FWRecoGeometry &)
const TrackerGeometry * m_trackerGeom
std::unique_ptr< FWRecoGeometry > produce(const FWRecoGeometryRecord &)
void fillPoints(unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end, FWRecoGeometry &)
void addCaloGeometry(FWRecoGeometry &)
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > m_trackingGeomToken
void addPixelForwardGeometry(FWRecoGeometry &)
void writeTrackerParametersXML(FWRecoGeometry &)
void ADD_PIXEL_TOPOLOGY(unsigned int rawid, const GeomDet *detUnit, FWRecoGeometry &)
void addCSCGeometry(FWRecoGeometry &)
void addTECGeometry(FWRecoGeometry &)
const FWRecoGeometryESProducer & operator=(const FWRecoGeometryESProducer &)=delete
HLT enums.
void addGEMGeometry(FWRecoGeometry &)
void addTIDGeometry(FWRecoGeometry &)
void addPixelBarrelGeometry(FWRecoGeometry &)
unsigned int insert_id(unsigned int id, FWRecoGeometry &)
void addDTGeometry(FWRecoGeometry &)
void addME0Geometry(FWRecoGeometry &)
edm::ESGetToken< MTDGeometry, MTDDigiGeometryRecord > m_mtdGeomToken