CMS 3D CMS Logo

EcalElectronicsMappingBuilder.h
Go to the documentation of this file.
1 
2 #ifndef Geometry_EcalMapping_EcalElectronicsMappingBuilder
3 #define Geometry_EcalMapping_EcalElectronicsMappingBuilder
4 
5 // system include files
6 #include <memory>
7 
8 // user include files
11 
12 
13 // class EcalMappingRcd;
14 
15 
16 // #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
17 
20 // #include "Geometry/Records/interface/IdealGeometryRecord.h"
25 
26 #include <vector>
27 
28 //
29 // class decleration
30 //
31 
32 // class EcalElectronicsMappingBuilder : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder {
34 {
35  public:
38 
39  typedef std::unique_ptr<EcalElectronicsMapping> ReturnType;
40 
41  // ReturnType produce(const IdealGeometryRecord&);
42  ReturnType produce(const EcalMappingRcd&);
43 
44  void DBCallback (const EcalMappingElectronicsRcd& fRecord);
45 
46  private:
47  void FillFromDatabase(const std::vector<EcalMappingElement>& ee,
48  EcalElectronicsMapping& theMap);
49 
50 
52  // void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue&, edm::ValidityInterval & );
53  // ----------member data ---------------------------
54 };
55 
56 #endif
void DBCallback(const EcalMappingElectronicsRcd &fRecord)
ReturnType produce(const EcalMappingRcd &)
EcalElectronicsMappingBuilder(const edm::ParameterSet &)
std::unique_ptr< EcalElectronicsMapping > ReturnType
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
const EcalMappingElectronics * Mapping_