CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HLTGetDigi Class Reference

#include <HLTGetDigi.h>

Inheritance diagram for HLTGetDigi:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &)
 
 HLTGetDigi (const edm::ParameterSet &)
 
 ~HLTGetDigi ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

edm::InputTag CSCStripdigiCollection_
 
edm::InputTag CSCWiredigiCollection_
 
edm::InputTag DTdigiCollection_
 
edm::InputTag EBdigiCollection_
 
edm::InputTag EEdigiCollection_
 
edm::InputTag ESdigiCollection_
 
edm::InputTag GctCaloEmLabel_
 
edm::InputTag GctCaloRegionLabel_
 
edm::InputTag GctCenJetLabel_
 
edm::InputTag GctEtHadLabel_
 
edm::InputTag GctEtMissLabel_
 
edm::InputTag GctEtTotalLabel_
 
edm::InputTag GctForJetLabel_
 
edm::InputTag GctIsoEmLabel_
 
edm::InputTag GctJetCountsLabel_
 
edm::InputTag GctNonIsoEmLabel_
 
edm::InputTag GctTauJetLabel_
 
bool getCSCDigis_
 
bool getDTDigis_
 
bool getEcalDigis_
 
bool getEcalESDigis_
 
bool getGctEmDigis_
 
bool getGctEtDigis_
 
bool getGctJetCounts_
 
bool getGctJetDigis_
 
bool getGmtCands_
 
bool getGmtRC_
 
bool getGtEvmRR_
 
bool getGtObjectMap_
 
bool getGtRR_
 
bool getHcalDigis_
 
bool getL1Calo_
 
bool getPixelDigis_
 
bool getRPCDigis_
 
bool getStripDigis_
 
edm::InputTag GmtCandsLabel_
 
edm::InputTag GmtReadoutCollection_
 
edm::InputTag GtEvmRRLabel_
 
edm::InputTag GtObjectMapLabel_
 
edm::InputTag GtRRLabel_
 
edm::InputTag HBHEdigiCollection_
 
edm::InputTag HFdigiCollection_
 
edm::InputTag HOdigiCollection_
 
edm::InputTag PXLdigiCollection_
 
edm::InputTag RPCdigiCollection_
 
edm::InputTag SSTdigiCollection_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

This class is an EDAnalyzer implementing a "get data into RAM" functionality for DIGIs, to simulate online FF running/timimg.

Date:
2011/01/27 10:38:50
Revision:
1.6
Author
various

See header file for documentation

Date:
2011/10/12 09:00:40
Revision:
1.8
Author
various

Definition at line 25 of file HLTGetDigi.h.

Constructor & Destructor Documentation

HLTGetDigi::HLTGetDigi ( const edm::ParameterSet ps)
explicit

Definition at line 69 of file HLTGetDigi.cc.

References edm::ParameterSet::getParameter(), and edm::ParameterSet::getUntrackedParameter().

