Private Member Functions | |
void | runOnOtherThread () |
void | shutdownThread () |
Private Attributes | |
std::condition_variable | m_condVar |
bool | m_continueProcessing = false |
bool | m_eventWorkDone = false |
std::exception_ptr | m_except |
bool | m_managerThreadReady = false |
edm::ModuleCallingContext const * | m_moduleCallingContext = nullptr |
std::mutex | m_mutex |
edm::ServiceToken * | m_serviceToken = nullptr |
edm::StreamID | m_streamID |
std::unique_ptr< std::thread > | m_thread |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 21 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
edmtest::TestServicesOnNonFrameworkThreadsAnalyzer::TestServicesOnNonFrameworkThreadsAnalyzer | ( | edm::ParameterSet const & | ) |
Definition at line 46 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
References m_continueProcessing, m_managerThreadReady, m_mutex, m_thread, and runOnOtherThread().
|
override |
Definition at line 55 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
References m_thread, and shutdownThread().
|
finalvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 61 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
References iEvent, edm::ServiceRegistry::instance(), m_condVar, m_eventWorkDone, m_except, m_managerThreadReady, m_moduleCallingContext, m_mutex, m_serviceToken, m_streamID, edm::ServiceRegistry::presentToken(), and unpackBuffers-CaloStage2::token.
|
private |
Definition at line 82 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
References edm::RandomNumberGenerator::getEngine(), m_condVar, m_continueProcessing, m_eventWorkDone, m_except, m_managerThreadReady, m_moduleCallingContext, m_mutex, m_serviceToken, m_streamID, edm_modernize_messagelogger::ml, and edm::ModuleCallingContext::parent().
Referenced by TestServicesOnNonFrameworkThreadsAnalyzer().
|
private |
Definition at line 110 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
References m_condVar, m_continueProcessing, m_mutex, and m_thread.
Referenced by ~TestServicesOnNonFrameworkThreadsAnalyzer().
|
private |
Definition at line 33 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), runOnOtherThread(), and shutdownThread().
|
private |
Definition at line 36 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by runOnOtherThread(), shutdownThread(), and TestServicesOnNonFrameworkThreadsAnalyzer().
|
private |
Definition at line 37 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), and runOnOtherThread().
|
private |
Definition at line 43 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), and runOnOtherThread().
|
private |
Definition at line 35 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), runOnOtherThread(), and TestServicesOnNonFrameworkThreadsAnalyzer().
|
private |
Definition at line 40 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), and runOnOtherThread().
|
private |
Definition at line 32 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), runOnOtherThread(), shutdownThread(), and TestServicesOnNonFrameworkThreadsAnalyzer().
|
private |
Definition at line 41 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), and runOnOtherThread().
|
private |
Definition at line 42 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by analyze(), and runOnOtherThread().
|
private |
Definition at line 31 of file TestServicesOnNonFrameworkThreadsAnalyzer.cc.
Referenced by shutdownThread(), TestServicesOnNonFrameworkThreadsAnalyzer(), and ~TestServicesOnNonFrameworkThreadsAnalyzer().