CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PreMixingHcalWorker Class Reference
Inheritance diagram for PreMixingHcalWorker:
PreMixingWorker

Public Member Functions

void addPileups (const PileUpEventPrincipal &, const edm::EventSetup &ES) override
 
void addSignals (const edm::Event &e, const edm::EventSetup &ES) override
 
void beginRun (const edm::Run &run, const edm::EventSetup &ES) override
 
void initializeEvent (const edm::Event &e, const edm::EventSetup &ES) override
 
PreMixingHcalWorkeroperator= (const PreMixingHcalWorker &)=delete
 
 PreMixingHcalWorker (const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC)
 
 PreMixingHcalWorker (const PreMixingHcalWorker &)=delete
 
void put (edm::Event &e, const edm::EventSetup &ES, std::vector< PileupSummaryInfo > const &ps, int bs) override
 
 ~PreMixingHcalWorker () override=default
 
- Public Member Functions inherited from PreMixingWorker
virtual void beginLuminosityBlock (edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup)
 
virtual void endRun ()
 
virtual void finalizeBunchCrossing (edm::Event &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
 
virtual void initializeBunchCrossing (edm::Event const &iEvent, edm::EventSetup const &iSetup, int bunchCrossing)
 
 PreMixingWorker ()=default
 
virtual ~PreMixingWorker ()=default
 

Private Attributes

std::string HBHEDigiCollectionDM_
 
edm::InputTag HBHEPileInputTag_
 
std::string HFDigiCollectionDM_
 
edm::InputTag HFPileInputTag_
 
std::string HODigiCollectionDM_
 
edm::InputTag HOPileInputTag_
 
HcalDigiProducer myHcalDigitizer_
 
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 22 of file PreMixingHcalWorker.cc.

Constructor & Destructor Documentation

◆ PreMixingHcalWorker() [1/2]

PreMixingHcalWorker::PreMixingHcalWorker ( const edm::ParameterSet ps,
edm::ProducesCollector  producesCollector,
edm::ConsumesCollector &&  iC 
)

Definition at line 70 of file PreMixingHcalWorker.cc.

73  : HBHEPileInputTag_(ps.getParameter<edm::InputTag>("HBHEPileInputTag")),
74  HOPileInputTag_(ps.getParameter<edm::InputTag>("HOPileInputTag")),
75  HFPileInputTag_(ps.getParameter<edm::InputTag>("HFPileInputTag")),
76  ZDCPileInputTag_(ps.getParameter<edm::InputTag>("ZDCPileInputTag")),
77  QIE10PileInputTag_(ps.getParameter<edm::InputTag>("QIE10PileInputTag")),
78  QIE11PileInputTag_(ps.getParameter<edm::InputTag>("QIE11PileInputTag")),
79  myHcalDigitizer_(ps, iC) {
86 
93 
94  // Hcal
95  // Signal inputs now handled by HcalDigitizer - gets pSimHits directly
96 
97  HBHEDigiCollectionDM_ = ps.getParameter<std::string>("HBHEDigiCollectionDM");
98  HODigiCollectionDM_ = ps.getParameter<std::string>("HODigiCollectionDM");
99  HFDigiCollectionDM_ = ps.getParameter<std::string>("HFDigiCollectionDM");
100  ZDCDigiCollectionDM_ = ps.getParameter<std::string>("ZDCDigiCollectionDM");
101  QIE10DigiCollectionDM_ = ps.getParameter<std::string>("QIE10DigiCollectionDM");
102  QIE11DigiCollectionDM_ = ps.getParameter<std::string>("QIE11DigiCollectionDM");
103 
104  producesCollector.produces<HBHEDigiCollection>();
105  producesCollector.produces<HODigiCollection>();
106  producesCollector.produces<HFDigiCollection>();
107  producesCollector.produces<ZDCDigiCollection>();
108 
109  producesCollector.produces<QIE10DigiCollection>("HFQIE10DigiCollection");
110  producesCollector.produces<QIE11DigiCollection>("HBHEQIE11DigiCollection");
111 
112  // initialize HcalDigitizer here...
119 }

References edm::ParameterSet::getParameter(), HBHEDigiCollectionDM_, HBHEPileInputTag_, HFDigiCollectionDM_, HFPileInputTag_, HODigiCollectionDM_, HOPileInputTag_, myHcalDigitizer_, edm::ProducesCollector::produces(), 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_.

◆ ~PreMixingHcalWorker()

PreMixingHcalWorker::~PreMixingHcalWorker ( )
overridedefault

◆ PreMixingHcalWorker() [2/2]

PreMixingHcalWorker::PreMixingHcalWorker ( const PreMixingHcalWorker )
delete

Member Function Documentation

◆ addPileups()

void PreMixingHcalWorker::addPileups ( const PileUpEventPrincipal pep,
const edm::EventSetup ES 
)
overridevirtual

◆ addSignals()

void PreMixingHcalWorker::addSignals ( const edm::Event e,
const edm::EventSetup ES 
)
overridevirtual

Implements PreMixingWorker.

Definition at line 129 of file PreMixingHcalWorker.cc.

129  {
131 }

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

◆ beginRun()

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

Reimplemented from PreMixingWorker.

Definition at line 121 of file PreMixingHcalWorker.cc.

121  {
123 }

References HcalDigiProducer::beginRun(), myHcalDigitizer_, and writedatasetfile::run.

◆ initializeEvent()

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

◆ operator=()

PreMixingHcalWorker& PreMixingHcalWorker::operator= ( const PreMixingHcalWorker )
delete

◆ put()

void PreMixingHcalWorker::put ( edm::Event e,
const edm::EventSetup ES,
std::vector< PileupSummaryInfo > const &  ps,
int  bs 
)
overridevirtual

Member Data Documentation

◆ HBHEDigiCollectionDM_

std::string PreMixingHcalWorker::HBHEDigiCollectionDM_
private

Definition at line 43 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ HBHEPileInputTag_

edm::InputTag PreMixingHcalWorker::HBHEPileInputTag_
private

Definition at line 37 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ HFDigiCollectionDM_

std::string PreMixingHcalWorker::HFDigiCollectionDM_
private

Definition at line 46 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ HFPileInputTag_

edm::InputTag PreMixingHcalWorker::HFPileInputTag_
private

Definition at line 39 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ HODigiCollectionDM_

std::string PreMixingHcalWorker::HODigiCollectionDM_
private

Definition at line 45 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ HOPileInputTag_

edm::InputTag PreMixingHcalWorker::HOPileInputTag_
private

Definition at line 38 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ myHcalDigitizer_

HcalDigiProducer PreMixingHcalWorker::myHcalDigitizer_
private

◆ QIE10DigiCollectionDM_

std::string PreMixingHcalWorker::QIE10DigiCollectionDM_
private

Definition at line 48 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ QIE10PileInputTag_

edm::InputTag PreMixingHcalWorker::QIE10PileInputTag_
private

Definition at line 41 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ QIE11DigiCollectionDM_

std::string PreMixingHcalWorker::QIE11DigiCollectionDM_
private

Definition at line 50 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ QIE11PileInputTag_

edm::InputTag PreMixingHcalWorker::QIE11PileInputTag_
private

Definition at line 42 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ theHBHESignalGenerator

HBHESignalGenerator PreMixingHcalWorker::theHBHESignalGenerator
private

Definition at line 61 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ theHFSignalGenerator

HFSignalGenerator PreMixingHcalWorker::theHFSignalGenerator
private

Definition at line 63 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ theHOSignalGenerator

HOSignalGenerator PreMixingHcalWorker::theHOSignalGenerator
private

Definition at line 62 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ theQIE10SignalGenerator

QIE10SignalGenerator PreMixingHcalWorker::theQIE10SignalGenerator
private

Definition at line 65 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ theQIE11SignalGenerator

QIE11SignalGenerator PreMixingHcalWorker::theQIE11SignalGenerator
private

Definition at line 66 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ theZDCSignalGenerator

ZDCSignalGenerator PreMixingHcalWorker::theZDCSignalGenerator
private

Definition at line 64 of file PreMixingHcalWorker.cc.

Referenced by addPileups(), and PreMixingHcalWorker().

◆ tok_hbhe_

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

Definition at line 53 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ tok_hf_

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

Definition at line 55 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ tok_ho_

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

Definition at line 54 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ tok_qie10_

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

Definition at line 57 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ tok_qie11_

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

Definition at line 58 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ tok_zdc_

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

Definition at line 56 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ ZDCDigiCollectionDM_

std::string PreMixingHcalWorker::ZDCDigiCollectionDM_
private

Definition at line 47 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

◆ ZDCPileInputTag_

edm::InputTag PreMixingHcalWorker::ZDCPileInputTag_
private

Definition at line 40 of file PreMixingHcalWorker.cc.

Referenced by PreMixingHcalWorker().

PreMixingHcalWorker::HFDigiCollectionDM_
std::string HFDigiCollectionDM_
Definition: PreMixingHcalWorker.cc:46
PreMixingHcalWorker::tok_ho_
edm::EDGetTokenT< HODigitizerTraits::DigiCollection > tok_ho_
Definition: PreMixingHcalWorker.cc:54
HcalDataFrameContainer
Definition: HcalDigiCollections.h:35
PreMixingHcalWorker::ZDCPileInputTag_
edm::InputTag ZDCPileInputTag_
Definition: PreMixingHcalWorker.cc:40
PreMixingHcalWorker::HBHEPileInputTag_
edm::InputTag HBHEPileInputTag_
Definition: PreMixingHcalWorker.cc:37
edm::SortedCollection
Definition: SortedCollection.h:49
PileUpEventPrincipal::bunchCrossing
int bunchCrossing() const
Definition: PileUpEventPrincipal.h:30
HcalDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:28
PreMixingHcalWorker::tok_hf_
edm::EDGetTokenT< HFDigitizerTraits::DigiCollection > tok_hf_
Definition: PreMixingHcalWorker.cc:55
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
PreMixingHcalWorker::theHOSignalGenerator
HOSignalGenerator theHOSignalGenerator
Definition: PreMixingHcalWorker.cc:62
PreMixingHcalWorker::tok_zdc_
edm::EDGetTokenT< ZDCDigitizerTraits::DigiCollection > tok_zdc_
Definition: PreMixingHcalWorker.cc:56
PreMixingHcalWorker::HODigiCollectionDM_
std::string HODigiCollectionDM_
Definition: PreMixingHcalWorker.cc:45
PreMixingHcalWorker::tok_qie10_
edm::EDGetTokenT< HcalQIE10DigitizerTraits::DigiCollection > tok_qie10_
Definition: PreMixingHcalWorker.cc:57
HcalDigiProducer::beginRun
void beginRun(edm::Run const &, edm::EventSetup const &) override
Definition: HcalDigiProducer.cc:49
PreMixingHcalWorker::theZDCSignalGenerator
ZDCSignalGenerator theZDCSignalGenerator
Definition: PreMixingHcalWorker.cc:64
HFSignalGenerator
HcalSignalGenerator< HFDigitizerTraits > HFSignalGenerator
Definition: HcalSignalGenerator.h:187
PileUpEventPrincipal::moduleCallingContext
edm::ModuleCallingContext const * moduleCallingContext() const
Definition: PileUpEventPrincipal.h:28
PreMixingHcalWorker::HOPileInputTag_
edm::InputTag HOPileInputTag_
Definition: PreMixingHcalWorker.cc:38
HcalDigiProducer::setZDCNoiseSignalGenerator
void setZDCNoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:65
HcalDigiProducer::setHONoiseSignalGenerator
void setHONoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:61
PileUpEventPrincipal::principal
edm::EventPrincipal const & principal()
Definition: PileUpEventPrincipal.h:24
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
PreMixingHcalWorker::HFPileInputTag_
edm::InputTag HFPileInputTag_
Definition: PreMixingHcalWorker.cc:39
PreMixingHcalWorker::theHFSignalGenerator
HFSignalGenerator theHFSignalGenerator
Definition: PreMixingHcalWorker.cc:63
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
PreMixingHcalWorker::theHBHESignalGenerator
HBHESignalGenerator theHBHESignalGenerator
Definition: PreMixingHcalWorker.cc:61
PreMixingHcalWorker::theQIE10SignalGenerator
QIE10SignalGenerator theQIE10SignalGenerator
Definition: PreMixingHcalWorker.cc:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
HOSignalGenerator
HcalSignalGenerator< HODigitizerTraits > HOSignalGenerator
Definition: HcalSignalGenerator.h:186
PreMixingHcalWorker::QIE11PileInputTag_
edm::InputTag QIE11PileInputTag_
Definition: PreMixingHcalWorker.cc:42
HcalDigiProducer::setQIE10NoiseSignalGenerator
void setQIE10NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:69
PreMixingHcalWorker::QIE11DigiCollectionDM_
std::string QIE11DigiCollectionDM_
Definition: PreMixingHcalWorker.cc:50
PreMixingHcalWorker::HBHEDigiCollectionDM_
std::string HBHEDigiCollectionDM_
Definition: PreMixingHcalWorker.cc:43
edm::ProducesCollector::produces
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
Definition: ProducesCollector.h:52
PreMixingHcalWorker::tok_hbhe_
edm::EDGetTokenT< HBHEDigitizerTraits::DigiCollection > tok_hbhe_
Definition: PreMixingHcalWorker.cc:53
HBHESignalGenerator
HcalSignalGenerator< HBHEDigitizerTraits > HBHESignalGenerator
Definition: HcalSignalGenerator.h:185
PreMixingHcalWorker::tok_qie11_
edm::EDGetTokenT< HcalQIE11DigitizerTraits::DigiCollection > tok_qie11_
Definition: PreMixingHcalWorker.cc:58
PreMixingHcalWorker::theQIE11SignalGenerator
QIE11SignalGenerator theQIE11SignalGenerator
Definition: PreMixingHcalWorker.cc:66
writedatasetfile.run
run
Definition: writedatasetfile.py:27
PreMixingHcalWorker::ZDCDigiCollectionDM_
std::string ZDCDigiCollectionDM_
Definition: PreMixingHcalWorker.cc:47
HcalDigiProducer::setQIE11NoiseSignalGenerator
void setQIE11NoiseSignalGenerator(HcalBaseSignalGenerator *noiseGenerator)
Definition: HcalDigiProducer.cc:73
PreMixingHcalWorker::myHcalDigitizer_
HcalDigiProducer myHcalDigitizer_
Definition: PreMixingHcalWorker.cc:60
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
HcalSignalGenerator::fill
virtual void fill(edm::ModuleCallingContext const *mcc)
Definition: HcalSignalGenerator.h:56
PreMixingHcalWorker::QIE10PileInputTag_
edm::InputTag QIE10PileInputTag_
Definition: PreMixingHcalWorker.cc:41
PreMixingHcalWorker::QIE10DigiCollectionDM_
std::string QIE10DigiCollectionDM_
Definition: PreMixingHcalWorker.cc:48
SiStripBadComponentsDQMServiceTemplate_cfg.ep
ep
Definition: SiStripBadComponentsDQMServiceTemplate_cfg.py:86
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37