Go to the documentation of this file.
43 return std::make_unique<AlCaIsolatedBunch::Counters>();
69 : nRun_(0), nAll_(0), nGood_(0) {
95 <<
iEvent.luminosityBlock() <<
" Bunch " <<
iEvent.bunchCrossing() << std::endl;
102 const std::vector<std::string>& triggerNames_ =
triggerNames.triggerNames();
103 for (
unsigned int iHLT = 0; iHLT <
triggerResults->size(); iHLT++) {
105 if (triggerNames_[iHLT].
find(
trigName_) != std::string::npos) {
110 << triggerNames_[iHLT] <<
" has got HLT flag " <<
hlt <<
":" <<
accept << std::endl;
126 globalCache()->nAll_ +=
nAll_;
127 globalCache()->nGood_ +=
nGood_;
152 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)
const caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple cms::cuda::AtomicPairCounter const GPUCACell *__restrict__ const uint32_t *__restrict__ const gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell *__restrict__ uint32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
#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)