CMS 3D CMS Logo

SiStripConnectivity Class Reference

#include <CalibTracker/SiStripConnectivity/plugins/SiStripConnectivity.h>

Inheritance diagram for SiStripConnectivity:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

std::auto_ptr< SiStripDetCablingproduceDetCabling (const SiStripDetCablingRcd &)
std::auto_ptr< SiStripFecCablingproduceFecCabling (const SiStripFecCablingRcd &)
 SiStripConnectivity (const edm::ParameterSet &)
virtual ~SiStripConnectivity ()


Detailed Description

Definition at line 15 of file SiStripConnectivity.h.


Constructor & Destructor Documentation

SiStripConnectivity::SiStripConnectivity ( const edm::ParameterSet p  ) 

Definition at line 6 of file SiStripConnectivity.cc.

References produceDetCabling(), produceFecCabling(), and edm::ESProducer::setWhatProduced().

00006                                                                  {
00007   //the following lines are needed to tell the framework what data is being produced
00008   setWhatProduced(this, &SiStripConnectivity::produceFecCabling);
00009   setWhatProduced(this, &SiStripConnectivity::produceDetCabling);
00010 }

SiStripConnectivity::~SiStripConnectivity (  )  [virtual]

Definition at line 12 of file SiStripConnectivity.cc.

00012                                           {
00013    // do anything here that needs to be done at desctruction time
00014    // (e.g. close files, deallocate resources etc.)
00015 }


Member Function Documentation

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().

00027                                                                                                           {
00028   edm::ESHandle<SiStripFedCabling> pDD;
00029   iRecord.getRecord<SiStripFedCablingRcd>().get(pDD );
00030   //here build an object of type SiStripDetCabling using  **ONLY** the information from class SiStripFedCabling, 
00031   SiStripDetCabling * DetConnections = new SiStripDetCabling( *(pDD.product()));
00032   return std::auto_ptr<SiStripDetCabling>( DetConnections );
00033 }

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().

00019                                                                                                           {
00020   edm::ESHandle<SiStripFedCabling> pDD;
00021   iRecord.getRecord<SiStripFedCablingRcd>().get(pDD );
00022   //here build an object of type SiStripFecCabling using  **ONLY** the information from class SiStripFedCabling, 
00023   SiStripFecCabling * FecConnections = new SiStripFecCabling( *(pDD.product()));
00024   return std::auto_ptr<SiStripFecCabling>( FecConnections );
00025 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:15 2009 for CMSSW by  doxygen 1.5.4