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;
19 class FastTimeGeometry;
21 class FWRecoGeometry;
23 class GeomDet;
24 
26 public:
28  ~FWRecoGeometryESProducer(void) override;
29 
30  std::unique_ptr<FWRecoGeometry> produce(const FWRecoGeometryRecord&);
31 
32 private:
35 
48 
50 
51  void ADD_PIXEL_TOPOLOGY(unsigned int rawid, const GeomDet* detUnit, FWRecoGeometry&);
52 
53  unsigned int insert_id(unsigned int id, FWRecoGeometry&);
54  void fillPoints(unsigned int id,
55  std::vector<GlobalPoint>::const_iterator begin,
56  std::vector<GlobalPoint>::const_iterator end,
58  void fillShapeAndPlacement(unsigned int id, const GeomDet* det, FWRecoGeometry&);
60 
66  const CaloGeometry* m_caloGeom = nullptr;
69  const TrackerGeometry* m_trackerGeom = nullptr;
70 
71  unsigned int m_current;
72  bool m_tracker;
73  bool m_muon;
74  bool m_calo;
75  bool m_timing;
76 };
77 
78 #endif // GEOMETRY_FWRECO_GEOMETRY_ES_PRODUCER_H
FWRecoGeometryESProducer::addTOBGeometry
void addTOBGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:425
FWRecoGeometryESProducer::m_ftlEndcapGeomToken
edm::ESGetToken< FastTimeGeometry, IdealGeometryRecord > m_ftlEndcapGeomToken
Definition: FWRecoGeometryESProducer.h:63
GeomDet
Definition: GeomDet.h:27
FWRecoGeometryESProducer::m_caloGeomToken
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_caloGeomToken
Definition: FWRecoGeometryESProducer.h:64
FWRecoGeometryRecord
Definition: FWRecoGeometryRecord.h:9
FWRecoGeometryESProducer::m_timing
bool m_timing
Definition: FWRecoGeometryESProducer.h:75
FWRecoGeometryESProducer::ADD_PIXEL_TOPOLOGY
void ADD_PIXEL_TOPOLOGY(unsigned int rawid, const GeomDet *detUnit, FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:41
FWRecoGeometryESProducer::m_current
unsigned int m_current
Definition: FWRecoGeometryESProducer.h:71
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
edm
HLT enums.
Definition: AlignableModifier.h:19
FWRecoGeometryESProducer::m_trackerGeom
const TrackerGeometry * m_trackerGeom
Definition: FWRecoGeometryESProducer.h:69
FWRecoGeometryESProducer::fillShapeAndPlacement
void fillShapeAndPlacement(unsigned int id, const GeomDet *det, FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:559
FWRecoGeometryESProducer::addFTLGeometry
void addFTLGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:521
FWRecoGeometryESProducer::m_caloGeom
const CaloGeometry * m_caloGeom
Definition: FWRecoGeometryESProducer.h:66
ESProducer.h
FWRecoGeometryESProducer::produce
std::unique_ptr< FWRecoGeometry > produce(const FWRecoGeometryRecord &)
Definition: FWRecoGeometryESProducer.cc:120
GlobalTrackingGeometryRecord
Definition: GlobalTrackingGeometryRecord.h:17
ESGetToken.h
FWRecoGeometryESProducer::m_calo
bool m_calo
Definition: FWRecoGeometryESProducer.h:74
FWRecoGeometryESProducer::m_trackingGeomToken
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > m_trackingGeomToken
Definition: FWRecoGeometryESProducer.h:61
CaloGeometry
Definition: CaloGeometry.h:21
FWRecoGeometryESProducer::m_tracker
bool m_tracker
Definition: FWRecoGeometryESProducer.h:72
FWRecoGeometryESProducer::insert_id
unsigned int insert_id(unsigned int id, FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:536
FWRecoGeometryESProducer::addTIDGeometry
void addTIDGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:443
GlobalTrackingGeometry
Definition: GlobalTrackingGeometry.h:20
mps_fire.end
end
Definition: mps_fire.py:242
FWRecoGeometryESProducer::addTIBGeometry
void addTIBGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:407
FWRecoGeometryESProducer::addRPCGeometry
void addRPCGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:249
FWRecoGeometryESProducer::operator=
const FWRecoGeometryESProducer & operator=(const FWRecoGeometryESProducer &)=delete
FWRecoGeometryESProducer::m_ftlBarrelGeomToken
edm::ESGetToken< FastTimeGeometry, IdealGeometryRecord > m_ftlBarrelGeomToken
Definition: FWRecoGeometryESProducer.h:62
FWRecoGeometryESProducer::~FWRecoGeometryESProducer
~FWRecoGeometryESProducer(void) override
Definition: FWRecoGeometryESProducer.cc:118
FWRecoGeometryESProducer
Definition: FWRecoGeometryESProducer.h:25
FWRecoGeometryESProducer::addME0Geometry
void addME0Geometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:338
FWRecoGeometryESProducer::addCSCGeometry
void addCSCGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:165
FWRecoGeometryESProducer::addGEMGeometry
void addGEMGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:278
edm::ParameterSet
Definition: ParameterSet.h:47
FastTimeGeometry
Definition: FastTimeGeometry.h:24
FWRecoGeometryESProducer::addPixelForwardGeometry
void addPixelForwardGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:389
ParameterSet
Definition: Functions.h:16
FWRecoGeometryESProducer::FWRecoGeometryESProducer
FWRecoGeometryESProducer(const edm::ParameterSet &)
Definition: FWRecoGeometryESProducer.cc:100
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >
FWRecoGeometryESProducer::addDTGeometry
void addDTGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:205
FWRecoGeometryESProducer::addCaloGeometry
void addCaloGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:479
FWRecoGeometryESProducer::addTECGeometry
void addTECGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:461
FWRecoGeometryESProducer::writeTrackerParametersXML
void writeTrackerParametersXML(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:602
FWRecoGeometryESProducer::m_trackingGeom
const GlobalTrackingGeometry * m_trackingGeom
Definition: FWRecoGeometryESProducer.h:65
FWRecoGeometryESProducer::addPixelBarrelGeometry
void addPixelBarrelGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:371
FWRecoGeometryESProducer::m_ftlBarrelGeom
const FastTimeGeometry * m_ftlBarrelGeom
Definition: FWRecoGeometryESProducer.h:67
edm::ESProducer
Definition: ESProducer.h:104
FWRecoGeometryESProducer::fillPoints
void fillPoints(unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end, FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:544
FWRecoGeometryESProducer::m_ftlEndcapGeom
const FastTimeGeometry * m_ftlEndcapGeom
Definition: FWRecoGeometryESProducer.h:68
FWRecoGeometry
Definition: FWRecoGeometry.h:8
GlobalPoint.h
IdealGeometryRecord
Definition: IdealGeometryRecord.h:25
FWRecoGeometryESProducer::m_muon
bool m_muon
Definition: FWRecoGeometryESProducer.h:73
TrackerGeometry
Definition: TrackerGeometry.h:14