CMS 3D CMS Logo

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

#include <DataMixingHcalDigiWorkerProd.h>

Public Member Functions

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

Private Attributes

std::string HBHEDigiCollectionDM_
 
edm::InputTag HBHEPileInputTag_
 
std::string HFDigiCollectionDM_
 
edm::InputTag HFPileInputTag_
 
std::string HODigiCollectionDM_
 
edm::InputTag HOPileInputTag_
 
std::string label_
 
HcalDigiProducermyHcalDigitizer_
 
std::string QIE10DigiCollectionDM_
 
edm::InputTag QIE10PileInputTag_
 
std::string QIE11DigiCollectionDM_
 
edm::InputTag QIE11PileInputTag_
 
HBHESignalGenerator theHBHESignalGenerator
 
HFSignalGenerator theHFSignalGenerator
 
HOSignalGenerator theHOSignalGenerator
 
QIE10SignalGenerator theQIE10SignalGenerator
 
QIE11SignalGenerator theQIE11SignalGenerator
 
ZDCSignalGenerator theZDCSignalGenerator
 
edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollectiontok_hbhe_
 
edm::EDGetTokenT< HFDigitizerTraits::DigiCollectiontok_hf_
 
edm::EDGetTokenT< HODigitizerTraits::DigiCollectiontok_ho_
 
edm::EDGetTokenT< HcalQIE10DigitizerTraits::DigiCollectiontok_qie10_
 
edm::EDGetTokenT< HcalQIE11DigitizerTraits::DigiCollectiontok_qie11_
 
edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollectiontok_zdc_
 
std::string ZDCDigiCollectionDM_
 
edm::InputTag ZDCPileInputTag_
 

Detailed Description

Definition at line 43 of file DataMixingHcalDigiWorkerProd.h.

Constructor & Destructor Documentation

◆ DataMixingHcalDigiWorkerProd()

DataMixingHcalDigiWorkerProd::DataMixingHcalDigiWorkerProd ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  iC 
)
explicit

standard constructor

Definition at line 19 of file DataMixingHcalDigiWorkerProd.cc.

20  : HBHEPileInputTag_(ps.getParameter<edm::InputTag>("HBHEPileInputTag")),
21  HOPileInputTag_(ps.getParameter<edm::InputTag>("HOPileInputTag")),
22  HFPileInputTag_(ps.getParameter<edm::InputTag>("HFPileInputTag")),
23  ZDCPileInputTag_(ps.getParameter<edm::InputTag>("ZDCPileInputTag")),
24  QIE10PileInputTag_(ps.getParameter<edm::InputTag>("QIE10PileInputTag")),
25  QIE11PileInputTag_(ps.getParameter<edm::InputTag>("QIE11PileInputTag")),
26  label_(ps.getParameter<std::string>("Label")) {
27  //
34 
41 
42  // get the subdetector names
43  // this->getSubdetectorNames(); //something like this may be useful to
44  // check what we are supposed to do...
45 
46  // declare the products to produce
47 
48  // Hcal
49  // Signal inputs now handled by HcalDigitizer - gets pSimHits directly
50 
51  HBHEDigiCollectionDM_ = ps.getParameter<std::string>("HBHEDigiCollectionDM");
52  HODigiCollectionDM_ = ps.getParameter<std::string>("HODigiCollectionDM");
53  HFDigiCollectionDM_ = ps.getParameter<std::string>("HFDigiCollectionDM");
54  ZDCDigiCollectionDM_ = ps.getParameter<std::string>("ZDCDigiCollectionDM");
55  QIE10DigiCollectionDM_ = ps.getParameter<std::string>("QIE10DigiCollectionDM");
56  QIE11DigiCollectionDM_ = ps.getParameter<std::string>("QIE11DigiCollectionDM");
57 
58  // initialize HcalDigitizer here...
59 
60  myHcalDigitizer_ = new HcalDigiProducer(ps, iC);
61 
68  }

