CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2TrackerCablingESProducer.cc
Go to the documentation of this file.
5 
6 // -----------------------------------------------------------------------------
7 //
10 }
11 
12 // -----------------------------------------------------------------------------
13 //
15 
16 // -----------------------------------------------------------------------------
17 //
18 std::auto_ptr<Phase2TrackerCabling> Phase2TrackerCablingESProducer::produce( const Phase2TrackerCablingRcd& rcd ) {
19 
20  Phase2TrackerCabling* temp = make( rcd );
21 
22  if ( !temp ) {
23  edm::LogWarning("Phase2TrackerCabling")
24  << "[Phase2TrackerCablingESProducer::" << __func__ << "]"
25  << " Null pointer to Phase2TrackerCabling object!";
26  }
27 
28  std::auto_ptr<Phase2TrackerCabling> ptr( temp );
29  return ptr;
30 
31 }
virtual std::auto_ptr< Phase2TrackerCabling > produce(const Phase2TrackerCablingRcd &)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
Phase2TrackerCablingESProducer(const edm::ParameterSet &)
virtual Phase2TrackerCabling * make(const Phase2TrackerCablingRcd &)=0