18 inputTag_(ps.getParameter<
edm::InputTag>(
"inputTag")),
19 inputToken_(consumes<
trigger::TriggerEvent>(inputTag_))
31 descriptions.
add(
"triggerSummaryAnalyzerAOD", desc);
45 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"TriggerSummaryAnalyzerAOD: content of TriggerEvent: " <<
inputTag_.
encode() << endl;
52 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"Number of packed Collections: " << nC << endl;
53 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"The Collections: #, tag, 1-past-end index" << endl;
55 LogVerbatim(
"TriggerSummaryAnalyzerAOD") << iC <<
" " 60 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"Number of TriggerObjects: " << nO << endl;
61 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"The TriggerObjects: #, id, pt, eta, phi, mass" << endl;
65 LogVerbatim(
"TriggerSummaryAnalyzerAOD") << iO <<
" " << TO.
id() <<
" " << TO.
pt() <<
" " << TO.
eta() <<
" " << TO.
phi() <<
" " << TO.
mass() << endl;
68 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"Number of TriggerFilters: " << nF << endl;
69 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"The Filters: #, tag, #ids/#keys, the id/key pairs" << endl;
76 <<
" " << nI <<
"/" << nK
80 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
" " << VIDS[
i] <<
"/" << KEYS[
i];
86 LogVerbatim(
"TriggerSummaryAnalyzerAOD") <<
"Handle invalid! Check InputTag provided." << endl;
TriggerSummaryAnalyzerAOD(const edm::ParameterSet &)
trigger::size_type sizeFilters() const
trigger::size_type collectionKey(trigger::size_type index) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
const edm::EDGetTokenT< trigger::TriggerEvent > inputToken_
const Keys & filterKeys(trigger::size_type index) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~TriggerSummaryAnalyzerAOD() override
const Vids & filterIds(trigger::size_type index) const
const TriggerObjectCollection & getObjects() const
const edm::InputTag inputTag_
InputTag of TriggerEvent to analyze.
const std::string & usedProcessName() const
getters
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const edm::InputTag collectionTag(trigger::size_type index) const
std::vector< TriggerObject > TriggerObjectCollection
collection of trigger physics objects (e.g., all isolated muons)
const edm::InputTag filterTag(trigger::size_type index) const
trigger::size_type sizeObjects() const
std::vector< size_type > Keys
trigger::size_type sizeCollections() const
other
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void analyze(const edm::Event &, const edm::EventSetup &) override