43 return std::make_unique<alCaIsolatedBunchSelector::Counters>();
72 trigName_(iConfig.getParameter<
std::
string>(
"triggerName")),
73 processName_(iConfig.getParameter<
std::
string>(
"processName")),
74 theTriggerResultsLabel_(iConfig.getParameter<
edm::
InputTag>(
"triggerResultLabel")),
91 <<
iEvent.luminosityBlock() <<
" Bunch " <<
iEvent.bunchCrossing() << std::endl;
100 const std::vector<std::string>& triggerNames_ =
triggerNames.triggerNames();
101 for (
unsigned int iHLT = 0; iHLT <
triggerResults->size(); iHLT++) {
103 if (triggerNames_[iHLT].
find(
trigName_) != std::string::npos) {
108 << triggerNames_[iHLT] <<
" has got HLT flag " <<
hlt <<
":" <<
accept << std::endl;
125 globalCache()->nAll_ +=
nAll_;
126 globalCache()->nGood_ +=
nGood_;
151 descriptions.
add(
"alcaIsolatedBunchSelector",
desc);
Log< level::Info, true > LogVerbatim
const std::string processName_
~AlCaIsolatedBunchSelector() override=default
void endStream() override
bool filter(edm::Event &, edm::EventSetup const &) override
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
AlCaIsolatedBunchSelector(edm::ParameterSet const &, const alCaIsolatedBunchSelector::Counters *count)
HLTConfigProvider hltConfig_
const edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
static std::unique_ptr< alCaIsolatedBunchSelector::Counters > initializeGlobalCache(edm::ParameterSet const &iConfig)
void beginRun(edm::Run const &, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
std::atomic< unsigned int > nAll_
static std::string const triggerResults
const std::string trigName_
std::atomic< unsigned int > nGood_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
void endRun(edm::Run const &, edm::EventSetup const &) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::InputTag theTriggerResultsLabel_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void globalEndJob(const alCaIsolatedBunchSelector::Counters *counters)