CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Attributes
edm::DataMixingHcalDigiWorker Class Reference

#include <DataMixingHcalDigiWorker.h>

Public Member Functions

void addHcalPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *)
 
void addHcalSignals (const edm::Event &e, const edm::EventSetup &ES)
 
 DataMixingHcalDigiWorker ()
 
 DataMixingHcalDigiWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC)
 
void putHcal (edm::Event &e, const edm::EventSetup &ES)
 
virtual ~DataMixingHcalDigiWorker ()
 

Private Types

typedef std::multimap< DetId, CaloSamplesHBHEDigiMap
 
typedef std::multimap< DetId, CaloSamplesHFDigiMap
 
typedef std::multimap< DetId, CaloSamplesHODigiMap
 
typedef std::multimap< DetId, CaloSamplesQIE10DigiMap
 
typedef std::multimap< DetId, CaloSamplesQIE11DigiMap
 
typedef std::multimap< DetId, CaloSamplesZDCDigiMap
 

Private Attributes

bool DoZDC_
 
std::string HBHEDigiCollectionDM_
 
edm::InputTag HBHEdigiCollectionSig_
 
edm::EDGetTokenT< HBHEDigiCollectionHBHEDigiPToken_
 
HBHEDigiMap HBHEDigiStorage_
 
edm::EDGetTokenT< HBHEDigiCollectionHBHEDigiToken_
 
edm::InputTag HBHEPileInputTag_
 
std::string HFDigiCollectionDM_
 
edm::InputTag HFdigiCollectionSig_
 
edm::EDGetTokenT< HFDigiCollectionHFDigiPToken_
 
HFDigiMap HFDigiStorage_
 
edm::EDGetTokenT< HFDigiCollectionHFDigiToken_
 
edm::InputTag HFPileInputTag_
 
std::string HODigiCollectionDM_
 
edm::InputTag HOdigiCollectionSig_
 
edm::EDGetTokenT< HODigiCollectionHODigiPToken_
 
HODigiMap HODigiStorage_
 
edm::EDGetTokenT< HODigiCollectionHODigiToken_
 
edm::InputTag HOPileInputTag_
 
std::string label_
 
std::string QIE10DigiCollectionDM_
 
edm::InputTag QIE10digiCollectionSig_
 
edm::EDGetTokenT< QIE10DigiCollectionQIE10DigiPToken_
 
QIE10DigiMap QIE10DigiStorage_
 
edm::EDGetTokenT< QIE10DigiCollectionQIE10DigiToken_
 
edm::InputTag QIE10PileInputTag_
 
std::string QIE11DigiCollectionDM_
 
edm::InputTag QIE11digiCollectionSig_
 
edm::EDGetTokenT< QIE11DigiCollectionQIE11DigiPToken_
 
QIE11DigiMap QIE11DigiStorage_
 
edm::EDGetTokenT< QIE11DigiCollectionQIE11DigiToken_
 
edm::InputTag QIE11PileInputTag_
 
std::string ZDCDigiCollectionDM_
 
edm::InputTag ZDCdigiCollectionSig_
 
edm::EDGetTokenT< ZDCDigiCollectionZDCDigiPToken_
 
ZDCDigiMap ZDCDigiStorage_
 
edm::EDGetTokenT< ZDCDigiCollectionZDCDigiToken_
 
edm::InputTag ZDCPileInputTag_
 

Detailed Description

Definition at line 43 of file DataMixingHcalDigiWorker.h.

Member Typedef Documentation

Definition at line 101 of file DataMixingHcalDigiWorker.h.

Definition at line 102 of file DataMixingHcalDigiWorker.h.

Definition at line 103 of file DataMixingHcalDigiWorker.h.

Definition at line 105 of file DataMixingHcalDigiWorker.h.

Definition at line 106 of file DataMixingHcalDigiWorker.h.

Definition at line 104 of file DataMixingHcalDigiWorker.h.

Constructor & Destructor Documentation

DataMixingHcalDigiWorker::DataMixingHcalDigiWorker ( )

Definition at line 208 of file DataMixingHcalDigiWorker.cc.