70 {
71  EBdigiCollection_ = ps.getParameter<edm::InputTag>("EBdigiCollection");
72  EEdigiCollection_ = ps.getParameter<edm::InputTag>("EEdigiCollection");
73  ESdigiCollection_ = ps.getParameter<edm::InputTag>("ESdigiCollection");
74  HBHEdigiCollection_ = ps.getParameter<edm::InputTag>("HBHEdigiCollection");
75  HOdigiCollection_ = ps.getParameter<edm::InputTag>("HOdigiCollection");
76  HFdigiCollection_ = ps.getParameter<edm::InputTag>("HFdigiCollection");
77  PXLdigiCollection_ = ps.getParameter<edm::InputTag>("SiPixeldigiCollection");
78  SSTdigiCollection_ = ps.getParameter<edm::InputTag>("SiStripdigiCollection");
79  CSCStripdigiCollection_ = ps.getParameter<edm::InputTag>("CSCStripdigiCollection");
80  CSCWiredigiCollection_ = ps.getParameter<edm::InputTag>("CSCWiredigiCollection");
81  DTdigiCollection_ = ps.getParameter<edm::InputTag>("DTdigiCollection");
82  RPCdigiCollection_ = ps.getParameter<edm::InputTag>("RPCdigiCollection");
83 
84  GctCaloEmLabel_ = ps.getParameter<edm::InputTag>("L1CaloEmCollection");
85  GctCaloRegionLabel_ = ps.getParameter<edm::InputTag>("L1CaloRegionCollection");
86 
87  GctIsoEmLabel_ = ps.getParameter<edm::InputTag>("GctIsoEmCollection");
88  GctNonIsoEmLabel_ = ps.getParameter<edm::InputTag>("GctNonIsoEmCollection");
89 
90  GctCenJetLabel_ = ps.getParameter<edm::InputTag>("GctCenJetCollection");
91  GctForJetLabel_ = ps.getParameter<edm::InputTag>("GctForJetCollection");
92  GctTauJetLabel_ = ps.getParameter<edm::InputTag>("GctTauJetCollection");
93  GctJetCountsLabel_ = ps.getParameter<edm::InputTag>("GctJetCounts");
94 
95  GctEtHadLabel_ = ps.getParameter<edm::InputTag>("GctEtHadCollection");
96  GctEtMissLabel_ = ps.getParameter<edm::InputTag>("GctEtMissCollection");
97  GctEtTotalLabel_ = ps.getParameter<edm::InputTag>("GctEtTotalCollection");
98 
99  GtEvmRRLabel_ = ps.getParameter<edm::InputTag>("GtEvmReadoutRecord");
100  GtObjectMapLabel_ = ps.getParameter<edm::InputTag>("GtObjectMapRecord");
101  GtRRLabel_ = ps.getParameter<edm::InputTag>("GtReadoutRecord");
102 
103  GmtCandsLabel_ = ps.getParameter<edm::InputTag>("GmtCands");
104  GmtReadoutCollection_ = ps.getParameter<edm::InputTag>("GmtReadoutCollection");
105 
106  //--- Define which digis we want ---//
107  getEcalDigis_ = ps.getUntrackedParameter<bool>("getEcal",true) ;
108  getEcalESDigis_ = ps.getUntrackedParameter<bool>("getEcalES",true) ;
109  getHcalDigis_ = ps.getUntrackedParameter<bool>("getHcal",true) ;
110  getPixelDigis_ = ps.getUntrackedParameter<bool>("getPixels",true) ;
111  getStripDigis_ = ps.getUntrackedParameter<bool>("getStrips",true) ;
112  getCSCDigis_ = ps.getUntrackedParameter<bool>("getCSC",true) ;
113  getDTDigis_ = ps.getUntrackedParameter<bool>("getDT",true) ;
114  getRPCDigis_ = ps.getUntrackedParameter<bool>("getRPC",true) ;
115  getGctEmDigis_ = ps.getUntrackedParameter<bool>("getGctEm",true) ;
116  getGctJetDigis_ = ps.getUntrackedParameter<bool>("getGctJet",true) ;
117  getGctJetCounts_ = ps.getUntrackedParameter<bool>("getGctJetCounts",true) ;
118  getGctEtDigis_ = ps.getUntrackedParameter<bool>("getGctEt",true) ;
119  getL1Calo_ = ps.getUntrackedParameter<bool>("getL1Calo",true) ;
120  getGtEvmRR_ = ps.getUntrackedParameter<bool>("getGtEvmRR",true) ;
121  getGtObjectMap_ = ps.getUntrackedParameter<bool>("getGtObjectMap",true) ;
122  getGtRR_ = ps.getUntrackedParameter<bool>("getGtReadoutRecord",true) ;
123  getGmtCands_ = ps.getUntrackedParameter<bool>("getGmtCands",true) ;
124  getGmtRC_ = ps.getUntrackedParameter<bool>("getGmtReadout",true) ;
125 
126 }
T getParameter(std::string const &) const
edm::InputTag GctIsoEmLabel_
Definition: HLTGetDigi.h:47
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag RPCdigiCollection_
Definition: HLTGetDigi.h:44
edm::InputTag CSCWiredigiCollection_
Definition: HLTGetDigi.h:42
bool getGmtCands_
Definition: HLTGetDigi.h:80
bool getGctJetDigis_
Definition: HLTGetDigi.h:74
edm::InputTag SSTdigiCollection_
Definition: HLTGetDigi.h:40
edm::InputTag GctForJetLabel_
Definition: HLTGetDigi.h:50
edm::InputTag GtRRLabel_
Definition: HLTGetDigi.h:59
bool getL1Calo_
Definition: HLTGetDigi.h:72
bool getGtObjectMap_
Definition: HLTGetDigi.h:78
edm::InputTag ESdigiCollection_
Definition: HLTGetDigi.h:35
bool getHcalDigis_
Definition: HLTGetDigi.h:66
bool getGctJetCounts_
Definition: HLTGetDigi.h:75
edm::InputTag GctTauJetLabel_
Definition: HLTGetDigi.h:51
bool getEcalESDigis_
Definition: HLTGetDigi.h:65
edm::InputTag GtObjectMapLabel_
Definition: HLTGetDigi.h:58
edm::InputTag CSCStripdigiCollection_
Definition: HLTGetDigi.h:41
edm::InputTag GctCaloEmLabel_
Definition: HLTGetDigi.h:45
edm::InputTag HFdigiCollection_
Definition: HLTGetDigi.h:38
edm::InputTag DTdigiCollection_
Definition: HLTGetDigi.h:43
bool getEcalDigis_
Definition: HLTGetDigi.h:64
edm::InputTag PXLdigiCollection_
Definition: HLTGetDigi.h:39
bool getDTDigis_
Definition: HLTGetDigi.h:70
bool getGtEvmRR_
Definition: HLTGetDigi.h:77
edm::InputTag GtEvmRRLabel_
Definition: HLTGetDigi.h:57
edm::InputTag GmtCandsLabel_
Definition: HLTGetDigi.h:61
bool getCSCDigis_
Definition: HLTGetDigi.h:69
bool getRPCDigis_
Definition: HLTGetDigi.h:71
edm::InputTag HBHEdigiCollection_
Definition: HLTGetDigi.h:36
bool getGctEtDigis_
Definition: HLTGetDigi.h:76
bool getGtRR_
Definition: HLTGetDigi.h:79
edm::InputTag GctJetCountsLabel_
Definition: HLTGetDigi.h:52
edm::InputTag GctCaloRegionLabel_
Definition: HLTGetDigi.h:46
edm::InputTag EEdigiCollection_
Definition: HLTGetDigi.h:34
edm::InputTag GctEtTotalLabel_
Definition: HLTGetDigi.h:55
bool getStripDigis_
Definition: HLTGetDigi.h:68
bool getGctEmDigis_
Definition: HLTGetDigi.h:73
edm::InputTag GctEtMissLabel_
Definition: HLTGetDigi.h:54
edm::InputTag EBdigiCollection_
Definition: HLTGetDigi.h:33
edm::InputTag HOdigiCollection_
Definition: HLTGetDigi.h:37
bool getPixelDigis_
Definition: HLTGetDigi.h:67
bool getGmtRC_
Definition: HLTGetDigi.h:81
edm::InputTag GctCenJetLabel_
Definition: HLTGetDigi.h:49
edm::InputTag GctNonIsoEmLabel_
Definition: HLTGetDigi.h:48
edm::InputTag GmtReadoutCollection_
Definition: HLTGetDigi.h:62
edm::InputTag GctEtHadLabel_
Definition: HLTGetDigi.h:53
HLTGetDigi::~HLTGetDigi ( )

