CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
edm::eventsetup::looper Namespace Reference

Functions

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

Function Documentation

template<class T >
void edm::eventsetup::looper::addFinderTo ( EventSetupProvider iProvider,
std::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().

63  {
64  std::shared_ptr<EventSetupRecordIntervalFinder> pFinder(iComponent);
65 
66  ComponentDescription description = pFinder->descriptionForFinder();
67  description.isSource_=true;
68  description.isLooper_=true;
69  if(description.label_ =="@main_looper") {
70  //remove the 'hidden' label so that es_prefer statements will work
71  description.label_ ="";
72  }
73  pFinder->setDescriptionForFinder(description);
74 
75  iProvider.add(pFinder);
76  }
tuple description
Definition: idDealer.py:66
template<class T >
void edm::eventsetup::looper::addFinderTo ( EventSetupProvider ,
std::shared_ptr< T ,
const void *   
)

Definition at line 78 of file LooperFactory.h.

79  {
80  //do nothing
81  }
template<class T >
void edm::eventsetup::looper::addProviderTo ( EventSetupProvider iProvider,
std::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_.

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

43  {
44  std::shared_ptr<DataProxyProvider> pProvider(iComponent);
45  ComponentDescription description = pProvider->description();
46  description.isSource_=true;
47  description.isLooper_=true;
48  if(description.label_ =="@main_looper") {
49  //remove the 'hidden' label so that es_prefer statements will work
50  description.label_ ="";
51  }
52  pProvider->setDescription(description);
53  iProvider.add(pProvider);
54  }
tuple description
Definition: idDealer.py:66
template<class T >
void edm::eventsetup::looper::addProviderTo ( EventSetupProvider ,
std::shared_ptr< T ,
const void *   
)

Definition at line 56 of file LooperFactory.h.

57  {
58  //do nothing
59  }