208 { }
DataMixingHcalDigiWorker::DataMixingHcalDigiWorker ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  iC 
)
explicit

standard constructor

Definition at line 211 of file DataMixingHcalDigiWorker.cc.

References DoZDC_, edm::ParameterSet::getParameter(), HBHEDigiCollectionDM_, HBHEdigiCollectionSig_, HBHEDigiPToken_, HBHEDigiToken_, HBHEPileInputTag_, HFDigiCollectionDM_, HFdigiCollectionSig_, HFDigiPToken_, HFDigiToken_, HFPileInputTag_, HODigiCollectionDM_, HOdigiCollectionSig_, HODigiPToken_, HODigiToken_, HOPileInputTag_, edm::InputTag::label(), QIE10DigiCollectionDM_, QIE10digiCollectionSig_, QIE10DigiPToken_, QIE10DigiToken_, QIE10PileInputTag_, QIE11DigiCollectionDM_, QIE11digiCollectionSig_, QIE11DigiPToken_, QIE11DigiToken_, QIE11PileInputTag_, AlCaHLTBitMon_QueryRunRegistry::string, ZDCDigiCollectionDM_, ZDCdigiCollectionSig_, ZDCDigiPToken_, ZDCDigiToken_, and ZDCPileInputTag_.

211  :
212  label_(ps.getParameter<std::string>("Label"))
213  {
214 
215  // get the subdetector names
216  // this->getSubdetectorNames(); //something like this may be useful to check what we are supposed to do...
217 
218  // declare the products to produce
219 
220  // Hcal
221 
222  HBHEdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HBHEdigiCollectionSig");
223  HOdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HOdigiCollectionSig");
224  HFdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HFdigiCollectionSig");
225  ZDCdigiCollectionSig_ = ps.getParameter<edm::InputTag>("ZDCdigiCollectionSig");
226  QIE10digiCollectionSig_ = ps.getParameter<edm::InputTag>("QIE10digiCollectionSig");
227  QIE11digiCollectionSig_ = ps.getParameter<edm::InputTag>("QIE11digiCollectionSig");
228 
229  HBHEPileInputTag_ = ps.getParameter<edm::InputTag>("HBHEPileInputTag");
230  HOPileInputTag_ = ps.getParameter<edm::InputTag>("HOPileInputTag");
231  HFPileInputTag_ = ps.getParameter<edm::InputTag>("HFPileInputTag");
232  ZDCPileInputTag_ = ps.getParameter<edm::InputTag>("ZDCPileInputTag");
233  QIE10PileInputTag_ = ps.getParameter<edm::InputTag>("QIE10PileInputTag");
234  QIE11PileInputTag_ = ps.getParameter<edm::InputTag>("QIE11PileInputTag");
235 
241 
247 
248  DoZDC_ = false;
249  if(ZDCPileInputTag_.label() != "") DoZDC_ = true;
250 
251  if(DoZDC_) {
254  }
255 
256 
257  HBHEDigiCollectionDM_ = ps.getParameter<std::string>("HBHEDigiCollectionDM");
258  HODigiCollectionDM_ = ps.getParameter<std::string>("HODigiCollectionDM");
259  HFDigiCollectionDM_ = ps.getParameter<std::string>("HFDigiCollectionDM");
260  ZDCDigiCollectionDM_ = ps.getParameter<std::string>("ZDCDigiCollectionDM");
261  QIE10DigiCollectionDM_ = ps.getParameter<std::string>("QIE10DigiCollectionDM");
262  QIE11DigiCollectionDM_ = ps.getParameter<std::string>("QIE11DigiCollectionDM");
263 
264 
265  }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiPToken_
edm::EDGetTokenT< HODigiCollection > HODigiToken_
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiToken_
edm::EDGetTokenT< HODigiCollection > HODigiPToken_
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiPToken_
edm::EDGetTokenT< HFDigiCollection > HFDigiPToken_
edm::EDGetTokenT< HFDigiCollection > HFDigiToken_
std::string const & label() const
Definition: InputTag.h:36
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiToken_
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiPToken_
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiToken_
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiPToken_
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiToken_
DataMixingHcalDigiWorker::~DataMixingHcalDigiWorker ( )
virtual