References edm::ParameterSet::getParameter(), HBHEDigiCollectionDM_, HBHEPileInputTag_, HFDigiCollectionDM_, HFPileInputTag_, HODigiCollectionDM_, HOPileInputTag_, myHcalDigitizer_, QIE10DigiCollectionDM_, QIE10PileInputTag_, QIE11DigiCollectionDM_, QIE11PileInputTag_, HcalDigiProducer::setHBHENoiseSignalGenerator(), HcalDigiProducer::setHFNoiseSignalGenerator(), HcalDigiProducer::setHONoiseSignalGenerator(), HcalDigiProducer::setQIE10NoiseSignalGenerator(), HcalDigiProducer::setQIE11NoiseSignalGenerator(), HcalDigiProducer::setZDCNoiseSignalGenerator(), AlCaHLTBitMon_QueryRunRegistry::string, theHBHESignalGenerator, theHFSignalGenerator, theHOSignalGenerator, theQIE10SignalGenerator, theQIE11SignalGenerator, theZDCSignalGenerator, tok_hbhe_, tok_hf_, tok_ho_, tok_qie10_, tok_qie11_, tok_zdc_, ZDCDigiCollectionDM_, and ZDCPileInputTag_.

◆ ~DataMixingHcalDigiWorkerProd()

DataMixingHcalDigiWorkerProd::~DataMixingHcalDigiWorkerProd ( )
virtual

Default destructor

Definition at line 71 of file DataMixingHcalDigiWorkerProd.cc.

71 { delete myHcalDigitizer_; }

References myHcalDigitizer_.

Member Function Documentation

◆ addHcalPileups()

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

◆ addHcalSignals()

void DataMixingHcalDigiWorkerProd::addHcalSignals ( const edm::Event e,
const edm::EventSetup ES 
)

Definition at line 81 of file DataMixingHcalDigiWorkerProd.cc.

81  {
83 
84  } // end of addHcalSignals

References HcalDigiProducer::accumulate(), MillePedeFileConverter_cfg::e, and myHcalDigitizer_.

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

◆ beginRun()

void DataMixingHcalDigiWorkerProd::beginRun ( const edm::Run run,
const edm::EventSetup ES 
)

◆ initializeEvent()

void DataMixingHcalDigiWorkerProd::initializeEvent ( const edm::Event e,
const edm::EventSetup ES 
)

◆ putHcal()

void DataMixingHcalDigiWorkerProd::putHcal ( edm::Event e,
const edm::EventSetup ES 
)

Definition at line 110 of file DataMixingHcalDigiWorkerProd.cc.

110  {
111  // Digitize
112  // edm::Service<edm::RandomNumberGenerator> rng;
113  // CLHEP::HepRandomEngine* engine = &rng->getEngine(e.streamID());
114 
115  // myHcalDigitizer_->initializeEvent( e, ES );
116 
117  // myHcalDigitizer_->finalizeEvent( e, ES, engine );
119  }

References MillePedeFileConverter_cfg::e, HcalDigiProducer::finalizeEvent(), and myHcalDigitizer_.

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

Member Data Documentation

◆ HBHEDigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::HBHEDigiCollectionDM_
private

Definition at line 72 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ HBHEPileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::HBHEPileInputTag_
private

Definition at line 66 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ HFDigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::HFDigiCollectionDM_
private

Definition at line 75 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ HFPileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::HFPileInputTag_
private

Definition at line 68 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ HODigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::HODigiCollectionDM_
private

Definition at line 74 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ HOPileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::HOPileInputTag_
private

Definition at line 67 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ label_

std::string edm::DataMixingHcalDigiWorkerProd::label_
private

◆ myHcalDigitizer_

HcalDigiProducer* edm::DataMixingHcalDigiWorkerProd::myHcalDigitizer_
private

◆ QIE10DigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::QIE10DigiCollectionDM_
private

Definition at line 77 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ QIE10PileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::QIE10PileInputTag_
private

Definition at line 70 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ QIE11DigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::QIE11DigiCollectionDM_
private

Definition at line 79 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ QIE11PileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::QIE11PileInputTag_
private

Definition at line 71 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ theHBHESignalGenerator

HBHESignalGenerator edm::DataMixingHcalDigiWorkerProd::theHBHESignalGenerator
private

Definition at line 90 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ theHFSignalGenerator

HFSignalGenerator edm::DataMixingHcalDigiWorkerProd::theHFSignalGenerator
private

Definition at line 92 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ theHOSignalGenerator

HOSignalGenerator edm::DataMixingHcalDigiWorkerProd::theHOSignalGenerator
private

