#include <HcalSimpleReconstructor.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &r, edm::EventSetup const &es) overridefinal |
virtual void | endRun (edm::Run const &r, edm::EventSetup const &es) overridefinal |
HcalSimpleReconstructor (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) overridefinal |
virtual | ~HcalSimpleReconstructor () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
template<class DIGICOLL , class RECHITCOLL > | |
void | process (edm::Event &e, const edm::EventSetup &c, const edm::EDGetTokenT< DIGICOLL > &tok) |
void | processUpgrade (edm::Event &e, const edm::EventSetup &c) |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 23 of file HcalSimpleReconstructor.h.
|
explicit |
Definition at line 14 of file HcalSimpleReconstructor.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), HcalBarrel, HcalForward, HcalOuter, inputLabel_, AlCaHLTBitMon_QueryRunRegistry::string, subdet_, tok_calib_, tok_hbhe_, tok_hbheUp_, tok_hf_, tok_hfUp_, tok_ho_, upgradeHBHE_, and upgradeHF_.
|
virtual |
Definition at line 69 of file HcalSimpleReconstructor.cc.
References paramTS, and theTopology.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 74 of file HcalSimpleReconstructor.cc.
References HcalSimpleRecAlgo::beginRun(), edm::EventSetup::get(), AlCaHLTBitMon_ParallelJobs::p, paramTS, edm::ESHandle< class >::product(), reco_, HcalCondObjectContainerBase::setTopo(), theTopology, and tsFromDB_.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 89 of file HcalSimpleReconstructor.cc.
References HcalSimpleRecAlgo::endRun(), paramTS, reco_, and tsFromDB_.
|
private |
Definition at line 99 of file HcalSimpleReconstructor.cc.
References dropZSmarkedPassed_, plotBeamSpotDB::first, HcalRecoParam::firstSample(), firstSample_, edm::EventSetup::get(), edm::Event::getByToken(), HcalCondObjectContainer< Item >::getValues(), i, paramTS, edm::Event::put(), DetId::rawId(), reco_, HcalSimpleRecAlgo::reconstruct(), HcalRecoParam::samplesToAdd(), samplesToAdd_, and tsFromDB_.
Referenced by ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 140 of file HcalSimpleReconstructor.cc.
References dropZSmarkedPassed_, plotBeamSpotDB::first, HcalRecoParam::firstSample(), firstSample_, edm::EventSetup::get(), edm::Event::getByToken(), HcalCondObjectContainer< Item >::getValues(), i, paramTS, edm::Event::put(), DetId::rawId(), reco_, HcalSimpleRecAlgo::reconstructHBHEUpgrade(), HcalSimpleRecAlgo::reconstructHFUpgrade(), HcalRecoParam::samplesToAdd(), samplesToAdd_, tok_hbheUp_, tok_hfUp_, tsFromDB_, upgradeHBHE_, and upgradeHF_.
Referenced by produce().
|
finaloverridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 225 of file HcalSimpleReconstructor.cc.
References det_, alignCSCRings::e, DetId::Hcal, HcalBarrel, HcalCalibration, HcalEndcap, HcalForward, HcalOther, HcalOuter, edm::EventBase::isRealData(), processUpgrade(), reco_, edm::Event::run(), HcalSimpleRecAlgo::setForData(), subdet_, subdetOther_, tok_calib_, tok_hbhe_, tok_hf_, tok_ho_, upgradeHBHE_, and upgradeHF_.
|
private |
Definition at line 34 of file HcalSimpleReconstructor.h.
Referenced by produce().
|
private |
Definition at line 46 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 50 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 37 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor().
|
private |
Definition at line 56 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), process(), processUpgrade(), and ~HcalSimpleReconstructor().
|
private |
Definition at line 33 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), process(), processUpgrade(), and produce().
|
private |
Definition at line 51 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 35 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 36 of file HcalSimpleReconstructor.h.
Referenced by produce().
|
private |
Definition at line 57 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), and ~HcalSimpleReconstructor().
|
private |
Definition at line 44 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 41 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 39 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and processUpgrade().
|
private |
Definition at line 42 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 40 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and processUpgrade().
|
private |
Definition at line 43 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 52 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), process(), and processUpgrade().
|
private |
Definition at line 53 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), processUpgrade(), and produce().
|
private |
Definition at line 54 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), processUpgrade(), and produce().