Default destructor

Definition at line 268 of file DataMixingHcalDigiWorker.cc.

268  {
269  }

Member Function Documentation

void DataMixingHcalDigiWorker::addHcalPileups ( const int  bcr,
const edm::EventPrincipal ep,
unsigned int  EventId,
const edm::EventSetup ES,
ModuleCallingContext const *  mcc 
)

Definition at line 335 of file DataMixingHcalDigiWorker.cc.

References HcalCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), DoZDC_, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), HBHEDigiStorage_, HBHEPileInputTag_, HFDigiStorage_, HFPileInputTag_, HODigiStorage_, HOPileInputTag_, edm::EventPrincipal::id(), LogDebug, QIE10DigiStorage_, QIE10PileInputTag_, QIE11DigiStorage_, QIE11PileInputTag_, edm::SortedCollection< T, SORT >::size(), ZDCDigiStorage_, and ZDCPileInputTag_.

Referenced by edm::DataMixingModule::pileWorker().

336  {
337 
338  LogDebug("DataMixingHcalDigiWorker") <<"\n===============> adding pileups from event "<<ep->id()<<" for bunchcrossing "<<bcr;
339 
340  // get conditions
341  edm::ESHandle<HcalDbService> conditions;
342  ES.get<HcalDbRecord>().get(conditions);
343 
344  convertPileupHcalDigis<HBHEDigiCollection> (*ep, HBHEPileInputTag_, mcc, *conditions, HBHEDigiStorage_);
345  convertPileupHcalDigis<HODigiCollection> (*ep, HOPileInputTag_, mcc, *conditions, HODigiStorage_);
346  convertPileupHcalDigis<HFDigiCollection> (*ep, HFPileInputTag_, mcc, *conditions, HFDigiStorage_);
347  convertPileupHcalDigis<QIE10DigiCollection> (*ep, QIE10PileInputTag_, mcc, *conditions, QIE10DigiStorage_);
348  convertPileupHcalDigis<QIE11DigiCollection> (*ep, QIE11PileInputTag_, mcc, *conditions, QIE11DigiStorage_);
349 
350 
351  // ZDC Next
352 
353  if(DoZDC_) {
354 
355 
356  std::shared_ptr<Wrapper<ZDCDigiCollection> const> ZDCDigisPTR = getProductByTag<ZDCDigiCollection>(*ep, ZDCPileInputTag_, mcc);
357 
358  if(ZDCDigisPTR ) {
359 
360  const ZDCDigiCollection* ZDCDigis = const_cast< ZDCDigiCollection * >(ZDCDigisPTR->product());
361 
362  LogDebug("DataMixingHcalDigiWorker") << "total # ZDC digis: " << ZDCDigis->size();
363 
364  // loop over digis, adding these to the existing maps
365  for(ZDCDigiCollection::const_iterator it = ZDCDigis->begin(); it != ZDCDigis->end(); ++it) {
366 
367  // calibration, for future reference: (same block for all Hcal types) ZDC is different
368  HcalZDCDetId cell = it->id();
369  const HcalQIECoder* channelCoder = conditions->getHcalCoder (cell);
370  const HcalQIEShape* shape = conditions->getHcalShape (channelCoder); // this one is generic
371  HcalCoderDb coder (*channelCoder, *shape);
372 
373  CaloSamples tool;
374  coder.adc2fC((*it),tool);
375 
376  ZDCDigiStorage_.insert(ZDCDigiMap::value_type( (it->id()), tool ));
377 
378 #ifdef DEBUG
379  // Commented out because this does not compile anymore
380  // LogDebug("DataMixingHcalDigiWorker") << "processed ZDCDigi with rawId: "
381  // << it->id() << "\n"
382  // << " digi energy: " << it->energy();
383 #endif
384  }
385  }
386  }
387 
388 
389  }
#define LogDebug(id)
EventID const & id() const
std::vector< ZDCDataFrame >::const_iterator const_iterator
const_iterator end() const
const T & get() const
Definition: EventSetup.h:55
size_type size() const
const_iterator begin() const
void DataMixingHcalDigiWorker::addHcalSignals ( const edm::Event e,
const edm::EventSetup ES 
)