Definition at line 91 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ theQIE10SignalGenerator

QIE10SignalGenerator edm::DataMixingHcalDigiWorkerProd::theQIE10SignalGenerator
private

Definition at line 94 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ theQIE11SignalGenerator

QIE11SignalGenerator edm::DataMixingHcalDigiWorkerProd::theQIE11SignalGenerator
private

Definition at line 95 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ theZDCSignalGenerator

ZDCSignalGenerator edm::DataMixingHcalDigiWorkerProd::theZDCSignalGenerator
private

Definition at line 93 of file DataMixingHcalDigiWorkerProd.h.

Referenced by addHcalPileups(), and DataMixingHcalDigiWorkerProd().

◆ tok_hbhe_

edm::EDGetTokenT<HBHEDigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_hbhe_
private

Definition at line 82 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ tok_hf_

edm::EDGetTokenT<HFDigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_hf_
private

Definition at line 84 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ tok_ho_

edm::EDGetTokenT<HODigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_ho_
private

Definition at line 83 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ tok_qie10_

edm::EDGetTokenT<HcalQIE10DigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_qie10_
private

Definition at line 86 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ tok_qie11_

edm::EDGetTokenT<HcalQIE11DigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_qie11_
private

Definition at line 87 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ tok_zdc_

edm::EDGetTokenT<ZDCDigitizerTraits::DigiCollection> edm::DataMixingHcalDigiWorkerProd::tok_zdc_
private

Definition at line 85 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ ZDCDigiCollectionDM_

std::string edm::DataMixingHcalDigiWorkerProd::ZDCDigiCollectionDM_
private

Definition at line 76 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

◆ ZDCPileInputTag_

edm::InputTag edm::DataMixingHcalDigiWorkerProd::ZDCPileInputTag_
private

Definition at line 69 of file DataMixingHcalDigiWorkerProd.h.

Referenced by DataMixingHcalDigiWorkerProd().

