18 : inputTag_(ps.getParameter<
edm::
InputTag>(
"inputTag")),
19 inputToken_(consumes<
trigger::TriggerEventWithRefs>(inputTag_)) {}
30 descriptions.
add(
"triggerSummaryAnalyzerRAW", desc);
44 <<
"TriggerSummaryAnalyzerRAW: content of TriggerEventWithRefs: " <<
inputTag_.
encode();
51 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Number of TriggerFilterObjects: " << nFO << endl;
52 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"The TriggerFilterObjects: #, tag" << endl;
53 for (
size_type iFO = 0; iFO != nFO; ++iFO) {
55 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" # of objects:";
59 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Photons: " << nPhotons;
69 const unsigned int nJets(handle->
jetSlice(iFO).second - handle->
jetSlice(iFO).first);
71 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Jets: " << nJets;
75 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Composites: " << nComposites;
79 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" BaseMETs: " << nBaseMETs;
83 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" CaloMETs: " << nCaloMETs;
87 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PixTracks: " << nPixTracks;
89 const unsigned int nL1EM(handle->
l1emSlice(iFO).second - handle->
l1emSlice(iFO).first);
91 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EM: " << nL1EM;
95 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Muon: " << nL1Muon;
99 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Jet: " << nL1Jet;
103 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EtMiss: " << nL1EtMiss;
107 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1HfRings: " << nL1HfRings;
111 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFJets: " << nPFJets;
115 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFTaus: " << nPFTaus;
119 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFMETs: " << nPFMETs;
123 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TMuon: " << nL1TMuon;
127 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEGamma: " << nL1TEGamma;
131 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TJet: " << nL1TJet;
135 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTau: " << nL1TTau;
139 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEtSum: " << nL1TEtSum;
143 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Elements in linearised collections of Refs: " << endl;
166 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Handle invalid! Check InputTag provided." << endl;
size_type basemetSize() const
size_type l1ttauSize() const
std::pair< size_type, size_type > l1jetSlice(size_type filter) const
size_type pfmetSize() const
TriggerSummaryAnalyzerRAW(const edm::ParameterSet &)
size_type pfjetSize() const
std::pair< size_type, size_type > l1ttauSlice(size_type filter) const
size_type l1tjetSize() const
std::pair< size_type, size_type > l1muonSlice(size_type filter) const
std::pair< size_type, size_type > l1tegammaSlice(size_type filter) const
size_type pixtrackSize() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::pair< size_type, size_type > l1etmissSlice(size_type filter) const
size_type electronSize() const
size_type l1emSize() const
size_type pftauSize() const
std::pair< size_type, size_type > jetSlice(size_type filter) const
const std::string & usedProcessName() const
getters - for user access
void analyze(const edm::Event &, const edm::EventSetup &) override
size_type l1muonSize() const
const edm::InputTag filterTag(size_type filterIndex) const
tag from index
~TriggerSummaryAnalyzerRAW() override
size_type compositeSize() const
size_type jetSize() const
std::pair< size_type, size_type > electronSlice(size_type filter) const
size_type l1jetSize() const
const edm::InputTag inputTag_
InputTag of TriggerEventWithRefs to analyze.
std::pair< size_type, size_type > pixtrackSlice(size_type filter) const
std::pair< size_type, size_type > l1tmuonSlice(size_type filter) const
std::pair< size_type, size_type > l1emSlice(size_type filter) const
std::pair< size_type, size_type > photonSlice(size_type filter) const
slices of objects for a specific filter: [begin,end[
size_type photonSize() const
low-level getters for data members
std::pair< size_type, size_type > muonSlice(size_type filter) const
std::pair< size_type, size_type > l1tjetSlice(size_type filter) const
std::pair< size_type, size_type > l1tetsumSlice(size_type filter) const
std::pair< size_type, size_type > compositeSlice(size_type filter) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
size_type l1hfringsSize() const
std::pair< size_type, size_type > basemetSlice(size_type filter) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
size_type l1tegammaSize() const
size_type calometSize() const
size_type size() const
number of filters
void add(std::string const &label, ParameterSetDescription const &psetDescription)
size_type muonSize() const
std::pair< size_type, size_type > calometSlice(size_type filter) const
size_type l1tetsumSize() const
size_type l1tmuonSize() const
std::pair< size_type, size_type > pfjetSlice(size_type filter) const
size_type l1etmissSize() const
std::pair< size_type, size_type > l1hfringsSlice(size_type filter) const
std::pair< size_type, size_type > pftauSlice(size_type filter) const
std::pair< size_type, size_type > pfmetSlice(size_type filter) const
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > inputToken_