Definition at line 271 of file DataMixingHcalDigiWorker.cc.

References HcalCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), DoZDC_, MillePedeFileConverter_cfg::e, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), HBHEDigiStorage_, HBHEDigiToken_, HFDigiStorage_, HFDigiToken_, HODigiStorage_, HODigiToken_, edm::EventBase::id(), LogDebug, edm::Handle< T >::product(), QIE10DigiStorage_, QIE10DigiToken_, QIE11DigiStorage_, QIE11DigiToken_, edm::SortedCollection< T, SORT >::size(), ZDCDigiStorage_, and ZDCDigiToken_.

Referenced by edm::DataMixingModule::addSignals().

271  {
272  // Calibration stuff will look like this:
273  // get conditions
274  edm::ESHandle<HcalDbService> conditions;
275  ES.get<HcalDbRecord>().get(conditions);
276 
277 
278  // fill in maps of hits
279 
280  LogInfo("DataMixingHcalDigiWorker")<<"===============> adding MC signals for "<<e.id();
281  convertSignalHcalDigis<HBHEDigiCollection> (e, HBHEDigiToken_, *conditions, HBHEDigiStorage_);
282  convertSignalHcalDigis<HODigiCollection> (e, HODigiToken_, *conditions, HODigiStorage_);
283  convertSignalHcalDigis<HFDigiCollection> (e, HFDigiToken_, *conditions, HFDigiStorage_);
284  convertSignalHcalDigis<QIE10DigiCollection> (e, QIE10DigiToken_, *conditions, QIE10DigiStorage_);
285  convertSignalHcalDigis<QIE11DigiCollection> (e, QIE11DigiToken_, *conditions, QIE11DigiStorage_);
286 
287 
288 
289  // ZDC next
290 
291  if(DoZDC_){
292 
293  Handle< ZDCDigiCollection > pZDCDigis;
294 
295  const ZDCDigiCollection* ZDCDigis = 0;
296 
297  if( e.getByToken( ZDCDigiToken_, pZDCDigis) ) {
298  ZDCDigis = pZDCDigis.product(); // get a ptr to the product
299 #ifdef DEBUG
300  LogDebug("DataMixingHcalDigiWorker") << "total # ZDC digis: " << ZDCDigis->size();
301 #endif
302  }
303 
304 
305  if (ZDCDigis)
306  {
307  // loop over digis, storing them in a map so we can add pileup later
308  for(ZDCDigiCollection::const_iterator it = ZDCDigis->begin(); it != ZDCDigis->end(); ++it) {
309 
310  // calibration, for future reference: (same block for all Hcal types) ZDC is different
311  HcalZDCDetId cell = it->id();
312  // const HcalCalibrations& calibrations=conditions->getHcalCalibrations(cell);
313  const HcalQIECoder* channelCoder = conditions->getHcalCoder (cell);
314  const HcalQIEShape* shape = conditions->getHcalShape (channelCoder); // this one is generic
315  HcalCoderDb coder (*channelCoder, *shape);
316 
317  CaloSamples tool;
318  coder.adc2fC((*it),tool);
319 
320  ZDCDigiStorage_.insert(ZDCDigiMap::value_type( ( it->id() ), tool ));
321 
322 #ifdef DEBUG
323  // Commented out because this does not compile anymore
324  // LogDebug("DataMixingHcalDigiWorker") << "processed ZDCDigi with rawId: "
325  // << it->id() << "\n"
326  // << " digi energy: " << it->energy();
327 #endif
328 
329  }
330  }
331  }
332 
333  } // end of addHCalSignals
#define LogDebug(id)
edm::EDGetTokenT< HODigiCollection > HODigiToken_
edm::EDGetTokenT< ZDCDigiCollection > ZDCDigiToken_
std::vector< ZDCDataFrame >::const_iterator const_iterator
const_iterator end() const
const T & get() const
Definition: EventSetup.h:55
edm::EDGetTokenT< HFDigiCollection > HFDigiToken_
edm::EDGetTokenT< QIE11DigiCollection > QIE11DigiToken_
edm::EventID id() const
Definition: EventBase.h:60
size_type size() const
edm::EDGetTokenT< QIE10DigiCollection > QIE10DigiToken_
const_iterator begin() const
edm::EDGetTokenT< HBHEDigiCollection > HBHEDigiToken_
void DataMixingHcalDigiWorker::putHcal ( edm::Event e,
const edm::EventSetup ES 
)

