test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiStripFedCablingESProducer.cc
Go to the documentation of this file.
6 #include <iostream>
7 
8 using namespace sistrip;
9 
10 // -----------------------------------------------------------------------------
11 //
13  setWhatProduced( this, &SiStripFedCablingESProducer::produce );
14 }
15 
16 // -----------------------------------------------------------------------------
17 //
19 
20 // -----------------------------------------------------------------------------
21 //
22 std::auto_ptr<SiStripFedCabling> SiStripFedCablingESProducer::produce( const SiStripFedCablingRcd& rcd ) {
23 
24  SiStripFedCabling* temp = make( rcd );
25 
26  if ( !temp ) {
28  << "[SiStripFedCablingESProducer::" << __func__ << "]"
29  << " Null pointer to SiStripFedCabling object!";
30  }
31 
32  std::auto_ptr<SiStripFedCabling> ptr( temp );
33  return ptr;
34 
35 }
virtual std::auto_ptr< SiStripFedCabling > produce(const SiStripFedCablingRcd &)
S make(const edm::ParameterSet &cfg)
static const char mlCabling_[]
SiStripFedCablingESProducer(const edm::ParameterSet &)
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...