File indexing completed on 2024-04-06 12:14:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #include <memory>
0021
0022
0023 #include "FWCore/Framework/interface/ESProducer.h"
0024
0025 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0026 #include "FWCore/Utilities/interface/ESGetToken.h"
0027 #include "Geometry/Records/interface/IdealGeometryRecord.h"
0028 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
0029 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
0030
0031
0032
0033
0034
0035 class EcalTBGeometryBuilder : public edm::ESProducer {
0036 public:
0037 EcalTBGeometryBuilder(const edm::ParameterSet&);
0038 ~EcalTBGeometryBuilder() override;
0039
0040 typedef std::unique_ptr<CaloGeometry> ReturnType;
0041
0042 ReturnType produce(const IdealGeometryRecord&);
0043
0044 private:
0045
0046 edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord> barrelToken_;
0047 edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord> hodoscopeToken_;
0048 };