Definition at line 391 of file DataMixingHcalDigiWorker.cc.

References HcalCoderDb::fC2adc(), edm::EventSetup::get(), HcalDbService::getHcalCoder(), HcalDbService::getHcalShape(), HBHEDigiCollectionDM_, HBHEDigiStorage_, HFDigiCollectionDM_, HFDigiStorage_, HODigiCollectionDM_, HODigiStorage_, CaloSamples::id(), hpstanc_transforms::max, eostools::move(), edm::Event::put(), QIE10DigiCollectionDM_, QIE10DigiStorage_, QIE11DigiCollectionDM_, QIE11DigiStorage_, CaloSamples::size(), findQualityFiles::size, ZDCDigiCollectionDM_, and ZDCDigiStorage_.

Referenced by edm::DataMixingModule::put().

391  {
392  edm::ESHandle<HcalDbService> conditions;
393  ES.get<HcalDbRecord>().get(conditions);
394 
395  // collection of digis to put in the event
396  std::unique_ptr< HBHEDigiCollection > HBHEdigis = buildHcalDigis<HBHEDigiCollection> (HBHEDigiStorage_, *conditions);
397  std::unique_ptr< HODigiCollection > HOdigis = buildHcalDigis<HODigiCollection> (HODigiStorage_, *conditions);
398  std::unique_ptr< HFDigiCollection > HFdigis = buildHcalDigis<HFDigiCollection> (HFDigiStorage_, *conditions);
399  std::unique_ptr< QIE10DigiCollection > QIE10digis = buildHcalDigis<QIE10DigiCollection> (QIE10DigiStorage_, *conditions);
400  std::unique_ptr< QIE11DigiCollection > QIE11digis = buildHcalDigis<QIE11DigiCollection> (QIE11DigiStorage_, *conditions);
401  std::unique_ptr< ZDCDigiCollection > ZDCdigis( new ZDCDigiCollection );
402 
403  // loop over the maps we have, re-making individual hits or digis if necessary.
404  DetId formerID = 0;
405  DetId currentID;
406 
407  double fC_new;
408  double fC_old;
409  double fC_sum;
410 
411 
412  // ZDC next...
413 
414  // loop over the maps we have, re-making individual hits or digis if necessary.
415  formerID = 0;
416  CaloSamples ZDC_old;
417 
418  ZDCDigiMap::const_iterator iZDCchk;
419 
420  for(ZDCDigiMap::const_iterator iZDC = ZDCDigiStorage_.begin(); iZDC != ZDCDigiStorage_.end(); ++iZDC) {
421 
422  currentID = iZDC->first;
423 
424  if (currentID == formerID) { // we have to add these digis together
425 
426  //loop over digi samples in each CaloSample
427  unsigned int sizenew = (iZDC->second).size();
428  unsigned int sizeold = ZDC_old.size();
429 
430  unsigned int max_samp = std::max(sizenew, sizeold);
431 
432  CaloSamples ZDC_bigger(currentID,max_samp);
433 
434  bool usenew = false;
435 
436  if(sizenew > sizeold) usenew = true;
437 
438  // samples from different events can be of different lengths - sum all
439  // that overlap.
440 
441  for(unsigned int isamp = 0; isamp<max_samp; isamp++) {
442  if(isamp < sizenew) {
443  fC_new = (iZDC->second)[isamp];
444  }
445  else { fC_new = 0;}
446 
447  if(isamp < sizeold) {
448  fC_old = ZDC_old[isamp];
449  }
450  else { fC_old = 0;}
451 
452  // add values
453  fC_sum = fC_new + fC_old;
454 
455  if(usenew) {ZDC_bigger[isamp] = fC_sum; }
456  else { ZDC_old[isamp] = fC_sum; } // overwrite old sample, adding new info
457 
458  }
459  if(usenew) ZDC_old = ZDC_bigger; // save new, larger sized sample in "old" slot
460 
461  }
462  else {
463  if(formerID>0) {
464  // make new digi
465  ZDCdigis->push_back(ZDCDataFrame(formerID));
466 
467  // set up information to convert back
468 
469  HcalZDCDetId cell = ZDC_old.id();
470  const HcalQIECoder* channelCoder = conditions->getHcalCoder (cell);
471  const HcalQIEShape* shape = conditions->getHcalShape (channelCoder); // this one is generic
472  HcalCoderDb coder (*channelCoder, *shape);
473 
474  unsigned int sizeold = ZDC_old.size();
475  for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
476  coder.fC2adc(ZDC_old,(ZDCdigis->back()), 1 ); // as per simulation, capid=1
477  }
478  }
479  //save pointers for next iteration
480  formerID = currentID;
481  ZDC_old = iZDC->second;
482  }
483 
484  iZDCchk = iZDC;
485  if((++iZDCchk) == ZDCDigiStorage_.end()) { //make sure not to lose the last one
486  // make new digi
487  ZDCdigis->push_back(ZDCDataFrame(currentID));
488 
489  // set up information to convert back
490 
491  HcalZDCDetId cell = (iZDC->second).id();
492  const HcalQIECoder* channelCoder = conditions->getHcalCoder (cell);
493  const HcalQIEShape* shape = conditions->getHcalShape (channelCoder); // this one is generic
494  HcalCoderDb coder (*channelCoder, *shape);
495 
496  unsigned int sizeold = (iZDC->second).size();
497  for(unsigned int isamp = 0; isamp<sizeold; isamp++) {
498  coder.fC2adc(ZDC_old,(ZDCdigis->back()), 1 ); // as per simulation, capid=1
499  }
500  }
501  }
502 
503 
504 
505  //done merging
506 
507  // put the collection of recunstructed hits in the event
508  LogInfo("DataMixingHcalDigiWorker") << "total # HBHE Merged digis: " << HBHEdigis->size() ;
509  LogInfo("DataMixingHcalDigiWorker") << "total # HO Merged digis: " << HOdigis->size() ;
510  LogInfo("DataMixingHcalDigiWorker") << "total # HF Merged digis: " << HFdigis->size() ;
511  LogInfo("DataMixingHcalDigiWorker") << "total # QIE10 Merged digis: " << QIE10digis->size() ;
512  LogInfo("DataMixingHcalDigiWorker") << "total # QIE11 Merged digis: " << QIE11digis->size() ;
513  LogInfo("DataMixingHcalDigiWorker") << "total # ZDC Merged digis: " << ZDCdigis->size() ;
514 
515 
516  e.put(std::move(HBHEdigis), HBHEDigiCollectionDM_);
517  e.put(std::move(HOdigis), HODigiCollectionDM_);
518  e.put(std::move(HFdigis), HFDigiCollectionDM_);
519  e.put(std::move(QIE10digis), QIE10DigiCollectionDM_);
520  e.put(std::move(QIE11digis), QIE11DigiCollectionDM_);
521  e.put(std::move(ZDCdigis), ZDCDigiCollectionDM_);
522 
523  // clear local storage after this event
524  HBHEDigiStorage_.clear();
525  HODigiStorage_.clear();
526  HFDigiStorage_.clear();
527  QIE10DigiStorage_.clear();
528  QIE11DigiStorage_.clear();
529  ZDCDigiStorage_.clear();
530 
531  }
size
Write out results.
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Definition: Event.h:122
Definition: DetId.h:18
int size() const
get the size
Definition: CaloSamples.h:24
const T & get() const
Definition: EventSetup.h:55
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
DetId id() const
get the (generic) id
Definition: CaloSamples.h:21
def move(src, dest)
Definition: eostools.py:510

