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:424
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:40
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:558
FWRecoGeometryESProducer::addFTLGeometry
void addFTLGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:520
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:119
GlobalTrackingGeometryRecord
Definition: GlobalTrackingGeometryRecord.h:17
ESGetToken.h
end
#define end
Definition: vmac.h:39
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:535
FWRecoGeometryESProducer::addTIDGeometry
void addTIDGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:442
GlobalTrackingGeometry
Definition: GlobalTrackingGeometry.h:20
FWRecoGeometryESProducer::addTIBGeometry
void addTIBGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:406
FWRecoGeometryESProducer::addRPCGeometry
void addRPCGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:248
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:117
FWRecoGeometryESProducer
Definition: FWRecoGeometryESProducer.h:25
FWRecoGeometryESProducer::addME0Geometry
void addME0Geometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:337
FWRecoGeometryESProducer::addCSCGeometry
void addCSCGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:164
FWRecoGeometryESProducer::addGEMGeometry
void addGEMGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:277
edm::ParameterSet
Definition: ParameterSet.h:36
FastTimeGeometry
Definition: FastTimeGeometry.h:24
FWRecoGeometryESProducer::addPixelForwardGeometry
void addPixelForwardGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:388
ParameterSet
Definition: Functions.h:16
FWRecoGeometryESProducer::FWRecoGeometryESProducer
FWRecoGeometryESProducer(const edm::ParameterSet &)
Definition: FWRecoGeometryESProducer.cc:99
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >
FWRecoGeometryESProducer::addDTGeometry
void addDTGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:204
FWRecoGeometryESProducer::addCaloGeometry
void addCaloGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:478
FWRecoGeometryESProducer::addTECGeometry
void addTECGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:460
FWRecoGeometryESProducer::writeTrackerParametersXML
void writeTrackerParametersXML(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:601
FWRecoGeometryESProducer::m_trackingGeom
const GlobalTrackingGeometry * m_trackingGeom
Definition: FWRecoGeometryESProducer.h:65
FWRecoGeometryESProducer::addPixelBarrelGeometry
void addPixelBarrelGeometry(FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:370
FWRecoGeometryESProducer::m_ftlBarrelGeom
const FastTimeGeometry * m_ftlBarrelGeom
Definition: FWRecoGeometryESProducer.h:67
edm::ESProducer
Definition: ESProducer.h:101
FWRecoGeometryESProducer::fillPoints
void fillPoints(unsigned int id, std::vector< GlobalPoint >::const_iterator begin, std::vector< GlobalPoint >::const_iterator end, FWRecoGeometry &)
Definition: FWRecoGeometryESProducer.cc:543
FWRecoGeometryESProducer::m_ftlEndcapGeom
const FastTimeGeometry * m_ftlEndcapGeom
Definition: FWRecoGeometryESProducer.h:68
FWRecoGeometry
Definition: FWRecoGeometry.h:8
GlobalPoint.h
begin
#define begin
Definition: vmac.h:32
IdealGeometryRecord
Definition: IdealGeometryRecord.h:27
FWRecoGeometryESProducer::m_muon
bool m_muon
Definition: FWRecoGeometryESProducer.h:73
TrackerGeometry
Definition: TrackerGeometry.h:14