#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 () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 |
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 26 of file HcalSimpleReconstructor.h.
|
explicit |
Definition at line 16 of file HcalSimpleReconstructor.cc.
References gather_cfg::cout, edm::ParameterSet::getParameter(), HcalBarrel, HcalForward, HcalOuter, inputLabel_, reco_, HcalSimpleRecAlgo::setMeth3Params(), AlCaHLTBitMon_QueryRunRegistry::string, subdet_, tok_calib_, tok_hbhe_, tok_hbheUp_, tok_hf_, tok_hfUp_, tok_ho_, upgradeHBHE_, and upgradeHF_.
|
virtual |
Definition at line 90 of file HcalSimpleReconstructor.cc.
References paramTS, and theTopology.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 95 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 110 of file HcalSimpleReconstructor.cc.
References HcalSimpleRecAlgo::endRun(), paramTS, reco_, and tsFromDB_.
|
static |
Definition at line 79 of file HcalSimpleReconstructor.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and edm::ParameterSetDescription::setAllowAnything().
|
private |
Definition at line 120 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_PATFILTER(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 161 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 246 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 40 of file HcalSimpleReconstructor.h.
Referenced by produce().
|
private |
Definition at line 52 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 56 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 43 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor().
|
private |
Definition at line 62 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), process(), processUpgrade(), and ~HcalSimpleReconstructor().
|
private |
Definition at line 39 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), HcalSimpleReconstructor(), process(), processUpgrade(), and produce().
|
private |
Definition at line 57 of file HcalSimpleReconstructor.h.
Referenced by process(), and processUpgrade().
|
private |
Definition at line 41 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 42 of file HcalSimpleReconstructor.h.
Referenced by produce().
|
private |
Definition at line 63 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), and ~HcalSimpleReconstructor().
|
private |
Definition at line 50 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 47 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 45 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and processUpgrade().
|
private |
Definition at line 48 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 46 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and processUpgrade().
|
private |
Definition at line 49 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), and produce().
|
private |
Definition at line 58 of file HcalSimpleReconstructor.h.
Referenced by beginRun(), endRun(), process(), and processUpgrade().
|
private |
Definition at line 59 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), processUpgrade(), and produce().
|
private |
Definition at line 60 of file HcalSimpleReconstructor.h.
Referenced by HcalSimpleReconstructor(), processUpgrade(), and produce().