CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::eventsetup::SynchronousEventSetupsController Class Reference

#include <SynchronousEventSetupsController.h>

Public Member Functions

void eventSetupForInstance (IOVSyncValue const &)
 
std::shared_ptr< EventSetupProvidermakeProvider (ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr)
 
SynchronousEventSetupsController const & operator= (SynchronousEventSetupsController const &)=delete
 
SynchronousEventSetupsController const & operator= (SynchronousEventSetupsController &&)=delete
 
 SynchronousEventSetupsController ()
 
 SynchronousEventSetupsController (SynchronousEventSetupsController const &)=delete
 
 SynchronousEventSetupsController (SynchronousEventSetupsController &&)=delete
 
 ~SynchronousEventSetupsController ()
 

Private Attributes

EventSetupsController controller_
 
oneapi::tbb::global_control globalControl_
 
oneapi::tbb::task_group taskGroup_
 

Detailed Description

Description: Manages a group of EventSetups which can share components.

Usage: Useful for unit testing parts of the EventSetup system

Definition at line 30 of file SynchronousEventSetupsController.h.

Constructor & Destructor Documentation

◆ SynchronousEventSetupsController() [1/3]

edm::eventsetup::SynchronousEventSetupsController::SynchronousEventSetupsController ( )

Definition at line 25 of file SynchronousEventSetupsController.cc.

26  : globalControl_(oneapi::tbb::global_control::max_allowed_parallelism, 1) {}

◆ ~SynchronousEventSetupsController()

edm::eventsetup::SynchronousEventSetupsController::~SynchronousEventSetupsController ( )

◆ SynchronousEventSetupsController() [2/3]

edm::eventsetup::SynchronousEventSetupsController::SynchronousEventSetupsController ( SynchronousEventSetupsController const &  )
delete

◆ SynchronousEventSetupsController() [3/3]

edm::eventsetup::SynchronousEventSetupsController::SynchronousEventSetupsController ( SynchronousEventSetupsController &&  )
delete

Member Function Documentation

◆ eventSetupForInstance()

void edm::eventsetup::SynchronousEventSetupsController::eventSetupForInstance ( IOVSyncValue const &  syncValue)

Definition at line 39 of file SynchronousEventSetupsController.cc.

References controller_, edm::eventsetup::synchronousEventSetupForInstance(), and taskGroup_.

39  {
41  }
void synchronousEventSetupForInstance(IOVSyncValue const &syncValue, oneapi::tbb::task_group &iGroup, eventsetup::EventSetupsController &espController)

◆ makeProvider()

std::shared_ptr< EventSetupProvider > edm::eventsetup::SynchronousEventSetupsController::makeProvider ( ParameterSet iPSet,
ActivityRegistry activityRegistry,
ParameterSet const *  eventSetupPset = nullptr 
)

Definition at line 34 of file SynchronousEventSetupsController.cc.

References controller_, and edm::eventsetup::EventSetupsController::makeProvider().

35  {
36  return controller_.makeProvider(iPSet, activityRegistry, eventSetupPset);
37  }
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr, unsigned int maxConcurrentIOVs=0, bool dumpOptions=false)

◆ operator=() [1/2]

SynchronousEventSetupsController const& edm::eventsetup::SynchronousEventSetupsController::operator= ( SynchronousEventSetupsController const &  )
delete

◆ operator=() [2/2]

SynchronousEventSetupsController const& edm::eventsetup::SynchronousEventSetupsController::operator= ( SynchronousEventSetupsController &&  )
delete

Member Data Documentation

◆ controller_

EventSetupsController edm::eventsetup::SynchronousEventSetupsController::controller_
private

◆ globalControl_

oneapi::tbb::global_control edm::eventsetup::SynchronousEventSetupsController::globalControl_
private

Definition at line 48 of file SynchronousEventSetupsController.h.

◆ taskGroup_

oneapi::tbb::task_group edm::eventsetup::SynchronousEventSetupsController::taskGroup_
private