test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 #include "boost/shared_ptr.hpp"
8 
9 // user include files
12 
13 
14 // class EcalMappingRcd;
15 
16 
17 // #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
18 
21 // #include "Geometry/Records/interface/IdealGeometryRecord.h"
26 
27 #include <vector>
28 
29 //
30 // class decleration
31 //
32 
33 // class EcalElectronicsMappingBuilder : public edm::ESProducer, public edm::EventSetupRecordIntervalFinder {
35 {
36  public:
39 
40  typedef std::auto_ptr<EcalElectronicsMapping> ReturnType;
41 
42  // ReturnType produce(const IdealGeometryRecord&);
44 
45  void DBCallback (const EcalMappingElectronicsRcd& fRecord);
46 
47  private:
48  void FillFromDatabase(const std::vector<EcalMappingElement>& ee,
49  EcalElectronicsMapping& theMap);
50 
51 
53  // void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue&, edm::ValidityInterval & );
54  // ----------member data ---------------------------
55 };
56 
57 #endif
void DBCallback(const EcalMappingElectronicsRcd &fRecord)
ReturnType produce(const EcalMappingRcd &)
EcalElectronicsMappingBuilder(const edm::ParameterSet &)
std::auto_ptr< EcalElectronicsMapping > ReturnType
void FillFromDatabase(const std::vector< EcalMappingElement > &ee, EcalElectronicsMapping &theMap)
const EcalMappingElectronics * Mapping_