CMS 3D CMS Logo

SynchronousEventSetupsController.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Framework
4 // Class : SynchronousEventSetupsController
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones, W. David Dagenhart
10 // Created: Wed Jan 12 14:30:44 CST 2011
11 //
12 
14 
17 
18 #include <algorithm>
19 #include <iostream>
20 #include <set>
21 
22 namespace edm {
23  namespace eventsetup {
24 
26  : globalControl_(oneapi::tbb::global_control::max_allowed_parallelism, 1) {}
27 
29  FinalWaitingTask finalTask{taskGroup_};
31  finalTask.waitNoThrow();
32  }
33 
34  std::shared_ptr<EventSetupProvider> SynchronousEventSetupsController::makeProvider(
35  ParameterSet& iPSet, ActivityRegistry* activityRegistry, ParameterSet const* eventSetupPset) {
36  return controller_.makeProvider(iPSet, activityRegistry, eventSetupPset);
37  }
38 
41  }
42 
43  } // namespace eventsetup
44 } // namespace edm
void synchronousEventSetupForInstance(IOVSyncValue const &syncValue, oneapi::tbb::task_group &iGroup, eventsetup::EventSetupsController &espController)
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr)
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr, unsigned int maxConcurrentIOVs=0, bool dumpOptions=false)
void endIOVsAsync(edm::WaitingTaskHolder iEndTask)
HLT enums.