Go to the documentation of this file.
44 return std::make_unique<AlCaIsolatedBunch::Counters>();
70 : nRun_(0), nAll_(0), nGood_(0) {
96 <<
iEvent.luminosityBlock() <<
" Bunch " <<
iEvent.bunchCrossing() << std::endl;
103 const std::vector<std::string>& triggerNames_ =
triggerNames.triggerNames();
104 for (
unsigned int iHLT = 0; iHLT <
triggerResults->size(); iHLT++) {
106 if (triggerNames_[iHLT].
find(
trigName_) != std::string::npos) {
111 << triggerNames_[iHLT] <<
" has got HLT flag " <<
hlt <<
":" <<
accept << std::endl;
127 globalCache()->nAll_ +=
nAll_;
128 globalCache()->nGood_ +=
nGood_;
153 descriptions.
add(
"alcaIsolatedBunchSelector",
desc);
void beginRun(edm::Run const &, edm::EventSetup const &) override
void endRun(edm::Run const &, edm::EventSetup const &) override
void endStream() override
edm::InputTag theTriggerResultsLabel_
edm::EDGetTokenT< edm::TriggerResults > tok_trigRes_
static const std::string triggerResults
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)
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~AlCaIsolatedBunchSelector() override
HLTConfigProvider hltConfig_
std::atomic< unsigned int > nAll_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
AlCaIsolatedBunchSelector(edm::ParameterSet const &, const AlCaIsolatedBunch::Counters *count)
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
Log< level::Info, true > LogVerbatim
static void globalEndJob(const AlCaIsolatedBunch::Counters *counters)
T getParameter(std::string const &) const
bool filter(edm::Event &, edm::EventSetup const &) override
std::atomic< unsigned int > nGood_
static std::unique_ptr< AlCaIsolatedBunch::Counters > initializeGlobalCache(edm::ParameterSet const &iConfig)