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 207 of file DataMixingHcalDigiWorker.cc.

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

standard constructor

Definition at line 210 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_.

210  :
211  label_(ps.getParameter<std::string>("Label"))
212  {
213 
214  // get the subdetector names
215  // this->getSubdetectorNames(); //something like this may be useful to check what we are supposed to do...
216 
217  // declare the products to produce
218 
219  // Hcal
220 
221  HBHEdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HBHEdigiCollectionSig");
222  HOdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HOdigiCollectionSig");
223  HFdigiCollectionSig_ = ps.getParameter<edm::InputTag>("HFdigiCollectionSig");
224  ZDCdigiCollectionSig_ = ps.getParameter<edm::InputTag>("ZDCdigiCollectionSig");
225  QIE10digiCollectionSig_ = ps.getParameter<edm::InputTag>("QIE10digiCollectionSig");
226  QIE11digiCollectionSig_ = ps.getParameter<edm::InputTag>("QIE11digiCollectionSig");
227 
228  HBHEPileInputTag_ = ps.getParameter<edm::InputTag>("HBHEPileInputTag");
229  HOPileInputTag_ = ps.getParameter<edm::InputTag>("HOPileInputTag");
230  HFPileInputTag_ = ps.getParameter<edm::InputTag>("HFPileInputTag");
231  ZDCPileInputTag_ = ps.getParameter<edm::InputTag>("ZDCPileInputTag");
232  QIE10PileInputTag_ = ps.getParameter<edm::InputTag>("QIE10PileInputTag");
233  QIE11PileInputTag_ = ps.getParameter<edm::InputTag>("QIE11PileInputTag");
234 
240 
246 
247  DoZDC_ = false;
248  if(ZDCPileInputTag_.label() != "") DoZDC_ = true;
249 
250  if(DoZDC_) {
253  }
254 
255 
256  HBHEDigiCollectionDM_ = ps.getParameter<std::string>("HBHEDigiCollectionDM");
257  HODigiCollectionDM_ = ps.getParameter<std::string>("HODigiCollectionDM");
258  HFDigiCollectionDM_ = ps.getParameter<std::string>("HFDigiCollectionDM");
259  ZDCDigiCollectionDM_ = ps.getParameter<std::string>("ZDCDigiCollectionDM");
260  QIE10DigiCollectionDM_ = ps.getParameter<std::string>("QIE10DigiCollectionDM");
261  QIE11DigiCollectionDM_ = ps.getParameter<std::string>("QIE11DigiCollectionDM");
262 
263 
264  }
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 267 of file DataMixingHcalDigiWorker.cc.

267  {
268  }

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 334 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().

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

Definition at line 270 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().

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

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

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

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