test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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")
35  std::cout << "TrackerParametersESModule::produce(const PTrackerParametersRcd& iRecord)" << std::endl;
37  iRecord.getRecord<IdealGeometryRecord>().get( cpv );
38 
41  builder.build( &(*cpv), *ptp );
42 
43  return ReturnType( ptp ) ;
44 }
45 
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static void fillDescriptions(edm::ConfigurationDescriptions &)
boost::shared_ptr< PTrackerParameters > ReturnType
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 &)
tuple cout
Definition: gather_cfg.py:145
ReturnType produce(const PTrackerParametersRcd &)