Definition at line 128 of file HLTGetDigi.cc.

129 { }

Member Function Documentation

void HLTGetDigi::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 137 of file HLTGetDigi.cc.

References edm::EventSetup::get(), edm::Event::getByLabel(), LaserDQM_cfg::input, input2, LogDebug, Association::map, patZpeak::muons, findQualityFiles::rr, and groupFilesInBlocks::tt.

138 {
139  using namespace edm;
140 
141  //--- L1 GCT and GT Digis ---//
142  edm::Handle<L1GctEtHad> GctEtHad ;
143  edm::Handle<L1GctEtMiss> GctEtMiss ;
144  edm::Handle<L1GctEtTotal> GctEtTotal ;
145 
146  const L1GctEtHad* etHad = 0 ;
147  const L1GctEtMiss* etMiss = 0 ;
148  const L1GctEtTotal* etTotal = 0 ;
149 
150  if (getGctEtDigis_) {
151  iEvent.getByLabel(GctEtHadLabel_,GctEtHad) ;
152  iEvent.getByLabel(GctEtMissLabel_,GctEtMiss) ;
153  iEvent.getByLabel(GctEtTotalLabel_,GctEtTotal) ;
154  etHad = GctEtHad.product() ;
155  etMiss = GctEtMiss.product() ;
156  etTotal = GctEtTotal.product() ;
157 
158  LogDebug("DigiInfo") << "Value of L1GctEtHad::et(): " << etHad->et() ;
159  LogDebug("DigiInfo") << "Value of L1GctEtMiss::et(): " << etMiss->et() << ", phi(): " << etMiss->phi() ;
160  LogDebug("DigiInfo") << "Value of L1GctEtTotal::et(): " << etTotal->et() ;
161  }
162 
165 
166  const L1GctEmCandCollection* isoEMdigis = 0 ;
167  const L1GctEmCandCollection* nonIsoEMdigis = 0 ;
168  if (getGctEmDigis_) {
169  iEvent.getByLabel(GctIsoEmLabel_,GctIsoEM) ;
170  isoEMdigis = GctIsoEM.product() ;
171  iEvent.getByLabel(GctNonIsoEmLabel_,GctNonIsoEM) ;
172  nonIsoEMdigis = GctNonIsoEM.product() ;
173  LogDebug("DigiInfo") << "total # Gct Iso EM digis: " << isoEMdigis->size() ;
174  LogDebug("DigiInfo") << "total # Gct non-Iso EM digis: " << nonIsoEMdigis->size() ;
175  }
176 
180  edm::Handle<L1GctJetCounts> GctJetCounts ;
181 
182  const L1GctJetCandCollection* cenJetDigis = 0 ;
183  const L1GctJetCandCollection* forJetDigis = 0 ;
184  const L1GctJetCandCollection* tauJetDigis = 0 ;
185  std::auto_ptr<L1GctJetCounts> newCounts( new L1GctJetCounts() ) ;
186  L1GctJetCounts* counts = newCounts.get() ;
187 
188  if (getGctJetDigis_) {
189  iEvent.getByLabel(GctCenJetLabel_,GctCenJets) ;
190  cenJetDigis = GctCenJets.product() ;
191  iEvent.getByLabel(GctForJetLabel_,GctForJets) ;
192  forJetDigis = GctForJets.product() ;
193  iEvent.getByLabel(GctTauJetLabel_,GctTauJets) ;
194  tauJetDigis = GctTauJets.product() ;
195  LogDebug("DigiInfo") << "total # Gct central Jet digis: " << cenJetDigis->size() ;
196  LogDebug("DigiInfo") << "total # Gct forward Jet digis: " << forJetDigis->size() ;
197  LogDebug("DigiInfo") << "total # Gct tau Jet digis: " << tauJetDigis->size() ;
198  }
199 
200  if (getGctJetCounts_) {
201  iEvent.getByLabel(GctJetCountsLabel_,GctJetCounts) ;
202  *counts = *GctJetCounts.product() ;
203  }
204 
206  edm::Handle<L1CaloRegionCollection> GctCaloRegion ;
207 
208  const L1CaloEmCollection* caloEm = 0 ;
209  const L1CaloRegionCollection* caloRegion = 0 ;
210 
211  if (getL1Calo_) {
212  iEvent.getByLabel(GctCaloEmLabel_,GctCaloEm) ;
213  iEvent.getByLabel(GctCaloRegionLabel_,GctCaloRegion) ;
214 
215  caloEm = GctCaloEm.product() ;
216  caloRegion = GctCaloRegion.product() ;
217 
218  LogDebug("DigiInfo") << "Calo EM size: " << caloEm->size() ;
219  LogDebug("DigiInfo") << "Calo region size: " << caloRegion->size() ;
220  }
221 
225 
227  iSetup.get< L1GtParametersRcd >().get( l1GtPar ) ;
228  int nBx = l1GtPar->gtTotalBxInEvent() ;
229 
230  std::auto_ptr<L1GlobalTriggerEvmReadoutRecord> newGtEvm( new L1GlobalTriggerEvmReadoutRecord(nBx) ) ;
231  std::auto_ptr<L1GlobalTriggerObjectMapRecord> newGtMap( new L1GlobalTriggerObjectMapRecord() ) ;
232  std::auto_ptr<L1GlobalTriggerReadoutRecord> newGtRR( new L1GlobalTriggerReadoutRecord(nBx) ) ;
233  L1GlobalTriggerEvmReadoutRecord* evm = newGtEvm.get() ;
234  L1GlobalTriggerObjectMapRecord* map = newGtMap.get() ;
235  L1GlobalTriggerReadoutRecord* rr = newGtRR.get() ;
236 
237  if (getGtEvmRR_) {
238  iEvent.getByLabel(GtEvmRRLabel_, gtEvmRR) ;
239  *evm = *gtEvmRR.product() ;
240  }
241  if (getGtObjectMap_) {
242  iEvent.getByLabel(GtObjectMapLabel_, gtMap) ;
243  *map = *gtMap.product() ;
244  }
245  if (getGtRR_) {
246  iEvent.getByLabel(GtRRLabel_, gtRR) ;
247  *rr = *gtRR.product() ;
248  }
249 
251  edm::Handle<L1MuGMTReadoutCollection> GmtMuCollection ;
252  std::auto_ptr<std::vector<L1MuGMTCand> > cands( new std::vector<L1MuGMTCand> ) ;
253  std::auto_ptr<L1MuGMTReadoutCollection> muCollection(new L1MuGMTReadoutCollection(nBx)) ;
254 
255  if (getGmtCands_) {
256  iEvent.getByLabel(GmtCandsLabel_,GmtCands) ;
257  *cands = *GmtCands.product() ;
258  }
259  if (getGmtRC_) {
260  iEvent.getByLabel(GmtReadoutCollection_,GmtMuCollection) ;
261  *muCollection = *GmtMuCollection.product() ;
262  std::vector<L1MuGMTExtendedCand> muons = muCollection->getRecord().getGMTCands() ;
263  LogDebug("DigiInfo") << "GMT muons present: " << muons.size() ;
264  }
265 
267  auto_ptr<DetSetVector<PixelDigi> > NewPixelDigi(new DetSetVector<PixelDigi> );
268  DetSetVector<PixelDigi>* tt = NewPixelDigi.get();
269  if (getPixelDigis_) {
271  *tt = *input.product();
272  }
273 
275  auto_ptr<DetSetVector<SiStripDigi> > NewSiDigi(new DetSetVector<SiStripDigi> );
276  DetSetVector<SiStripDigi>* uu = NewSiDigi.get();
277  if (getStripDigis_) {
279  *uu = *input2.product();
280  }
281 
282  Handle<EBDigiCollection> EcalDigiEB;
283  Handle<EEDigiCollection> EcalDigiEE;
284  Handle<ESDigiCollection> EcalDigiES;
285  const EBDigiCollection* EBdigis = 0;
286  const EEDigiCollection* EEdigis = 0;
287  const ESDigiCollection* ESdigis = 0;
288 
289  if (getEcalDigis_) {
290  iEvent.getByLabel( EBdigiCollection_, EcalDigiEB );
291  EBdigis = EcalDigiEB.product();
292  LogDebug("DigiInfo") << "total # EBdigis: " << EBdigis->size() ;
293 
294  iEvent.getByLabel( EEdigiCollection_, EcalDigiEE );
295  EEdigis = EcalDigiEE.product();
296  LogDebug("DigiInfo") << "total # EEdigis: " << EEdigis->size() ;
297  }
298 
299  if (getEcalESDigis_) {
300  iEvent.getByLabel( ESdigiCollection_, EcalDigiES );
301  ESdigis = EcalDigiES.product();
302  LogDebug("DigiInfo") << "total # ESdigis: " << ESdigis->size() ;
303  }
304 
305  Handle<HBHEDigiCollection> HcalDigiHBHE ;
306  Handle<HODigiCollection> HcalDigiHO ;
307  Handle<HFDigiCollection> HcalDigiHF ;
308  const HBHEDigiCollection* HBHEdigis = 0 ;
309  const HODigiCollection* HOdigis = 0 ;
310  const HFDigiCollection* HFdigis = 0 ;
311 
312  if (getHcalDigis_) {
313  iEvent.getByLabel( HBHEdigiCollection_, HcalDigiHBHE );
314  HBHEdigis = HcalDigiHBHE.product();
315  LogDebug("DigiInfo") << "total # HBHEdigis: " << HBHEdigis->size() ;
316 
317  iEvent.getByLabel( HOdigiCollection_, HcalDigiHO );
318  HOdigis = HcalDigiHO.product();
319  LogDebug("DigiInfo") << "total # HOdigis: " << HOdigis->size() ;
320 
321  iEvent.getByLabel( HFdigiCollection_, HcalDigiHF );
322  HFdigis = HcalDigiHF.product();
323  LogDebug("DigiInfo") << "total # HFdigis: " << HFdigis->size() ;
324  }
325 
326  Handle<CSCStripDigiCollection> CSCDigiStrip ;
327  Handle<CSCWireDigiCollection> CSCDigiWire ;
328 
329  if (getCSCDigis_) {
330  iEvent.getByLabel( CSCStripdigiCollection_, CSCDigiStrip );
331  iEvent.getByLabel( CSCWiredigiCollection_, CSCDigiWire );
332 
333  int numDigis = 0 ;
334  for (CSCStripDigiCollection::DigiRangeIterator iter=CSCDigiStrip->begin();
335  iter!=CSCDigiStrip->end(); iter++) {
336  for ( vector<CSCStripDigi>::const_iterator digiIter = (*iter).second.first;
337  digiIter != (*iter).second.second; digiIter++) numDigis++ ;
338  }
339  LogDebug("DigiInfo") << "total # CSCstripdigis: " << numDigis ;
340  numDigis = 0 ;
341  for (CSCWireDigiCollection::DigiRangeIterator iter=CSCDigiWire->begin();
342  iter!=CSCDigiWire->end(); iter++) {
343  for ( vector<CSCWireDigi>::const_iterator digiIter = (*iter).second.first;
344  digiIter != (*iter).second.second; digiIter++) numDigis++ ;
345  }
346  LogDebug("DigiInfo") << "total # CSCwiredigis: " << numDigis ;
347  }
348 
349  Handle<DTDigiCollection> DTDigiHandle ;
350 
351  if (getDTDigis_) {
352  iEvent.getByLabel( DTdigiCollection_, DTDigiHandle );
353 
354  int numDigis = 0 ;
355  for (DTDigiCollection::DigiRangeIterator iter=DTDigiHandle->begin();
356  iter!=DTDigiHandle->end(); iter++) {
357  for ( vector<DTDigi>::const_iterator digiIter = (*iter).second.first;
358  digiIter != (*iter).second.second; digiIter++) numDigis++ ;
359  }
360  LogDebug("DigiInfo") << "total # DTdigis: " << numDigis ;
361  }
362 
363  Handle<RPCDigiCollection> RPCDigiHandle ;
364 
365  if (getRPCDigis_) {
366  iEvent.getByLabel( RPCdigiCollection_, RPCDigiHandle );
367 
368  int numDigis = 0 ;
369  for (RPCDigiCollection::DigiRangeIterator iter=RPCDigiHandle->begin();
370  iter!=RPCDigiHandle->end(); iter++) {
371  for ( vector<RPCDigi>::const_iterator digiIter = (*iter).second.first;
372  digiIter != (*iter).second.second; digiIter++) numDigis++ ;
373  }
374  LogDebug("DigiInfo") << "total # RPCdigis: " << numDigis ;
375  }
376 
377  LogDebug("DigiInfo") << "***--------------- End of Event -----------------***" ;
378 
379 }
#define LogDebug(id)
edm::InputTag GctIsoEmLabel_
Definition: HLTGetDigi.h:47
edm::InputTag RPCdigiCollection_
Definition: HLTGetDigi.h:44
std::vector< L1CaloEmCand > L1CaloEmCollection
edm::InputTag CSCWiredigiCollection_
Definition: HLTGetDigi.h:42
bool getGmtCands_
Definition: HLTGetDigi.h:80
bool getGctJetDigis_
Definition: HLTGetDigi.h:74
edm::InputTag SSTdigiCollection_
Definition: HLTGetDigi.h:40
edm::InputTag GctForJetLabel_
Definition: HLTGetDigi.h:50
Persistable copy of missing Et measured at Level-1.
Definition: L1GctEtMiss.h:18
edm::InputTag GtRRLabel_
Definition: HLTGetDigi.h:59
#define input2
Definition: AMPTWrapper.h:149
bool getL1Calo_
Definition: HLTGetDigi.h:72
dictionary map
Definition: Association.py:205
bool getGtObjectMap_
Definition: HLTGetDigi.h:78
edm::InputTag ESdigiCollection_
Definition: HLTGetDigi.h:35
bool getHcalDigis_
Definition: HLTGetDigi.h:66
std::vector< L1GctJetCand > L1GctJetCandCollection
bool getGctJetCounts_
Definition: HLTGetDigi.h:75
edm::InputTag GctTauJetLabel_
Definition: HLTGetDigi.h:51
bool getEcalESDigis_
Definition: HLTGetDigi.h:65
edm::InputTag GtObjectMapLabel_
Definition: HLTGetDigi.h:58
edm::InputTag CSCStripdigiCollection_
Definition: HLTGetDigi.h:41
edm::InputTag GctCaloEmLabel_
Definition: HLTGetDigi.h:45
Persistable copy of total Et measured at Level-1.
Definition: L1GctEtTotal.h:18
edm::InputTag HFdigiCollection_
Definition: HLTGetDigi.h:38
edm::InputTag DTdigiCollection_
Definition: HLTGetDigi.h:43
bool getEcalDigis_
Definition: HLTGetDigi.h:64
edm::InputTag PXLdigiCollection_
Definition: HLTGetDigi.h:39
bool getDTDigis_
Definition: HLTGetDigi.h:70
bool getGtEvmRR_
Definition: HLTGetDigi.h:77
Persistable copy of total Ht measured at Level-1.
Definition: L1GctEtHad.h:18
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
edm::InputTag GtEvmRRLabel_
Definition: HLTGetDigi.h:57
edm::InputTag GmtCandsLabel_
Definition: HLTGetDigi.h:61
bool getCSCDigis_
Definition: HLTGetDigi.h:69
bool getRPCDigis_
Definition: HLTGetDigi.h:71
edm::InputTag HBHEdigiCollection_
Definition: HLTGetDigi.h:36
const T & get() const
Definition: EventSetup.h:55
bool getGctEtDigis_
Definition: HLTGetDigi.h:76
bool getGtRR_
Definition: HLTGetDigi.h:79
edm::InputTag GctJetCountsLabel_
Definition: HLTGetDigi.h:52
edm::InputTag GctCaloRegionLabel_
Definition: HLTGetDigi.h:46
edm::InputTag EEdigiCollection_
Definition: HLTGetDigi.h:34
edm::InputTag GctEtTotalLabel_
Definition: HLTGetDigi.h:55
tuple muons
Definition: patZpeak.py:38
bool getStripDigis_
Definition: HLTGetDigi.h:68
bool getGctEmDigis_
Definition: HLTGetDigi.h:73
edm::InputTag GctEtMissLabel_
Definition: HLTGetDigi.h:54
edm::InputTag EBdigiCollection_
Definition: HLTGetDigi.h:33
edm::InputTag HOdigiCollection_
Definition: HLTGetDigi.h:37
std::vector< L1CaloRegion > L1CaloRegionCollection
bool getPixelDigis_
Definition: HLTGetDigi.h:67
bool getGmtRC_
Definition: HLTGetDigi.h:81
edm::InputTag GctCenJetLabel_
Definition: HLTGetDigi.h:49
edm::InputTag GctNonIsoEmLabel_
Definition: HLTGetDigi.h:48
edm::InputTag GmtReadoutCollection_
Definition: HLTGetDigi.h:62
edm::InputTag GctEtHadLabel_
Definition: HLTGetDigi.h:53
std::vector< L1GctEmCand > L1GctEmCandCollection

