Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:36

0001 // -*- C++ -*-
0002 //
0003 // Package:    EcalTBGeometryBuilder
0004 // Class:      EcalTBGeometryBuilder
0005 //
0006 /**\class EcalTBGeometryBuilder EcalTBGeometryBuilder.h tmp/EcalTBGeometryBuilder/interface/EcalTBGeometryBuilder.h
0007 
0008  Description: <one line class summary>
0009 
0010  Implementation:
0011      <Notes on implementation>
0012 */
0013 //
0014 // Original Author:  Jeremiah Mans
0015 //         Created:  Mon Oct  3 11:35:27 CDT 2005
0016 //
0017 //
0018 
0019 // system include files
0020 #include <memory>
0021 
0022 // user include files
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 // class decleration
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   // ----------member data ---------------------------
0046   edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord> barrelToken_;
0047   edm::ESGetToken<CaloSubdetectorGeometry, IdealGeometryRecord> hodoscopeToken_;
0048 };