150 if (getGctEtDigis_) {
152 iEvent.
getByLabel(GctEtMissLabel_,GctEtMiss) ;
153 iEvent.
getByLabel(GctEtTotalLabel_,GctEtTotal) ;
154 etHad = GctEtHad.product() ;
155 etMiss = GctEtMiss.product() ;
156 etTotal = GctEtTotal.product() ;
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() ;
168 if (getGctEmDigis_) {
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() ;
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() ;
200 if (getGctJetCounts_) {
201 iEvent.
getByLabel(GctJetCountsLabel_,GctJetCounts) ;
202 *counts = *GctJetCounts.product() ;
212 iEvent.
getByLabel(GctCaloEmLabel_,GctCaloEm) ;
213 iEvent.
getByLabel(GctCaloRegionLabel_,GctCaloRegion) ;
215 caloEm = GctCaloEm.product() ;
216 caloRegion = GctCaloRegion.product() ;
218 LogDebug(
"DigiInfo") <<
"Calo EM size: " << caloEm->size() ;
219 LogDebug(
"DigiInfo") <<
"Calo region size: " << caloRegion->size() ;
228 int nBx = l1GtPar->gtTotalBxInEvent() ;
239 *evm = *gtEvmRR.product() ;
241 if (getGtObjectMap_) {
243 *
map = *gtMap.product() ;
247 *rr = *gtRR.product() ;
252 std::auto_ptr<std::vector<L1MuGMTCand> > cands(
new std::vector<L1MuGMTCand> ) ;
257 *cands = *GmtCands.product() ;
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() ;
269 if (getPixelDigis_) {
271 *tt = *
input.product();
277 if (getStripDigis_) {
290 iEvent.
getByLabel( EBdigiCollection_, EcalDigiEB );
291 EBdigis = EcalDigiEB.product();
292 LogDebug(
"DigiInfo") <<
"total # EBdigis: " << EBdigis->size() ;
294 iEvent.
getByLabel( EEdigiCollection_, EcalDigiEE );
295 EEdigis = EcalDigiEE.product();
296 LogDebug(
"DigiInfo") <<
"total # EEdigis: " << EEdigis->size() ;
299 if (getEcalESDigis_) {
300 iEvent.
getByLabel( ESdigiCollection_, EcalDigiES );
301 ESdigis = EcalDigiES.product();
302 LogDebug(
"DigiInfo") <<
"total # ESdigis: " << ESdigis->size() ;
313 iEvent.
getByLabel( HBHEdigiCollection_, HcalDigiHBHE );
314 HBHEdigis = HcalDigiHBHE.product();
315 LogDebug(
"DigiInfo") <<
"total # HBHEdigis: " << HBHEdigis->size() ;
317 iEvent.
getByLabel( HOdigiCollection_, HcalDigiHO );
318 HOdigis = HcalDigiHO.product();
319 LogDebug(
"DigiInfo") <<
"total # HOdigis: " << HOdigis->size() ;
321 iEvent.
getByLabel( HFdigiCollection_, HcalDigiHF );
322 HFdigis = HcalDigiHF.product();
323 LogDebug(
"DigiInfo") <<
"total # HFdigis: " << HFdigis->size() ;
332 iEvent.
getByLabel( CSCStripdigiCollection_, CSCDigiStrip );
333 CSCstripdigis = CSCDigiStrip.product();
334 iEvent.
getByLabel( CSCWiredigiCollection_, CSCDigiWire );
335 CSCwiredigis = CSCDigiWire.product();
339 iter!=CSCDigiStrip->end(); iter++) {
340 for ( vector<CSCStripDigi>::const_iterator digiIter = (*iter).second.first;
341 digiIter != (*iter).second.second; digiIter++) numDigis++ ;
343 LogDebug(
"DigiInfo") <<
"total # CSCstripdigis: " << numDigis ;
346 iter!=CSCDigiWire->end(); iter++) {
347 for ( vector<CSCWireDigi>::const_iterator digiIter = (*iter).second.first;
348 digiIter != (*iter).second.second; digiIter++) numDigis++ ;
350 LogDebug(
"DigiInfo") <<
"total # CSCwiredigis: " << numDigis ;
357 iEvent.
getByLabel( DTdigiCollection_, DTDigiHandle );
358 DTdigis = DTDigiHandle.product();
362 iter!=DTDigiHandle->end(); iter++) {
363 for ( vector<DTDigi>::const_iterator digiIter = (*iter).second.first;
364 digiIter != (*iter).second.second; digiIter++) numDigis++ ;
366 LogDebug(
"DigiInfo") <<
"total # DTdigis: " << numDigis ;
373 iEvent.
getByLabel( RPCdigiCollection_, RPCDigiHandle );
374 RPCdigis = RPCDigiHandle.product();
378 iter!=RPCDigiHandle->end(); iter++) {
379 for ( vector<RPCDigi>::const_iterator digiIter = (*iter).second.first;
380 digiIter != (*iter).second.second; digiIter++) numDigis++ ;
382 LogDebug(
"DigiInfo") <<
"total # RPCdigis: " << numDigis ;
385 LogDebug(
"DigiInfo") <<
"***--------------- End of Event -----------------***" ;
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
std::vector< L1CaloEmCand > L1CaloEmCollection
Persistable copy of missing Et measured at Level-1.
std::vector< L1GctJetCand > L1GctJetCandCollection
Persistable copy of total Et measured at Level-1.
Persistable copy of total Ht measured at Level-1.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void analyze(const edm::Event &, const edm::EventSetup &)
HLTGetDigi(const edm::ParameterSet &)
std::vector< L1CaloRegion > L1CaloRegionCollection
std::vector< L1GctEmCand > L1GctEmCandCollection