74 :
m_modulesToExclude(iConfig.getUntrackedParameter<std::vector<std::string>>(
"modulesToExclude")),
77 m_padding(iConfig.getUntrackedParameter<
unsigned int>(
"padding")),
83 iReg.watchPreModuleConstruction([
this](ModuleDescription
const& iMod) {
85 if (iMod.moduleLabel() ==
name) {
91 iReg.watchPreModuleDestruction([
this](ModuleDescription
const& iMod) {
97 iReg.watchPreModuleEvent([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
102 iReg.watchPostModuleEvent([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
108 iReg.watchPreModuleEventDelayedGet([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
115 iReg.watchPostModuleEventDelayedGet([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
125 iReg.watchPreModuleEvent([
this](StreamContext
const&, ModuleCallingContext
const&) {
start(); });
126 iReg.watchPostModuleEvent([
this](StreamContext
const&, ModuleCallingContext
const&) {
stop(); });
128 iReg.watchPreModuleEventDelayedGet([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
133 iReg.watchPostModuleEventDelayedGet([
this](StreamContext
const&, ModuleCallingContext
const& iContext) {
139 iReg.watchPreModuleGlobalBeginRun([
this](GlobalContext
const&, ModuleCallingContext
const&) {
147 iReg.watchPostModuleGlobalBeginRun([
this](GlobalContext
const&, ModuleCallingContext
const&) {
stop(); });
159 iReg.watchPreSourceEvent([
this](StreamID) {
169 iReg.watchPostSourceEvent([
this](StreamID) {
stop(); });
const bool m_trackGlobalBeginRun
bool trackModule(ModuleCallingContext const &iContext) const
const unsigned int m_padding
const bool m_excludeSource
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::vector< std::string > m_modulesToExclude
std::chrono::steady_clock::time_point m_time
std::vector< unsigned int > m_excludedModuleIds
unsigned int maxNumberOfThreads() const
std::atomic< bool > m_spinLock
std::unique_ptr< std::atomic< std::chrono::steady_clock::rep >[]> m_timeSums