#include <SiStripConnectivity.h>
Public Member Functions | |
std::auto_ptr< SiStripDetCabling > | produceDetCabling (const SiStripDetCablingRcd &) |
std::auto_ptr< SiStripFecCabling > | produceFecCabling (const SiStripFecCablingRcd &) |
SiStripConnectivity (const edm::ParameterSet &) | |
virtual | ~SiStripConnectivity () |
Definition at line 11 of file SiStripConnectivity.h.
SiStripConnectivity::SiStripConnectivity | ( | const edm::ParameterSet & | p | ) |
Definition at line 6 of file SiStripConnectivity.cc.
References produceDetCabling(), produceFecCabling(), and edm::ESProducer::setWhatProduced().
{ //the following lines are needed to tell the framework what data is being produced setWhatProduced(this, &SiStripConnectivity::produceFecCabling); setWhatProduced(this, &SiStripConnectivity::produceDetCabling); }
SiStripConnectivity::~SiStripConnectivity | ( | ) | [virtual] |
Definition at line 12 of file SiStripConnectivity.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
std::auto_ptr< SiStripDetCabling > SiStripConnectivity::produceDetCabling | ( | const SiStripDetCablingRcd & | iRecord | ) |
Definition at line 27 of file SiStripConnectivity.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and edm::ESHandle< T >::product().
Referenced by SiStripConnectivity().
{ edm::ESHandle<SiStripFedCabling> pDD; iRecord.getRecord<SiStripFedCablingRcd>().get(pDD ); //here build an object of type SiStripDetCabling using **ONLY** the information from class SiStripFedCabling, SiStripDetCabling * DetConnections = new SiStripDetCabling( *(pDD.product())); return std::auto_ptr<SiStripDetCabling>( DetConnections ); }
std::auto_ptr< SiStripFecCabling > SiStripConnectivity::produceFecCabling | ( | const SiStripFecCablingRcd & | iRecord | ) |
Definition at line 19 of file SiStripConnectivity.cc.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), and edm::ESHandle< T >::product().
Referenced by SiStripConnectivity().
{ edm::ESHandle<SiStripFedCabling> pDD; iRecord.getRecord<SiStripFedCablingRcd>().get(pDD ); //here build an object of type SiStripFecCabling using **ONLY** the information from class SiStripFedCabling, SiStripFecCabling * FecConnections = new SiStripFecCabling( *(pDD.product())); return std::auto_ptr<SiStripFecCabling>( FecConnections ); }