Member Data Documentation

edm::InputTag HLTGetDigi::CSCStripdigiCollection_
private

Definition at line 41 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::CSCWiredigiCollection_
private

Definition at line 42 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::DTdigiCollection_
private

Definition at line 43 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::EBdigiCollection_
private

Definition at line 33 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::EEdigiCollection_
private

Definition at line 34 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::ESdigiCollection_
private

Definition at line 35 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctCaloEmLabel_
private

Definition at line 45 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctCaloRegionLabel_
private

Definition at line 46 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctCenJetLabel_
private

Definition at line 49 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctEtHadLabel_
private

Definition at line 53 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctEtMissLabel_
private

Definition at line 54 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctEtTotalLabel_
private

Definition at line 55 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctForJetLabel_
private

Definition at line 50 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctIsoEmLabel_
private

Definition at line 47 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctJetCountsLabel_
private

Definition at line 52 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctNonIsoEmLabel_
private

Definition at line 48 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GctTauJetLabel_
private

Definition at line 51 of file HLTGetDigi.h.

bool HLTGetDigi::getCSCDigis_
private

Definition at line 69 of file HLTGetDigi.h.

bool HLTGetDigi::getDTDigis_
private

Definition at line 70 of file HLTGetDigi.h.

