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 FWRecoGeometry;
22 class GeomDet;
23 
25 public:
27  ~FWRecoGeometryESProducer(void) override;
28 
29  std::unique_ptr<FWRecoGeometry> produce(const FWRecoGeometryRecord&);
30 
33 
34 private:
47 
49 
50  void ADD_PIXEL_TOPOLOGY(unsigned int rawid, const GeomDet* detUnit, FWRecoGeometry&);
51 
52  unsigned int insert_id(unsigned int id, FWRecoGeometry&);
53  void fillPoints(unsigned int id,
54  std::vector<GlobalPoint>::const_iterator begin,
55  std::vector<GlobalPoint>::const_iterator end,
57  void fillShapeAndPlacement(unsigned int id, const GeomDet* det, FWRecoGeometry&);
59 
63  const CaloGeometry* m_caloGeom = nullptr;
64  const TrackerGeometry* m_trackerGeom = nullptr;
65 
66  unsigned int m_current;
67  bool m_tracker;
68  bool m_muon;
69  bool m_gem;
70  bool m_calo;
71  bool m_timing;
72 };
73 
74 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_caloGeomToken
void fillShapeAndPlacement(unsigned int id, const GeomDet *det, FWRecoGeometry &)
void addFTLGeometry(FWRecoGeometry &)
void addTOBGeometry(FWRecoGeometry &)
FWRecoGeometryESProducer(const edm::ParameterSet &)
void addTIBGeometry(FWRecoGeometry &)
const GlobalTrackingGeometry * m_trackingGeom
void addRPCGeometry(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 &)