1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H
#define GEOMETRY_HCALEVENTSETUP_CALOTOWERHARDCODEGEOMETRYEP_H 1
#include <memory>
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
#include "Geometry/Records/interface/CaloTowerGeometryRecord.h"
#include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
#include "Geometry/HcalTowerAlgo/interface/CaloTowerHardcodeGeometryLoader.h"
class HcalRecNumberingRecord;
class IdealGeometryRecord;
class CaloTowerHardcodeGeometryEP : public edm::ESProducer {
public:
CaloTowerHardcodeGeometryEP(const edm::ParameterSet&);
using ReturnType = std::unique_ptr<CaloSubdetectorGeometry>;
ReturnType produce(const CaloTowerGeometryRecord&);
private:
// ----------member data ---------------------------
CaloTowerHardcodeGeometryLoader loader_;
edm::ESGetToken<CaloTowerTopology, HcalRecNumberingRecord> cttopoToken_;
edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> hcaltopoToken_;
edm::ESGetToken<HcalDDDRecConstants, HcalRecNumberingRecord> consToken_;
};
#endif
|