CMS 3D CMS Logo

Functions

edm::eventsetup::looper Namespace Reference

Functions

template<class T >
void addFinderTo (EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent, const EventSetupRecordIntervalFinder *)
template<class T >
void addFinderTo (EventSetupProvider &, boost::shared_ptr< T >, const void *)
template<class T >
void addProviderTo (EventSetupProvider &iProvider, boost::shared_ptr< T > iComponent, const DataProxyProvider *)
template<class T >
void addProviderTo (EventSetupProvider &, boost::shared_ptr< T >, const void *)

Function Documentation

template<class T >
void edm::eventsetup::looper::addFinderTo ( EventSetupProvider iProvider,
boost::shared_ptr< T iComponent,
const EventSetupRecordIntervalFinder  
)

Definition at line 62 of file LooperFactory.h.

References edm::eventsetup::EventSetupProvider::add(), idDealer::description, edm::eventsetup::ComponentDescription::isLooper_, edm::eventsetup::ComponentDescription::isSource_, and edm::eventsetup::ComponentDescription::label_.

Referenced by edm::eventsetup::LooperMakerTraits::addTo().

      {
          boost::shared_ptr<EventSetupRecordIntervalFinder> pFinder(iComponent);

          ComponentDescription description = pFinder->descriptionForFinder();
          description.isSource_=true;
          description.isLooper_=true;
          if(description.label_ =="@main_looper") {
            //remove the 'hidden' label so that es_prefer statements will work
            description.label_ ="";
          }
          pFinder->setDescriptionForFinder(description);
          
          iProvider.add(pFinder);
      }
template<class T >
void edm::eventsetup::looper::addFinderTo ( EventSetupProvider ,
boost::shared_ptr< T ,
const void *   
)

Definition at line 78 of file LooperFactory.h.

      {
          //do nothing
      }
template<class T >
void edm::eventsetup::looper::addProviderTo ( EventSetupProvider iProvider,
boost::shared_ptr< T iComponent,
const DataProxyProvider  
)

Definition at line 42 of file LooperFactory.h.

References edm::eventsetup::EventSetupProvider::add(), idDealer::description, edm::eventsetup::ComponentDescription::isLooper_, edm::eventsetup::ComponentDescription::isSource_, and edm::eventsetup::ComponentDescription::label_.

      {
            boost::shared_ptr<DataProxyProvider> pProvider(iComponent);
            ComponentDescription description = pProvider->description();
            description.isSource_=true;
            description.isLooper_=true;
            if(description.label_ =="@main_looper") {
               //remove the 'hidden' label so that es_prefer statements will work
               description.label_ ="";
            }
            pProvider->setDescription(description);
            iProvider.add(pProvider);
      }
template<class T >
void edm::eventsetup::looper::addProviderTo ( EventSetupProvider ,
boost::shared_ptr< T ,
const void *   
)

Definition at line 56 of file LooperFactory.h.

      {
            //do nothing
      }