edm::DataMixingHcalDigiWorkerProd::ZDCPileInputTag_
edm::InputTag ZDCPileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:69
HcalDataFrameContainer
Definition: HcalDigiCollections.h:35
edm::DataMixingHcalDigiWorkerProd::theQIE10SignalGenerator
QIE10SignalGenerator theQIE10SignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:94
edm::DataMixingHcalDigiWorkerProd::tok_qie10_
edm::EDGetTokenT< HcalQIE10DigitizerTraits::DigiCollection > tok_qie10_
Definition: DataMixingHcalDigiWorkerProd.h:86
edm::DataMixingHcalDigiWorkerProd::QIE10DigiCollectionDM_
std::string QIE10DigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:77
edm::DataMixingHcalDigiWorkerProd::tok_hf_
edm::EDGetTokenT< HFDigitizerTraits::DigiCollection > tok_hf_
Definition: DataMixingHcalDigiWorkerProd.h:84
edm::DataMixingHcalDigiWorkerProd::tok_zdc_
edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollection > tok_zdc_
Definition: DataMixingHcalDigiWorkerProd.h:85
edm::DataMixingHcalDigiWorkerProd::HFPileInputTag_
edm::InputTag HFPileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:68
edm::SortedCollection
Definition: SortedCollection.h:49
HcalDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:28
HcalSignalGenerator::initializeEvent
void initializeEvent(const edm::Event *event, const edm::EventSetup *eventSetup)
Definition: HcalSignalGenerator.h:43
QIE10SignalGenerator
HcalSignalGenerator< HcalQIE10DigitizerTraits > QIE10SignalGenerator
Definition: HcalSignalGenerator.h:189
HcalDigiProducer::setHBHENoiseSignalGenerator
void setHBHENoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:53
QIE11SignalGenerator
HcalSignalGenerator< HcalQIE11DigitizerTraits > QIE11SignalGenerator
Definition: HcalSignalGenerator.h:190
edm::DataMixingHcalDigiWorkerProd::theZDCSignalGenerator
ZDCSignalGenerator theZDCSignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:93
HcalDigiProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:49
HFSignalGenerator
HcalSignalGenerator< HFDigitizerTraits > HFSignalGenerator
Definition: HcalSignalGenerator.h:187
HcalDigiProducer::setZDCNoiseSignalGenerator
void setZDCNoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:65
edm::DataMixingHcalDigiWorkerProd::HOPileInputTag_
edm::InputTag HOPileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:67
HcalDigiProducer::setHONoiseSignalGenerator
void setHONoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:61
edm::DataMixingHcalDigiWorkerProd::tok_hbhe_
edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollection > tok_hbhe_
Definition: DataMixingHcalDigiWorkerProd.h:82
HcalDigiProducer::setHFNoiseSignalGenerator
void setHFNoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:57
HcalDigiProducer::accumulate
void accumulate(edm::Event const &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:39
edm::DataMixingHcalDigiWorkerProd::theHBHESignalGenerator
HBHESignalGenerator theHBHESignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:90
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::DataMixingHcalDigiWorkerProd::HFDigiCollectionDM_
std::string HFDigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:75
edm::DataMixingHcalDigiWorkerProd::QIE10PileInputTag_
edm::InputTag QIE10PileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:70
edm::DataMixingHcalDigiWorkerProd::QIE11PileInputTag_
edm::InputTag QIE11PileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:71
edm::DataMixingHcalDigiWorkerProd::ZDCDigiCollectionDM_
std::string ZDCDigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:76
edm::DataMixingHcalDigiWorkerProd::HBHEPileInputTag_
edm::InputTag HBHEPileInputTag_
Definition: DataMixingHcalDigiWorkerProd.h:66
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:233
HOSignalGenerator
HcalSignalGenerator< HODigitizerTraits > HOSignalGenerator
Definition: HcalSignalGenerator.h:186
edm::DataMixingHcalDigiWorkerProd::HODigiCollectionDM_
std::string HODigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:74
HcalDigiProducer::setQIE10NoiseSignalGenerator
void setQIE10NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:69
edm::DataMixingHcalDigiWorkerProd::theHOSignalGenerator
HOSignalGenerator theHOSignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:91
HBHESignalGenerator
HcalSignalGenerator< HBHEDigitizerTraits > HBHESignalGenerator
Definition: HcalSignalGenerator.h:185
edm::DataMixingHcalDigiWorkerProd::theQIE11SignalGenerator
QIE11SignalGenerator theQIE11SignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:95
writedatasetfile.run
run
Definition: writedatasetfile.py:27
HcalDigiProducer::setQIE11NoiseSignalGenerator
void setQIE11NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:73
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
HcalDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:34
ZDCSignalGenerator
HcalSignalGenerator< ZDCDigitizerTraits > ZDCSignalGenerator
Definition: HcalSignalGenerator.h:188
HcalDigiProducer
Definition: HcalDigiProducer.h:20
edm::DataMixingHcalDigiWorkerProd::theHFSignalGenerator
HFSignalGenerator theHFSignalGenerator
Definition: DataMixingHcalDigiWorkerProd.h:92
HcalSignalGenerator::fill
virtual void fill(edm::ModuleCallingContext const *mcc)
Definition: HcalSignalGenerator.h:56
edm::DataMixingHcalDigiWorkerProd::myHcalDigitizer_
HcalDigiProducer * myHcalDigitizer_
Definition: DataMixingHcalDigiWorkerProd.h:89
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition: SiStripBadComponentsDQMServiceTemplate_cfg.py:86
edm::DataMixingHcalDigiWorkerProd::tok_ho_
edm::EDGetTokenT< HODigitizerTraits::DigiCollection > tok_ho_
Definition: DataMixingHcalDigiWorkerProd.h:83
edm::InputTag
Definition: InputTag.h:15
edm::DataMixingHcalDigiWorkerProd::label_
std::string label_
Definition: DataMixingHcalDigiWorkerProd.h:97
edm::DataMixingHcalDigiWorkerProd::tok_qie11_
edm::EDGetTokenT< HcalQIE11DigitizerTraits::DigiCollection > tok_qie11_
Definition: DataMixingHcalDigiWorkerProd.h:87
edm::DataMixingHcalDigiWorkerProd::QIE11DigiCollectionDM_
std::string QIE11DigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:79
edm::DataMixingHcalDigiWorkerProd::HBHEDigiCollectionDM_
std::string HBHEDigiCollectionDM_
Definition: DataMixingHcalDigiWorkerProd.h:72
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37