63 <<
"TriggerSummaryAnalyzerRAW: content of TriggerEventWithRefs: " <<
inputTag_.
encode();
68 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Used Processname: " <<
handle->usedProcessName() << endl;
70 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Number of TriggerFilterObjects: " << nFO << endl;
71 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"The TriggerFilterObjects: #, tag" << endl;
72 for (
size_type iFO = 0; iFO != nFO; ++iFO) {
73 LogVerbatim(
"TriggerSummaryAnalyzerRAW") << iFO <<
" " <<
handle->filterTag(iFO).encode() << endl;
74 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" # of objects:";
76 const unsigned int nPhotons(
handle->photonSlice(iFO).second -
handle->photonSlice(iFO).first);
78 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Photons: " << nPhotons;
84 const unsigned int nMuons(
handle->muonSlice(iFO).second -
handle->muonSlice(iFO).first);
88 const unsigned int nJets(
handle->jetSlice(iFO).second -
handle->jetSlice(iFO).first);
90 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Jets: " << nJets;
92 const unsigned int nComposites(
handle->compositeSlice(iFO).second -
handle->compositeSlice(iFO).first);
94 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Composites: " << nComposites;
96 const unsigned int nBaseMETs(
handle->basemetSlice(iFO).second -
handle->basemetSlice(iFO).first);
98 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" BaseMETs: " << nBaseMETs;
100 const unsigned int nCaloMETs(
handle->calometSlice(iFO).second -
handle->calometSlice(iFO).first);
102 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" CaloMETs: " << nCaloMETs;
104 const unsigned int nPixTracks(
handle->pixtrackSlice(iFO).second -
handle->pixtrackSlice(iFO).first);
106 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PixTracks: " << nPixTracks;
108 const unsigned int nL1EM(
handle->l1emSlice(iFO).second -
handle->l1emSlice(iFO).first);
110 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EM: " << nL1EM;
112 const unsigned int nL1Muon(
handle->l1muonSlice(iFO).second -
handle->l1muonSlice(iFO).first);
114 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Muon: " << nL1Muon;
116 const unsigned int nL1Jet(
handle->l1jetSlice(iFO).second -
handle->l1jetSlice(iFO).first);
118 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Jet: " << nL1Jet;
120 const unsigned int nL1EtMiss(
handle->l1etmissSlice(iFO).second -
handle->l1etmissSlice(iFO).first);
122 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EtMiss: " << nL1EtMiss;
124 const unsigned int nL1HfRings(
handle->l1hfringsSlice(iFO).second -
handle->l1hfringsSlice(iFO).first);
126 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1HfRings: " << nL1HfRings;
128 const unsigned int nPFJets(
handle->pfjetSlice(iFO).second -
handle->pfjetSlice(iFO).first);
130 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFJets: " << nPFJets;
132 const unsigned int nPFTaus(
handle->pftauSlice(iFO).second -
handle->pftauSlice(iFO).first);
134 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFTaus: " << nPFTaus;
136 const unsigned int nPFMETs(
handle->pfmetSlice(iFO).second -
handle->pfmetSlice(iFO).first);
138 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFMETs: " << nPFMETs;
140 const unsigned int nL1TMuon(
handle->l1tmuonSlice(iFO).second -
handle->l1tmuonSlice(iFO).first);
142 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TMuon: " << nL1TMuon;
144 const unsigned int nL1TMuonShower(
handle->l1tmuonShowerSlice(iFO).second -
handle->l1tmuonShowerSlice(iFO).first);
145 if (nL1TMuonShower > 0)
146 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TMuonShower: " << nL1TMuonShower;
148 const unsigned int nL1TEGamma(
handle->l1tegammaSlice(iFO).second -
handle->l1tegammaSlice(iFO).first);
150 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEGamma: " << nL1TEGamma;
152 const unsigned int nL1TJet(
handle->l1tjetSlice(iFO).second -
handle->l1tjetSlice(iFO).first);
154 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TJet: " << nL1TJet;
156 const unsigned int nL1TTau(
handle->l1ttauSlice(iFO).second -
handle->l1ttauSlice(iFO).first);
158 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTau: " << nL1TTau;
160 const unsigned int nL1TEtSum(
handle->l1tetsumSlice(iFO).second -
handle->l1tetsumSlice(iFO).first);
162 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEtSum: " << nL1TEtSum;
165 const unsigned int nL1TTkMuon(
handle->l1ttkmuonSlice(iFO).second -
handle->l1ttkmuonSlice(iFO).first);
167 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkMuon: " << nL1TTkMuon;
169 const unsigned int nL1TTkEle(
handle->l1ttkeleSlice(iFO).second -
handle->l1ttkeleSlice(iFO).first);
171 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkEle: " << nL1TTkEle;
173 const unsigned int nL1TTkEm(
handle->l1ttkemSlice(iFO).second -
handle->l1ttkemSlice(iFO).first);
175 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkEm: " << nL1TTkEm;
177 const unsigned int nL1TPFJet(
handle->l1tpfjetSlice(iFO).second -
handle->l1tpfjetSlice(iFO).first);
179 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFJet: " << nL1TPFJet;
181 const unsigned int nL1TPFTau(
handle->l1tpftauSlice(iFO).second -
handle->l1tpftauSlice(iFO).first);
183 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFTau: " << nL1TPFTau;
185 const unsigned int nL1THPSPFTau(
handle->l1thpspftauSlice(iFO).second -
handle->l1thpspftauSlice(iFO).first);
186 if (nL1THPSPFTau > 0)
187 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1THPSPFTau: " << nL1THPSPFTau;
189 const unsigned int nL1TPFTrack(
handle->l1tpftrackSlice(iFO).second -
handle->l1tpftrackSlice(iFO).first);
191 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFTrack: " << nL1TPFTrack;
195 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Elements in linearised collections of Refs: " << endl;
196 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Photons: " <<
handle->photonSize() << endl;
197 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Electrons: " <<
handle->electronSize() << endl;
198 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Muons: " <<
handle->muonSize() << endl;
199 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Jets: " <<
handle->jetSize() << endl;
200 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Composites: " <<
handle->compositeSize() << endl;
201 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" BaseMETs: " <<
handle->basemetSize() << endl;
202 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" CaloMETs: " <<
handle->calometSize() << endl;
203 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" Pixtracks: " <<
handle->pixtrackSize() << endl;
204 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EM: " <<
handle->l1emSize() << endl;
205 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Muon: " <<
handle->l1muonSize() << endl;
206 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1Jet: " <<
handle->l1jetSize() << endl;
207 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1EtMiss: " <<
handle->l1etmissSize() << endl;
208 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1HfRings: " <<
handle->l1hfringsSize() << endl;
209 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFJets: " <<
handle->pfjetSize() << endl;
210 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFTaus: " <<
handle->pftauSize() << endl;
211 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" PFMETs: " <<
handle->pfmetSize() << endl;
212 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TMuon: " <<
handle->l1tmuonSize() << endl;
213 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TMuonShower: " <<
handle->l1tmuonShowerSize() << endl;
214 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEGamma: " <<
handle->l1tegammaSize() << endl;
215 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TJet: " <<
handle->l1tjetSize() << endl;
216 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTau: " <<
handle->l1ttauSize() << endl;
217 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TEtSum: " <<
handle->l1tetsumSize() << endl;
219 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkMuon: " <<
handle->l1ttkmuonSize() << endl;
220 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkEle: " <<
handle->l1ttkeleSize() << endl;
221 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TTkEm: " <<
handle->l1ttkemSize() << endl;
222 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFJet: " <<
handle->l1tpfjetSize() << endl;
223 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFTau: " <<
handle->l1tpftauSize() << endl;
224 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1THPSPFTau: " <<
handle->l1thpspftauSize() << endl;
225 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
" L1TPFTrack: " <<
handle->l1tpftrackSize() << endl;
228 LogVerbatim(
"TriggerSummaryAnalyzerRAW") <<
"Handle invalid! Check InputTag provided." << endl;
Log< level::Info, true > LogVerbatim
const edm::InputTag inputTag_
InputTag of TriggerEventWithRefs to analyze.
const edm::EDGetTokenT< trigger::TriggerEventWithRefs > inputToken_