bool HLTGetDigi::getEcalDigis_
private

Definition at line 64 of file HLTGetDigi.h.

bool HLTGetDigi::getEcalESDigis_
private

Definition at line 65 of file HLTGetDigi.h.

bool HLTGetDigi::getGctEmDigis_
private

Definition at line 73 of file HLTGetDigi.h.

bool HLTGetDigi::getGctEtDigis_
private

Definition at line 76 of file HLTGetDigi.h.

bool HLTGetDigi::getGctJetCounts_
private

Definition at line 75 of file HLTGetDigi.h.

bool HLTGetDigi::getGctJetDigis_
private

Definition at line 74 of file HLTGetDigi.h.

bool HLTGetDigi::getGmtCands_
private

Definition at line 80 of file HLTGetDigi.h.

bool HLTGetDigi::getGmtRC_
private

Definition at line 81 of file HLTGetDigi.h.

bool HLTGetDigi::getGtEvmRR_
private

Definition at line 77 of file HLTGetDigi.h.

bool HLTGetDigi::getGtObjectMap_
private

Definition at line 78 of file HLTGetDigi.h.

bool HLTGetDigi::getGtRR_
private

Definition at line 79 of file HLTGetDigi.h.

bool HLTGetDigi::getHcalDigis_
private

Definition at line 66 of file HLTGetDigi.h.

bool HLTGetDigi::getL1Calo_
private

Definition at line 72 of file HLTGetDigi.h.

bool HLTGetDigi::getPixelDigis_
private

Definition at line 67 of file HLTGetDigi.h.

bool HLTGetDigi::getRPCDigis_
private

Definition at line 71 of file HLTGetDigi.h.

bool HLTGetDigi::getStripDigis_
private

Definition at line 68 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GmtCandsLabel_
private

Definition at line 61 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GmtReadoutCollection_
private

Definition at line 62 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GtEvmRRLabel_
private

Definition at line 57 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GtObjectMapLabel_
private

Definition at line 58 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::GtRRLabel_
private

Definition at line 59 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::HBHEdigiCollection_
private

Definition at line 36 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::HFdigiCollection_
private

Definition at line 38 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::HOdigiCollection_
private

Definition at line 37 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::PXLdigiCollection_
private

Definition at line 39 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::RPCdigiCollection_
private

Definition at line 44 of file HLTGetDigi.h.

edm::InputTag HLTGetDigi::SSTdigiCollection_
private

Definition at line 40 of file HLTGetDigi.h.