CMS 3D CMS Logo

Navigators.cc
Go to the documentation of this file.
2 
4 
12 
13 class PFRecHitEcalBarrelNavigatorWithTime : public PFRecHitCaloNavigatorWithTime<EBDetId, EcalBarrelTopology> {
14 public:
16 
17  void init(const edm::EventSetup& iSetup) override {
19  iSetup.get<CaloGeometryRecord>().get(geoHandle);
20  topology_ = std::make_unique<EcalBarrelTopology>(*geoHandle);
21  }
22 };
23 
24 class PFRecHitEcalEndcapNavigatorWithTime : public PFRecHitCaloNavigatorWithTime<EEDetId, EcalEndcapTopology> {
25 public:
27 
28  void init(const edm::EventSetup& iSetup) override {
30  iSetup.get<CaloGeometryRecord>().get(geoHandle);
31  topology_ = std::make_unique<EcalEndcapTopology>(*geoHandle);
32  }
33 };
34 
35 class PFRecHitEcalBarrelNavigator final : public PFRecHitCaloNavigator<EBDetId, EcalBarrelTopology> {
36 public:
38 
39  void init(const edm::EventSetup& iSetup) override {
41  iSetup.get<CaloGeometryRecord>().get(geoHandle);
42  topology_ = std::make_unique<EcalBarrelTopology>(*geoHandle);
43  }
44 };
45 
46 class PFRecHitEcalEndcapNavigator final : public PFRecHitCaloNavigator<EEDetId, EcalEndcapTopology> {
47 public:
49 
50  void init(const edm::EventSetup& iSetup) override {
52  iSetup.get<CaloGeometryRecord>().get(geoHandle);
53  topology_ = std::make_unique<EcalEndcapTopology>(*geoHandle);
54  }
55 };
56 
57 class PFRecHitPreshowerNavigator final : public PFRecHitCaloNavigator<ESDetId, EcalPreshowerTopology> {
58 public:
60 
61  void init(const edm::EventSetup& iSetup) override { topology_ = std::make_unique<EcalPreshowerTopology>(); }
62 };
63 
64 class PFRecHitHCALDenseIdNavigator final : public PFHCALDenseIdNavigator<HcalDetId, HcalTopology, false> {
65 public:
67 };
68 
69 class PFRecHitHCALNavigator : public PFRecHitCaloNavigator<HcalDetId, HcalTopology, false> {
70 public:
72 
73  void init(const edm::EventSetup& iSetup) override {
74  edm::ESHandle<HcalTopology> hcalTopology;
75  iSetup.get<HcalRecNumberingRecord>().get(hcalTopology);
76  topology_.release();
77  topology_.reset(hcalTopology.product());
78  }
79 };
80 
81 class PFRecHitHCALNavigatorWithTime : public PFRecHitCaloNavigatorWithTime<HcalDetId, HcalTopology, false> {
82 public:
84 
85  void init(const edm::EventSetup& iSetup) override {
86  edm::ESHandle<HcalTopology> hcalTopology;
87  iSetup.get<HcalRecNumberingRecord>().get(hcalTopology);
88  topology_.release();
89  topology_.reset(hcalTopology.product());
90  }
91 };
92 
93 class PFRecHitCaloTowerNavigator : public PFRecHitCaloNavigator<CaloTowerDetId, CaloTowerTopology> {
94 public:
96 
97  void init(const edm::EventSetup& iSetup) override {
98  edm::ESHandle<CaloTowerTopology> caloTowerTopology;
99  iSetup.get<HcalRecNumberingRecord>().get(caloTowerTopology);
100  topology_.release();
101  topology_.reset(caloTowerTopology.product());
102  }
103 };
104 
110 
116 
120 
121 class PFRecHitHGCEENavigator : public PFRecHitFakeNavigator<HGCEEDetId> {
122 public:
124 
125  void init(const edm::EventSetup& iSetup) override {}
126 };
127 
128 class PFRecHitHGCHENavigator : public PFRecHitFakeNavigator<HGCHEDetId> {
129 public:
131 
132  void init(const edm::EventSetup& iSetup) override {}
133 };
134 
135 class PFRecHitHGCHexNavigator : public PFRecHitFakeNavigator<HGCalDetId> {
136 public:
138 
139  void init(const edm::EventSetup& iSetup) override {}
140 };
141 
144 
146 
151  "PFRecHitEcalBarrelNavigatorWithTime");
154  "PFRecHitEcalEndcapNavigatorWithTime");
PFRecHitEcalBarrelNavigator
Definition: Navigators.cc:35
PFRecHitEcalBarrelNavigatorWithTime::PFRecHitEcalBarrelNavigatorWithTime
PFRecHitEcalBarrelNavigatorWithTime(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:15
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
HGCEEDetId.h
HGCHEDetId.h
PFRecHitHCALNavigator
Definition: Navigators.cc:69
PFRecHitHCALDenseIdNavigator
Definition: Navigators.cc:64
PFRecHitHGCHexNavigator
Definition: Navigators.cc:135
HGCRecHitNavigator
Definition: HGCRecHitNavigator.h:17
PFRecHitEcalBarrelNavigator::PFRecHitEcalBarrelNavigator
PFRecHitEcalBarrelNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:37
PFRecHitFakeNavigator
Definition: PFRecHitFakeNavigator.h:23
PFRecHitEcalEndcapNavigatorWithTime::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:28
PFRecHitHCALNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:73
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
PFRecHitEcalEndcapNavigatorWithTime
Definition: Navigators.cc:24
PFRecHitEcalBarrelNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:39
PFRecHitHGCNavigator
HGCRecHitNavigator< HGCEE, PFRecHitHGCHexNavigator, HGCHEF, PFRecHitHGCHexNavigator, HGCHEB, PFRecHitHGCHENavigator > PFRecHitHGCNavigator
Definition: Navigators.cc:143
PFRecHitCaloNavigator.h
PFRecHitEcalEndcapNavigatorWithTime::PFRecHitEcalEndcapNavigatorWithTime
PFRecHitEcalEndcapNavigatorWithTime(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:26
PFRecHitPreshowerNavigator::PFRecHitPreshowerNavigator
PFRecHitPreshowerNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:59
PFRecHitHGCHexNavigator::PFRecHitHGCHexNavigator
PFRecHitHGCHexNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:137
PFECALHashNavigator.h
PFRecHitDualNavigator
Definition: PFRecHitDualNavigator.h:8
PFRecHitNavigatorBase.h
PFLayer::ECAL_BARREL
Definition: PFLayer.h:33
PFRecHitECALNavigator
PFRecHitDualNavigator< PFLayer::ECAL_BARREL, PFRecHitEcalBarrelNavigator, PFLayer::ECAL_ENDCAP, PFRecHitEcalEndcapNavigator > PFRecHitECALNavigator
Definition: Navigators.cc:109
PFRecHitCaloNavigatorWithTime.h
PFRecHitEcalEndcapNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:50
MakerMacros.h
HGCRecHitNavigator.h
edm::EventSetup::get
T get() const
Definition: EventSetup.h:73
PFRecHitDualNavigator.h
PFRecHitCaloNavigator
Definition: PFRecHitCaloNavigator.h:23
PFRecHitHCALNavigatorWithTime::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:85
PFRecHitEcalBarrelNavigatorWithTime
Definition: Navigators.cc:13
PFRecHitCaloTowerNavigator::PFRecHitCaloTowerNavigator
PFRecHitCaloTowerNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:95
PFRecHitHGCHexNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:139
edm::ESHandle< CaloGeometry >
PFHCALDenseIdNavigator
Definition: PFHCALDenseIdNavigator.h:25
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
EDM_REGISTER_PLUGINFACTORY
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
Definition: PluginFactory.h:89
PFRecHitCaloTowerNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:97
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
PFRecHitHGCHENavigator::PFRecHitHGCHENavigator
PFRecHitHGCHENavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:130
PFRecHitPreshowerNavigator
Definition: Navigators.cc:57
edm::ParameterSet
Definition: ParameterSet.h:36
PFRecHitHGCEENavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:125
PFRecHitHCALDenseIdNavigator::PFRecHitHCALDenseIdNavigator
PFRecHitHCALDenseIdNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:66
PFRecHitHGCHENavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:132
PFRecHitPreshowerNavigator::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:61
edmplugin::PluginFactory
Definition: PluginFactory.h:34
PFRecHitEcalEndcapNavigator::PFRecHitEcalEndcapNavigator
PFRecHitEcalEndcapNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:48
edm::EventSetup
Definition: EventSetup.h:57
get
#define get
PFRecHitHCALNavigatorWithTime::PFRecHitHCALNavigatorWithTime
PFRecHitHCALNavigatorWithTime(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:83
PFRecHitECALNavigatorWithTime
PFRecHitDualNavigator< PFLayer::ECAL_BARREL, PFRecHitEcalBarrelNavigatorWithTime, PFLayer::ECAL_ENDCAP, PFRecHitEcalEndcapNavigatorWithTime > PFRecHitECALNavigatorWithTime
Definition: Navigators.cc:115
PFRecHitCaloNavigator< EBDetId, EcalBarrelTopology >::topology_
std::unique_ptr< const EcalBarrelTopology > topology_
Definition: PFRecHitCaloNavigator.h:100
HGCalDetId.h
PFRecHitCaloTowerNavigator
Definition: Navigators.cc:93
PFRecHitHGCEENavigator::PFRecHitHGCEENavigator
PFRecHitHGCEENavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:123
PFRecHitCaloNavigatorWithTime< EBDetId, EcalBarrelTopology >::topology_
std::unique_ptr< const EcalBarrelTopology > topology_
Definition: PFRecHitCaloNavigatorWithTime.h:110
PFRecHitHCALNavigatorWithTime
Definition: Navigators.cc:81
PFRecHitHCALNavigator::PFRecHitHCALNavigator
PFRecHitHCALNavigator(const edm::ParameterSet &iConfig)
Definition: Navigators.cc:71
PFHCALDenseIdNavigator.h
PFECALHashNavigator
Definition: PFECALHashNavigator.h:19
PFRecHitHGCEENavigator
Definition: Navigators.cc:121
PFRecHitCaloNavigatorWithTime
Definition: PFRecHitCaloNavigatorWithTime.h:26
PFLayer::ECAL_ENDCAP
Definition: PFLayer.h:32
PFRecHitEcalEndcapNavigator
Definition: Navigators.cc:46
PFRecHitHGCHENavigator
Definition: Navigators.cc:128
PFRecHitFakeNavigator.h
PFRecHitEcalBarrelNavigatorWithTime::init
void init(const edm::EventSetup &iSetup) override
Definition: Navigators.cc:17