CMS 3D CMS Logo

TrackerParametersESModule.cc
Go to the documentation of this file.
12 
14 {
15  edm::LogInfo("TRACKER") << "TrackerParametersESModule::TrackerParametersESModule";
16 
17  setWhatProduced(this);
18 }
19 
21 {
22 }
23 
24 void
26 {
28  descriptions.add( "trackerParameters", desc );
29 }
30 
33 {
34  edm::LogInfo("TrackerParametersESModule") << "TrackerParametersESModule::produce(const PTrackerParametersRcd& iRecord)" << std::endl;
36  iRecord.getRecord<IdealGeometryRecord>().get( cpv );
37 
40  builder.build( &(*cpv), *ptp );
41 
42  return ReturnType( ptp ) ;
43 }
44 
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static void fillDescriptions(edm::ConfigurationDescriptions &)
TrackerParametersESModule(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition: ModuleFactory.h:60
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool build(const DDCompactView *, PTrackerParameters &)
ReturnType produce(const PTrackerParametersRcd &)
std::shared_ptr< PTrackerParameters > ReturnType