Member Data Documentation

bool edm::DataMixingHcalDigiWorker::DoZDC_
private
std::string edm::DataMixingHcalDigiWorker::HBHEDigiCollectionDM_
private

Definition at line 94 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::HBHEdigiCollectionSig_
private

Definition at line 65 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<HBHEDigiCollection> edm::DataMixingHcalDigiWorker::HBHEDigiPToken_
private

Definition at line 86 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

HBHEDigiMap edm::DataMixingHcalDigiWorker::HBHEDigiStorage_
private

Definition at line 108 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<HBHEDigiCollection> edm::DataMixingHcalDigiWorker::HBHEDigiToken_
private

Definition at line 79 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::HBHEPileInputTag_
private

Definition at line 72 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().

std::string edm::DataMixingHcalDigiWorker::HFDigiCollectionDM_
private

Definition at line 96 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::HFdigiCollectionSig_
private

Definition at line 67 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<HFDigiCollection> edm::DataMixingHcalDigiWorker::HFDigiPToken_
private

Definition at line 88 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

HFDigiMap edm::DataMixingHcalDigiWorker::HFDigiStorage_
private

Definition at line 109 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<HFDigiCollection> edm::DataMixingHcalDigiWorker::HFDigiToken_
private

Definition at line 81 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::HFPileInputTag_
private

