CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
HcalSimpleReconstructor Class Reference

#include <HcalSimpleReconstructor.h>

Inheritance diagram for HcalSimpleReconstructor:
edm::stream::EDProducer<> edm::stream::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

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< ConsumesInfoconsumesInfo () 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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)
 

Private Attributes

DetId::Detector det_
 
bool dropZSmarkedPassed_
 
int firstSample_
 
bool HFQIE10_
 
edm::InputTag inputLabel_
 
HcalRecoParamsparamTS
 
HcalSimpleRecAlgo reco_
 
int samplesToAdd_
 
int subdet_
 
HcalOtherSubdetector subdetOther_
 
HcalTopologytheTopology
 
edm::EDGetTokenT
< HcalCalibDigiCollection
tok_calib_
 
edm::EDGetTokenT
< HBHEDigiCollection
tok_hbhe_
 
edm::EDGetTokenT
< HBHEUpgradeDigiCollection
tok_hbheUp_
 
edm::EDGetTokenT
< HFDigiCollection
tok_hf_
 
edm::EDGetTokenT
< QIE10DigiCollection
tok_hfQIE10_
 
edm::EDGetTokenT
< HFUpgradeDigiCollection
tok_hfUp_
 
edm::EDGetTokenT
< HODigiCollection
tok_ho_
 
bool tsFromDB_
 
bool upgradeHBHE_
 
bool upgradeHF_
 

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)
 

Detailed Description

Author
J. Mans - Minnesota
E. Garcia - CSU Based on HcalSimpleReconstructor.h by J. Mans

Definition at line 26 of file HcalSimpleReconstructor.h.

Constructor & Destructor Documentation

HcalSimpleReconstructor::HcalSimpleReconstructor ( const edm::ParameterSet ps)
explicit

Definition at line 16 of file HcalSimpleReconstructor.cc.

HcalSimpleReconstructor::~HcalSimpleReconstructor ( )
virtual

Definition at line 96 of file HcalSimpleReconstructor.cc.

Member Function Documentation

void HcalSimpleReconstructor::beginRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
finaloverridevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 101 of file HcalSimpleReconstructor.cc.

void HcalSimpleReconstructor::endRun ( edm::Run const &  r,
edm::EventSetup const &  es 
)
finaloverridevirtual

Reimplemented from edm::stream::EDProducerBase.

Definition at line 116 of file HcalSimpleReconstructor.cc.

void HcalSimpleReconstructor::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 85 of file HcalSimpleReconstructor.cc.

template<class DIGICOLL , class RECHITCOLL >
void HcalSimpleReconstructor::process ( edm::Event e,
const edm::EventSetup c,
const edm::EDGetTokenT< DIGICOLL > &  tok 
)
private

Definition at line 126 of file HcalSimpleReconstructor.cc.

void HcalSimpleReconstructor::processUpgrade ( edm::Event e,
const edm::EventSetup c 
)
private

Definition at line 167 of file HcalSimpleReconstructor.cc.

void HcalSimpleReconstructor::produce ( edm::Event e,
const edm::EventSetup c 
)
finaloverridevirtual

Implements edm::stream::EDProducerBase.

Definition at line 293 of file HcalSimpleReconstructor.cc.

Member Data Documentation

DetId::Detector HcalSimpleReconstructor::det_
private

Definition at line 40 of file HcalSimpleReconstructor.h.

bool HcalSimpleReconstructor::dropZSmarkedPassed_
private

Definition at line 53 of file HcalSimpleReconstructor.h.

int HcalSimpleReconstructor::firstSample_
private

Definition at line 57 of file HcalSimpleReconstructor.h.

bool HcalSimpleReconstructor::HFQIE10_
private

Definition at line 62 of file HcalSimpleReconstructor.h.

edm::InputTag HcalSimpleReconstructor::inputLabel_
private

Definition at line 43 of file HcalSimpleReconstructor.h.

HcalRecoParams* HcalSimpleReconstructor::paramTS
private

Definition at line 64 of file HcalSimpleReconstructor.h.

HcalSimpleRecAlgo HcalSimpleReconstructor::reco_
private

Definition at line 39 of file HcalSimpleReconstructor.h.

int HcalSimpleReconstructor::samplesToAdd_
private

Definition at line 58 of file HcalSimpleReconstructor.h.

int HcalSimpleReconstructor::subdet_
private

Definition at line 41 of file HcalSimpleReconstructor.h.

HcalOtherSubdetector HcalSimpleReconstructor::subdetOther_
private

Definition at line 42 of file HcalSimpleReconstructor.h.

HcalTopology* HcalSimpleReconstructor::theTopology
private

Definition at line 65 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HcalCalibDigiCollection> HcalSimpleReconstructor::tok_calib_
private

Definition at line 51 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HBHEDigiCollection> HcalSimpleReconstructor::tok_hbhe_
private

Definition at line 48 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HBHEUpgradeDigiCollection> HcalSimpleReconstructor::tok_hbheUp_
private

Definition at line 45 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HFDigiCollection> HcalSimpleReconstructor::tok_hf_
private

Definition at line 49 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<QIE10DigiCollection> HcalSimpleReconstructor::tok_hfQIE10_
private

Definition at line 47 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HFUpgradeDigiCollection> HcalSimpleReconstructor::tok_hfUp_
private

Definition at line 46 of file HcalSimpleReconstructor.h.

edm::EDGetTokenT<HODigiCollection> HcalSimpleReconstructor::tok_ho_
private

Definition at line 50 of file HcalSimpleReconstructor.h.

bool HcalSimpleReconstructor::tsFromDB_
private

Definition at line 59 of file HcalSimpleReconstructor.h.

bool HcalSimpleReconstructor::upgradeHBHE_
private

Definition at line 60 of file HcalSimpleReconstructor.h.

bool HcalSimpleReconstructor::upgradeHF_
private

Definition at line 61 of file HcalSimpleReconstructor.h.