CMS 3D CMS Logo

HLTGetDigi.cc
Go to the documentation of this file.
1 
10 // system include files
11 #include <memory>
12 #include <vector>
13 #include <map>
14 
19 
20 #include "HLTGetDigi.h"
21 
22 using namespace edm;
23 using namespace std;
24 
25 //
26 // constructors and destructor
27 //
28 HLTGetDigi::HLTGetDigi(const edm::ParameterSet& ps) : l1GtParamsToken_(esConsumes()) {
29  EBdigiCollection_ = ps.getParameter<edm::InputTag>("EBdigiCollection");
30  EEdigiCollection_ = ps.getParameter<edm::InputTag>("EEdigiCollection");
31  ESdigiCollection_ = ps.getParameter<edm::InputTag>("ESdigiCollection");
32  HBHEdigiCollection_ = ps.getParameter<edm::InputTag>("HBHEdigiCollection");
33  HOdigiCollection_ = ps.getParameter<edm::InputTag>("HOdigiCollection");
34  HFdigiCollection_ = ps.getParameter<edm::InputTag>("HFdigiCollection");
35  PXLdigiCollection_ = ps.getParameter<edm::InputTag>("SiPixeldigiCollection");
36  SSTdigiCollection_ = ps.getParameter<edm::InputTag>("SiStripdigiCollection");
37  CSCStripdigiCollection_ = ps.getParameter<edm::InputTag>("CSCStripdigiCollection");
38  CSCWiredigiCollection_ = ps.getParameter<edm::InputTag>("CSCWiredigiCollection");
39  DTdigiCollection_ = ps.getParameter<edm::InputTag>("DTdigiCollection");
40  RPCdigiCollection_ = ps.getParameter<edm::InputTag>("RPCdigiCollection");
41 
42  GctCaloEmLabel_ = ps.getParameter<edm::InputTag>("L1CaloEmCollection");
43  GctCaloRegionLabel_ = ps.getParameter<edm::InputTag>("L1CaloRegionCollection");
44 
45  GctIsoEmLabel_ = ps.getParameter<edm::InputTag>("GctIsoEmCollection");
46  GctNonIsoEmLabel_ = ps.getParameter<edm::InputTag>("GctNonIsoEmCollection");
47 
48  GctCenJetLabel_ = ps.getParameter<edm::InputTag>("GctCenJetCollection");
49  GctForJetLabel_ = ps.getParameter<edm::InputTag>("GctForJetCollection");
50  GctTauJetLabel_ = ps.getParameter<edm::InputTag>("GctTauJetCollection");
51  GctJetCountsLabel_ = ps.getParameter<edm::InputTag>("GctJetCounts");
52 
53  GctEtHadLabel_ = ps.getParameter<edm::InputTag>("GctEtHadCollection");
54  GctEtMissLabel_ = ps.getParameter<edm::InputTag>("GctEtMissCollection");
55  GctEtTotalLabel_ = ps.getParameter<edm::InputTag>("GctEtTotalCollection");
56 
57  GtEvmRRLabel_ = ps.getParameter<edm::InputTag>("GtEvmReadoutRecord");
58  GtObjectMapLabel_ = ps.getParameter<edm::InputTag>("GtObjectMapRecord");
59  GtRRLabel_ = ps.getParameter<edm::InputTag>("GtReadoutRecord");
60 
61  GmtCandsLabel_ = ps.getParameter<edm::InputTag>("GmtCands");
62  GmtReadoutCollection_ = ps.getParameter<edm::InputTag>("GmtReadoutCollection");
63 
64  //--- Define which digis we want ---//
65  getEcalDigis_ = ps.getUntrackedParameter<bool>("getEcal", true);
66  getEcalESDigis_ = ps.getUntrackedParameter<bool>("getEcalES", true);
67  getHcalDigis_ = ps.getUntrackedParameter<bool>("getHcal", true);
68  getPixelDigis_ = ps.getUntrackedParameter<bool>("getPixels", true);
69  getStripDigis_ = ps.getUntrackedParameter<bool>("getStrips", true);
70  getCSCDigis_ = ps.getUntrackedParameter<bool>("getCSC", true);
71  getDTDigis_ = ps.getUntrackedParameter<bool>("getDT", true);
72  getRPCDigis_ = ps.getUntrackedParameter<bool>("getRPC", true);
73  getGctEmDigis_ = ps.getUntrackedParameter<bool>("getGctEm", true);
74  getGctJetDigis_ = ps.getUntrackedParameter<bool>("getGctJet", true);
75  getGctJetCounts_ = ps.getUntrackedParameter<bool>("getGctJetCounts", true);
76  getGctEtDigis_ = ps.getUntrackedParameter<bool>("getGctEt", true);
77  getL1Calo_ = ps.getUntrackedParameter<bool>("getL1Calo", true);
78  getGtEvmRR_ = ps.getUntrackedParameter<bool>("getGtEvmRR", true);
79  getGtObjectMap_ = ps.getUntrackedParameter<bool>("getGtObjectMap", true);
80  getGtRR_ = ps.getUntrackedParameter<bool>("getGtReadoutRecord", true);
81  getGmtCands_ = ps.getUntrackedParameter<bool>("getGmtCands", true);
82  getGmtRC_ = ps.getUntrackedParameter<bool>("getGmtReadout", true);
83 
84  //--- Declare consums ---//
85  if (getEcalDigis_) {
86  EBdigiToken_ = consumes<EBDigiCollection>(EBdigiCollection_);
87  EEdigiToken_ = consumes<EEDigiCollection>(EEdigiCollection_);
88  }
89  if (getEcalESDigis_) {
90  ESdigiToken_ = consumes<ESDigiCollection>(ESdigiCollection_);
91  }
92  if (getHcalDigis_) {
93  HBHEdigiToken_ = consumes<HBHEDigiCollection>(HBHEdigiCollection_);
94  HOdigiToken_ = consumes<HODigiCollection>(HOdigiCollection_);
95  HFdigiToken_ = consumes<HFDigiCollection>(HFdigiCollection_);
96  }
97  if (getPixelDigis_) {
98  PXLdigiToken_ = consumes<edm::DetSetVector<PixelDigi> >(PXLdigiCollection_);
99  }
100  if (getStripDigis_) {
101  SSTdigiToken_ = consumes<edm::DetSetVector<SiStripDigi> >(SSTdigiCollection_);
102  }
103  if (getCSCDigis_) {
104  CSCStripdigiToken_ = consumes<CSCStripDigiCollection>(CSCStripdigiCollection_);
105  CSCWiredigiToken_ = consumes<CSCWireDigiCollection>(CSCWiredigiCollection_);
106  }
107  if (getDTDigis_) {
108  DTdigiToken_ = consumes<DTDigiCollection>(DTdigiCollection_);
109  }
110  if (getRPCDigis_) {
111  RPCdigiToken_ = consumes<RPCDigiCollection>(RPCdigiCollection_);
112  }
113  if (getGctEmDigis_) {
114  GctIsoEmToken_ = consumes<L1GctEmCandCollection>(GctIsoEmLabel_);
115  GctNonIsoEmToken_ = consumes<L1GctEmCandCollection>(GctNonIsoEmLabel_);
116  }
117  if (getGctJetDigis_) {
118  GctCenJetToken_ = consumes<L1GctJetCandCollection>(GctCenJetLabel_);
119  GctForJetToken_ = consumes<L1GctJetCandCollection>(GctForJetLabel_);
120  GctTauJetToken_ = consumes<L1GctJetCandCollection>(GctTauJetLabel_);
121  }
122  if (getGctJetCounts_) {
123  GctJetCountsToken_ = consumes<L1GctJetCounts>(GctJetCountsLabel_);
124  }
125  if (getGctEtDigis_) {
126  GctEtHadToken_ = consumes<L1GctEtHad>(GctEtHadLabel_);
127  GctEtMissToken_ = consumes<L1GctEtMiss>(GctEtMissLabel_);
128  GctEtTotalToken_ = consumes<L1GctEtTotal>(GctEtTotalLabel_);
129  }
130  if (getL1Calo_) {
131  GctCaloEmToken_ = consumes<L1CaloEmCollection>(GctCaloEmLabel_);
132  GctCaloRegionToken_ = consumes<L1CaloRegionCollection>(GctCaloRegionLabel_);
133  }
134  if (getGtEvmRR_) {
135  GtEvmRRToken_ = consumes<L1GlobalTriggerEvmReadoutRecord>(GtEvmRRLabel_);
136  }
137  if (getGtObjectMap_) {
138  GtObjectMapToken_ = consumes<L1GlobalTriggerObjectMapRecord>(GtObjectMapLabel_);
139  }
140  if (getGtRR_) {
141  GtRRToken_ = consumes<L1GlobalTriggerReadoutRecord>(GtRRLabel_);
142  }
143  if (getGmtCands_) {
144  GmtCandsToken_ = consumes<std::vector<L1MuGMTCand> >(GmtCandsLabel_);
145  }
146  if (getGmtRC_) {
147  GmtReadoutToken_ = consumes<L1MuGMTReadoutCollection>(GmtReadoutCollection_);
148  }
149 }
150 
151 HLTGetDigi::~HLTGetDigi() = default;
152 
155  desc.add<edm::InputTag>("EEdigiCollection", edm::InputTag("ecalDigis", "eeDigis"));
156  desc.add<edm::InputTag>("HBHEdigiCollection", edm::InputTag("hcalDigis"));
157  desc.add<edm::InputTag>("GctIsoEmCollection", edm::InputTag("gctDigis", "isoEm"));
158  desc.add<edm::InputTag>("ESdigiCollection", edm::InputTag("ecalPreshowerDigis"));
159  desc.add<edm::InputTag>("GctEtHadCollection", edm::InputTag("gctDigis"));
160  desc.add<edm::InputTag>("CSCStripdigiCollection", edm::InputTag("muonCSCDigis", "MuonCSCStripDigi"));
161  desc.add<edm::InputTag>("GmtCands", edm::InputTag("gmtDigis"));
162  desc.add<edm::InputTag>("GctEtTotalCollection", edm::InputTag("gctDigis"));
163  desc.add<edm::InputTag>("SiStripdigiCollection", edm::InputTag("siStripDigis"));
164  desc.add<edm::InputTag>("GctJetCounts", edm::InputTag("gctDigis"));
165  desc.add<edm::InputTag>("DTdigiCollection", edm::InputTag("muonDTDigis"));
166  desc.add<edm::InputTag>("GctTauJetCollection ", edm::InputTag("gctDigis", "tauJets"));
167  desc.add<edm::InputTag>("L1CaloRegionCollection", edm::InputTag("rctDigis"));
168  desc.add<edm::InputTag>("GtObjectMapRecord", edm::InputTag("gtDigis"));
169  desc.add<edm::InputTag>("GmtReadoutCollection", edm::InputTag("gmtDigis"));
170  desc.add<edm::InputTag>("HOdigiCollection", edm::InputTag("hcalDigis"));
171  desc.add<edm::InputTag>("RPCdigiCollection", edm::InputTag("muonRPCDigis"));
172  desc.add<edm::InputTag>("CSCWiredigiCollection", edm::InputTag("muonCSCDigis", "MuonCSCWireDigi"));
173  desc.add<edm::InputTag>("GctForJetCollection", edm::InputTag("gctDigis", "tauJets"));
174  desc.add<edm::InputTag>("HFdigiCollection", edm::InputTag("hcalDigis"));
175  desc.add<edm::InputTag>("SiPixeldigiCollection", edm::InputTag("siPixelDigis"));
176  desc.add<edm::InputTag>("GctNonIsoEmCollection", edm::InputTag("gctDigis", "nonIsoEm"));
177  desc.add<edm::InputTag>("GtEvmReadoutRecord", edm::InputTag("gtDigis"));
178  desc.add<edm::InputTag>("L1CaloEmCollection", edm::InputTag("rctDigis"));
179  desc.add<edm::InputTag>("GctCenJetCollection", edm::InputTag("gctDigis", "cenJets"));
180  desc.add<edm::InputTag>("GtReadoutRecord", edm::InputTag("gtDigis"));
181  desc.add<edm::InputTag>("GctEtMissCollection", edm::InputTag("gctDigis"));
182  desc.add<edm::InputTag>("EBdigiCollection", edm::InputTag("ecalDigis", "ebDigis"));
183  desc.addUntracked<bool>("getGctEt", true);
184  desc.addUntracked<bool>("getGtReadoutRecord", true);
185  desc.addUntracked<bool>("getGtEvmRR", true);
186  desc.addUntracked<bool>("getGctEm", true);
187  desc.addUntracked<bool>("getPixels", true);
188  desc.addUntracked<bool>("getGctJet", true);
189  desc.addUntracked<bool>("getHcal", true);
190  desc.addUntracked<bool>("getGctJetCounts", true);
191  desc.addUntracked<bool>("getL1Calo", false);
192  desc.addUntracked<bool>("getStrips", true);
193  desc.addUntracked<bool>("getDT", true);
194  desc.addUntracked<bool>("getGtObjectMap", true);
195  desc.addUntracked<bool>("getGmtCands", true);
196  desc.addUntracked<bool>("getRPC", true);
197  desc.addUntracked<bool>("getEcal", true);
198  desc.addUntracked<bool>("getGmtReadout", true);
199  desc.addUntracked<bool>("getEcalES", true);
200  desc.addUntracked<bool>("getCSC", true);
201  descriptions.add("hltGetDigi", desc);
202 }
203 
204 //
205 // member functions
206 //
207 
208 // ------------ method called to produce the data ------------
210  using namespace edm;
211 
212  //--- L1 GCT and GT Digis ---//
213  edm::Handle<L1GctEtHad> GctEtHad;
214  edm::Handle<L1GctEtMiss> GctEtMiss;
215  edm::Handle<L1GctEtTotal> GctEtTotal;
216 
217  const L1GctEtHad* etHad = nullptr;
218  const L1GctEtMiss* etMiss = nullptr;
219  const L1GctEtTotal* etTotal = nullptr;
220 
221  if (getGctEtDigis_) {
222  iEvent.getByToken(GctEtHadToken_, GctEtHad);
223  iEvent.getByToken(GctEtMissToken_, GctEtMiss);
224  iEvent.getByToken(GctEtTotalToken_, GctEtTotal);
225  etHad = GctEtHad.product();
226  etMiss = GctEtMiss.product();
227  etTotal = GctEtTotal.product();
228 
229  LogDebug("DigiInfo") << "Value of L1GctEtHad::et(): " << etHad->et();
230  LogDebug("DigiInfo") << "Value of L1GctEtMiss::et(): " << etMiss->et() << ", phi(): " << etMiss->phi();
231  LogDebug("DigiInfo") << "Value of L1GctEtTotal::et(): " << etTotal->et();
232  }
233 
236 
237  const L1GctEmCandCollection* isoEMdigis = nullptr;
238  const L1GctEmCandCollection* nonIsoEMdigis = nullptr;
239  if (getGctEmDigis_) {
240  iEvent.getByToken(GctIsoEmToken_, GctIsoEM);
241  isoEMdigis = GctIsoEM.product();
242  iEvent.getByToken(GctNonIsoEmToken_, GctNonIsoEM);
243  nonIsoEMdigis = GctNonIsoEM.product();
244  LogDebug("DigiInfo") << "total # Gct Iso EM digis: " << isoEMdigis->size();
245  LogDebug("DigiInfo") << "total # Gct non-Iso EM digis: " << nonIsoEMdigis->size();
246  }
247 
252 
253  const L1GctJetCandCollection* cenJetDigis = nullptr;
254  const L1GctJetCandCollection* forJetDigis = nullptr;
255  const L1GctJetCandCollection* tauJetDigis = nullptr;
256  std::unique_ptr<L1GctJetCounts> newCounts(new L1GctJetCounts());
257  L1GctJetCounts* counts = newCounts.get();
258 
259  if (getGctJetDigis_) {
260  iEvent.getByToken(GctCenJetToken_, GctCenJets);
261  cenJetDigis = GctCenJets.product();
262  iEvent.getByToken(GctForJetToken_, GctForJets);
263  forJetDigis = GctForJets.product();
264  iEvent.getByToken(GctTauJetToken_, GctTauJets);
265  tauJetDigis = GctTauJets.product();
266  LogDebug("DigiInfo") << "total # Gct central Jet digis: " << cenJetDigis->size();
267  LogDebug("DigiInfo") << "total # Gct forward Jet digis: " << forJetDigis->size();
268  LogDebug("DigiInfo") << "total # Gct tau Jet digis: " << tauJetDigis->size();
269  }
270 
271  if (getGctJetCounts_) {
273  *counts = *GctJetCounts.product();
274  }
275 
278 
279  const L1CaloEmCollection* caloEm = nullptr;
280  const L1CaloRegionCollection* caloRegion = nullptr;
281 
282  if (getL1Calo_) {
283  iEvent.getByToken(GctCaloEmToken_, GctCaloEm);
284  iEvent.getByToken(GctCaloRegionToken_, GctCaloRegion);
285 
286  caloEm = GctCaloEm.product();
287  caloRegion = GctCaloRegion.product();
288 
289  LogDebug("DigiInfo") << "Calo EM size: " << caloEm->size();
290  LogDebug("DigiInfo") << "Calo region size: " << caloRegion->size();
291  }
292 
296 
297  auto const& l1GtParamsHandle = iSetup.getHandle(l1GtParamsToken_);
298  auto const nBx = l1GtParamsHandle->gtTotalBxInEvent();
299 
300  std::unique_ptr<L1GlobalTriggerEvmReadoutRecord> newGtEvm(new L1GlobalTriggerEvmReadoutRecord(nBx));
301  std::unique_ptr<L1GlobalTriggerObjectMapRecord> newGtMap(new L1GlobalTriggerObjectMapRecord());
302  std::unique_ptr<L1GlobalTriggerReadoutRecord> newGtRR(new L1GlobalTriggerReadoutRecord(nBx));
303  L1GlobalTriggerEvmReadoutRecord* evm = newGtEvm.get();
304  L1GlobalTriggerObjectMapRecord* map = newGtMap.get();
305  L1GlobalTriggerReadoutRecord* rr = newGtRR.get();
306 
307  if (getGtEvmRR_) {
308  iEvent.getByToken(GtEvmRRToken_, gtEvmRR);
309  *evm = *gtEvmRR.product();
310  }
311  if (getGtObjectMap_) {
312  iEvent.getByToken(GtObjectMapToken_, gtMap);
313  *map = *gtMap.product();
314  }
315  if (getGtRR_) {
316  iEvent.getByToken(GtRRToken_, gtRR);
317  *rr = *gtRR.product();
318  }
319 
322  std::unique_ptr<std::vector<L1MuGMTCand> > cands(new std::vector<L1MuGMTCand>);
323  std::unique_ptr<L1MuGMTReadoutCollection> muCollection(new L1MuGMTReadoutCollection(nBx));
324 
325  if (getGmtCands_) {
326  iEvent.getByToken(GmtCandsToken_, GmtCands);
327  *cands = *GmtCands.product();
328  }
329  if (getGmtRC_) {
330  iEvent.getByToken(GmtReadoutToken_, GmtMuCollection);
331  *muCollection = *GmtMuCollection.product();
332  std::vector<L1MuGMTExtendedCand> muons = muCollection->getRecord().getGMTCands();
333  LogDebug("DigiInfo") << "GMT muons present: " << muons.size();
334  }
335 
337  unique_ptr<DetSetVector<PixelDigi> > NewPixelDigi(new DetSetVector<PixelDigi>);
338  DetSetVector<PixelDigi>* tt = NewPixelDigi.get();
339  if (getPixelDigis_) {
340  iEvent.getByToken(PXLdigiToken_, input);
341  *tt = *input.product();
342  }
343 
345  unique_ptr<DetSetVector<SiStripDigi> > NewSiDigi(new DetSetVector<SiStripDigi>);
346  DetSetVector<SiStripDigi>* uu = NewSiDigi.get();
347  if (getStripDigis_) {
348  iEvent.getByToken(SSTdigiToken_, input2);
349  *uu = *input2.product();
350  }
351 
352  Handle<EBDigiCollection> EcalDigiEB;
353  Handle<EEDigiCollection> EcalDigiEE;
354  Handle<ESDigiCollection> EcalDigiES;
355  const EBDigiCollection* EBdigis = nullptr;
356  const EEDigiCollection* EEdigis = nullptr;
357  const ESDigiCollection* ESdigis = nullptr;
358 
359  if (getEcalDigis_) {
360  iEvent.getByToken(EBdigiToken_, EcalDigiEB);
361  EBdigis = EcalDigiEB.product();
362  LogDebug("DigiInfo") << "total # EBdigis: " << EBdigis->size();
363 
364  iEvent.getByToken(EEdigiToken_, EcalDigiEE);
365  EEdigis = EcalDigiEE.product();
366  LogDebug("DigiInfo") << "total # EEdigis: " << EEdigis->size();
367  }
368 
369  if (getEcalESDigis_) {
370  iEvent.getByToken(ESdigiToken_, EcalDigiES);
371  ESdigis = EcalDigiES.product();
372  LogDebug("DigiInfo") << "total # ESdigis: " << ESdigis->size();
373  }
374 
375  Handle<HBHEDigiCollection> HcalDigiHBHE;
376  Handle<HODigiCollection> HcalDigiHO;
377  Handle<HFDigiCollection> HcalDigiHF;
378  const HBHEDigiCollection* HBHEdigis = nullptr;
379  const HODigiCollection* HOdigis = nullptr;
380  const HFDigiCollection* HFdigis = nullptr;
381 
382  if (getHcalDigis_) {
383  iEvent.getByToken(HBHEdigiToken_, HcalDigiHBHE);
384  HBHEdigis = HcalDigiHBHE.product();
385  LogDebug("DigiInfo") << "total # HBHEdigis: " << HBHEdigis->size();
386 
387  iEvent.getByToken(HOdigiToken_, HcalDigiHO);
388  HOdigis = HcalDigiHO.product();
389  LogDebug("DigiInfo") << "total # HOdigis: " << HOdigis->size();
390 
391  iEvent.getByToken(HFdigiToken_, HcalDigiHF);
392  HFdigis = HcalDigiHF.product();
393  LogDebug("DigiInfo") << "total # HFdigis: " << HFdigis->size();
394  }
395 
396  Handle<CSCStripDigiCollection> CSCDigiStrip;
397  Handle<CSCWireDigiCollection> CSCDigiWire;
398 
399  if (getCSCDigis_) {
400  iEvent.getByToken(CSCStripdigiToken_, CSCDigiStrip);
401  iEvent.getByToken(CSCWiredigiToken_, CSCDigiWire);
402 
403  int numDigis = 0;
404  for (auto&& iter : *CSCDigiStrip) {
405  for (auto digiIter = iter.second.first; digiIter != iter.second.second; digiIter++)
406  numDigis++;
407  }
408  LogDebug("DigiInfo") << "total # CSCstripdigis: " << numDigis;
409  numDigis = 0;
410  for (auto&& iter : *CSCDigiWire) {
411  for (auto digiIter = iter.second.first; digiIter != iter.second.second; digiIter++)
412  numDigis++;
413  }
414  LogDebug("DigiInfo") << "total # CSCwiredigis: " << numDigis;
415  }
416 
417  Handle<DTDigiCollection> DTDigiHandle;
418 
419  if (getDTDigis_) {
420  iEvent.getByToken(DTdigiToken_, DTDigiHandle);
421 
422  int numDigis = 0;
423  for (auto&& iter : *DTDigiHandle) {
424  for (auto digiIter = iter.second.first; digiIter != iter.second.second; digiIter++)
425  numDigis++;
426  }
427  LogDebug("DigiInfo") << "total # DTdigis: " << numDigis;
428  }
429 
430  Handle<RPCDigiCollection> RPCDigiHandle;
431 
432  if (getRPCDigis_) {
433  iEvent.getByToken(RPCdigiToken_, RPCDigiHandle);
434 
435  int numDigis = 0;
436  for (auto&& iter : *RPCDigiHandle) {
437  for (auto digiIter = iter.second.first; digiIter != iter.second.second; digiIter++)
438  numDigis++;
439  }
440  LogDebug("DigiInfo") << "total # RPCdigis: " << numDigis;
441  }
442 
443  LogDebug("DigiInfo") << "***--------------- End of Event -----------------***";
444 }
445 
446 // declare this class as a framework plugin
edm::EDGetTokenT< L1GctJetCandCollection > GctTauJetToken_
Definition: HLTGetDigi.h:109
unsigned phi() const
get the Et
Definition: L1GctEtMiss.h:62
edm::InputTag GctIsoEmLabel_
Definition: HLTGetDigi.h:100
edm::InputTag RPCdigiCollection_
Definition: HLTGetDigi.h:94
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283
edm::EDGetTokenT< L1GctEtHad > GctEtHadToken_
Definition: HLTGetDigi.h:113
std::vector< L1CaloEmCand > L1CaloEmCollection
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
edm::EDGetTokenT< CSCStripDigiCollection > CSCStripdigiToken_
Definition: HLTGetDigi.h:89
edm::InputTag CSCWiredigiCollection_
Definition: HLTGetDigi.h:90
edm::EDGetTokenT< RPCDigiCollection > RPCdigiToken_
Definition: HLTGetDigi.h:95
edm::EDGetTokenT< HBHEDigiCollection > HBHEdigiToken_
Definition: HLTGetDigi.h:79
edm::EDGetTokenT< L1CaloRegionCollection > GctCaloRegionToken_
Definition: HLTGetDigi.h:99
unsigned et() const
get the magnitude
Definition: L1GctEtMiss.h:56
edm::EDGetTokenT< std::vector< L1MuGMTCand > > GmtCandsToken_
Definition: HLTGetDigi.h:127
size_type size() const
bool getGmtCands_
Definition: HLTGetDigi.h:147
bool getGctJetDigis_
Definition: HLTGetDigi.h:141
edm::InputTag SSTdigiCollection_
Definition: HLTGetDigi.h:86
T const * product() const
Definition: Handle.h:70
edm::InputTag GctForJetLabel_
Definition: HLTGetDigi.h:106
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > PXLdigiToken_
Definition: HLTGetDigi.h:85
edm::EDGetTokenT< L1GctEmCandCollection > GctNonIsoEmToken_
Definition: HLTGetDigi.h:103
Persistable copy of missing Et measured at Level-1.
Definition: L1GctEtMiss.h:17
edm::EDGetTokenT< ESDigiCollection > ESdigiToken_
Definition: HLTGetDigi.h:77
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: HLTGetDigi.cc:153
edm::EDGetTokenT< L1GctEtTotal > GctEtTotalToken_
Definition: HLTGetDigi.h:117
edm::EDGetTokenT< HFDigiCollection > HFdigiToken_
Definition: HLTGetDigi.h:83
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
edm::InputTag GtRRLabel_
Definition: HLTGetDigi.h:123
#define input2
Definition: AMPTWrapper.h:159
bool getL1Calo_
Definition: HLTGetDigi.h:139
static std::string const input
Definition: EdmProvDump.cc:50
T getUntrackedParameter(std::string const &, T const &) const
bool getGtObjectMap_
Definition: HLTGetDigi.h:145
edm::InputTag ESdigiCollection_
Definition: HLTGetDigi.h:76
bool getHcalDigis_
Definition: HLTGetDigi.h:133
std::vector< L1GctJetCand > L1GctJetCandCollection
bool getGctJetCounts_
Definition: HLTGetDigi.h:142
edm::InputTag GctTauJetLabel_
Definition: HLTGetDigi.h:108
bool getEcalESDigis_
Definition: HLTGetDigi.h:132
edm::EDGetTokenT< L1GctJetCandCollection > GctForJetToken_
Definition: HLTGetDigi.h:107
edm::InputTag GtObjectMapLabel_
Definition: HLTGetDigi.h:121
edm::EDGetTokenT< L1MuGMTReadoutCollection > GmtReadoutToken_
Definition: HLTGetDigi.h:129
int iEvent
Definition: GenABIO.cc:224
Definition: TTTypes.h:54
edm::EDGetTokenT< HODigiCollection > HOdigiToken_
Definition: HLTGetDigi.h:81
edm::InputTag CSCStripdigiCollection_
Definition: HLTGetDigi.h:88
edm::EDGetTokenT< DTDigiCollection > DTdigiToken_
Definition: HLTGetDigi.h:93
edm::InputTag GctCaloEmLabel_
Definition: HLTGetDigi.h:96
Persistable copy of total Et measured at Level-1.
Definition: L1GctEtTotal.h:17
edm::EDGetTokenT< EEDigiCollection > EEdigiToken_
Definition: HLTGetDigi.h:75
edm::InputTag HFdigiCollection_
Definition: HLTGetDigi.h:82
edm::InputTag DTdigiCollection_
Definition: HLTGetDigi.h:92
bool getEcalDigis_
Definition: HLTGetDigi.h:131
edm::InputTag PXLdigiCollection_
Definition: HLTGetDigi.h:84
bool getDTDigis_
Definition: HLTGetDigi.h:137
void analyze(edm::StreamID, const edm::Event &, const edm::EventSetup &) const override
Definition: HLTGetDigi.cc:209
bool getGtEvmRR_
Definition: HLTGetDigi.h:144
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > GtRRToken_
Definition: HLTGetDigi.h:124
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::EDGetTokenT< EBDigiCollection > EBdigiToken_
Definition: HLTGetDigi.h:73
edm::EDGetTokenT< L1GctJetCandCollection > GctCenJetToken_
Definition: HLTGetDigi.h:105
unsigned et() const
get the Et
Definition: L1GctEtTotal.h:43
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130
Persistable copy of total Ht measured at Level-1.
Definition: L1GctEtHad.h:17
edm::EDGetTokenT< L1GlobalTriggerEvmReadoutRecord > GtEvmRRToken_
Definition: HLTGetDigi.h:120
edm::InputTag GtEvmRRLabel_
Definition: HLTGetDigi.h:119
edm::InputTag GmtCandsLabel_
Definition: HLTGetDigi.h:126
bool getCSCDigis_
Definition: HLTGetDigi.h:136
bool getRPCDigis_
Definition: HLTGetDigi.h:138
unsigned et() const
get the Et
Definition: L1GctEtHad.h:43
edm::EDGetTokenT< CSCWireDigiCollection > CSCWiredigiToken_
Definition: HLTGetDigi.h:91
edm::InputTag HBHEdigiCollection_
Definition: HLTGetDigi.h:78
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > SSTdigiToken_
Definition: HLTGetDigi.h:87
bool getGctEtDigis_
Definition: HLTGetDigi.h:143
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool getGtRR_
Definition: HLTGetDigi.h:146
edm::InputTag GctJetCountsLabel_
Definition: HLTGetDigi.h:110
edm::InputTag GctCaloRegionLabel_
Definition: HLTGetDigi.h:98
edm::InputTag EEdigiCollection_
Definition: HLTGetDigi.h:74
HLT enums.
edm::InputTag GctEtTotalLabel_
Definition: HLTGetDigi.h:116
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > GtObjectMapToken_
Definition: HLTGetDigi.h:122
edm::EDGetTokenT< L1GctEtMiss > GctEtMissToken_
Definition: HLTGetDigi.h:115
bool getStripDigis_
Definition: HLTGetDigi.h:135
HLTGetDigi(const edm::ParameterSet &)
Definition: HLTGetDigi.cc:28
bool getGctEmDigis_
Definition: HLTGetDigi.h:140
edm::EDGetTokenT< L1GctEmCandCollection > GctIsoEmToken_
Definition: HLTGetDigi.h:101
edm::InputTag GctEtMissLabel_
Definition: HLTGetDigi.h:114
edm::InputTag EBdigiCollection_
Definition: HLTGetDigi.h:72
edm::InputTag HOdigiCollection_
Definition: HLTGetDigi.h:80
std::vector< L1CaloRegion > L1CaloRegionCollection
bool getPixelDigis_
Definition: HLTGetDigi.h:134
bool getGmtRC_
Definition: HLTGetDigi.h:148
edm::InputTag GctCenJetLabel_
Definition: HLTGetDigi.h:104
edm::ESGetToken< L1GtParameters, L1GtParametersRcd > const l1GtParamsToken_
Definition: HLTGetDigi.h:70
edm::InputTag GctNonIsoEmLabel_
Definition: HLTGetDigi.h:102
edm::InputTag GmtReadoutCollection_
Definition: HLTGetDigi.h:128
~HLTGetDigi() override
edm::EDGetTokenT< L1CaloEmCollection > GctCaloEmToken_
Definition: HLTGetDigi.h:97
edm::InputTag GctEtHadLabel_
Definition: HLTGetDigi.h:112
edm::EDGetTokenT< L1GctJetCounts > GctJetCountsToken_
Definition: HLTGetDigi.h:111
std::vector< L1GctEmCand > L1GctEmCandCollection
#define LogDebug(id)