Definition at line 74 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().

std::string edm::DataMixingHcalDigiWorker::HODigiCollectionDM_
private

Definition at line 95 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::HOdigiCollectionSig_
private

Definition at line 66 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<HODigiCollection> edm::DataMixingHcalDigiWorker::HODigiPToken_
private

Definition at line 87 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

HODigiMap edm::DataMixingHcalDigiWorker::HODigiStorage_
private

Definition at line 110 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<HODigiCollection> edm::DataMixingHcalDigiWorker::HODigiToken_
private

Definition at line 80 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::HOPileInputTag_
private

Definition at line 73 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().

std::string edm::DataMixingHcalDigiWorker::label_
private
std::string edm::DataMixingHcalDigiWorker::QIE10DigiCollectionDM_
private

Definition at line 98 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::QIE10digiCollectionSig_
private

Definition at line 69 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<QIE10DigiCollection> edm::DataMixingHcalDigiWorker::QIE10DigiPToken_
private

Definition at line 90 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

QIE10DigiMap edm::DataMixingHcalDigiWorker::QIE10DigiStorage_
private

Definition at line 112 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<QIE10DigiCollection> edm::DataMixingHcalDigiWorker::QIE10DigiToken_
private

Definition at line 83 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::QIE10PileInputTag_
private

Definition at line 76 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().

std::string edm::DataMixingHcalDigiWorker::QIE11DigiCollectionDM_
private

Definition at line 99 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::QIE11digiCollectionSig_
private

Definition at line 70 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<QIE11DigiCollection> edm::DataMixingHcalDigiWorker::QIE11DigiPToken_
private

Definition at line 91 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

QIE11DigiMap edm::DataMixingHcalDigiWorker::QIE11DigiStorage_
private

Definition at line 113 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<QIE11DigiCollection> edm::DataMixingHcalDigiWorker::QIE11DigiToken_
private

Definition at line 84 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::QIE11PileInputTag_
private

Definition at line 77 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().

std::string edm::DataMixingHcalDigiWorker::ZDCDigiCollectionDM_
private

Definition at line 97 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker(), and putHcal().

edm::InputTag edm::DataMixingHcalDigiWorker::ZDCdigiCollectionSig_
private

Definition at line 68 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

edm::EDGetTokenT<ZDCDigiCollection> edm::DataMixingHcalDigiWorker::ZDCDigiPToken_
private

Definition at line 89 of file DataMixingHcalDigiWorker.h.

Referenced by DataMixingHcalDigiWorker().

ZDCDigiMap edm::DataMixingHcalDigiWorker::ZDCDigiStorage_
private

Definition at line 111 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), addHcalSignals(), and putHcal().

edm::EDGetTokenT<ZDCDigiCollection> edm::DataMixingHcalDigiWorker::ZDCDigiToken_
private

Definition at line 82 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().

edm::InputTag edm::DataMixingHcalDigiWorker::ZDCPileInputTag_
private

Definition at line 75 of file DataMixingHcalDigiWorker.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().