#include <CaloRecHitMixer.h>
Classes | |
struct | todoListEntryType |
Public Member Functions | |
CaloRecHitMixer (const edm::ParameterSet &) | |
~CaloRecHitMixer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
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 (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 () |
Private Types | |
enum | { kAbsolute } |
typedef std::map< uint32_t, float > | detIdToFloatMap |
typedef std::map< uint32_t, CaloRecHitMixer_mixedRecHitInfoType < T > > | detIdToMixedRecHitInfoMap |
typedef edm::SortedCollection< T > | RecHitCollection |
Private Member Functions | |
template<> | |
EcalRecHit | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< EcalRecHit > &recHitInfo) |
T | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< T > &) |
template<> | |
HBHERecHit | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< HBHERecHit > &recHitInfo) |
template<> | |
HORecHit | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< HORecHit > &recHitInfo) |
template<> | |
HFRecHit | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< HFRecHit > &recHitInfo) |
template<> | |
CastorRecHit | buildRecHit (const CaloRecHitMixer_mixedRecHitInfoType< CastorRecHit > &recHitInfo) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
void | updateRecHitInfos (const RecHitCollection &, int) |
Private Attributes | |
detIdToMixedRecHitInfoMap | mixedRecHitInfos_ |
std::string | moduleLabel_ |
edm::InputTag | srcEnergyDepositMapMuMinus_ |
edm::InputTag | srcEnergyDepositMapMuPlus_ |
std::vector< todoListEntryType > | todoList_ |
int | typeEnergyDepositMap_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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::EDProducer | |
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) |
Merge collections of calorimeter recHits for original Zmumu event and "embedded" simulated tau decay products (detectors supported at the moment: EB/EE, HB/HE and HO)
Definition at line 47 of file CaloRecHitMixer.h.
|
private |
Definition at line 83 of file CaloRecHitMixer.h.
|
private |
Definition at line 72 of file CaloRecHitMixer.h.
|
private |
Definition at line 70 of file CaloRecHitMixer.h.
|
private |
Enumerator | |
---|---|
kAbsolute |
Definition at line 80 of file CaloRecHitMixer.h.
|
explicit |
Definition at line 89 of file CaloRecHitMixer.h.
CaloRecHitMixer< T >::~CaloRecHitMixer | ( | ) |
Definition at line 143 of file CaloRecHitMixer.h.
|
private |
Definition at line 34 of file CaloRecHitMixer.cc.
References assert(), CaloRecHitMixer_mixedRecHitInfoType< T >::energySum_, CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHit1_, CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHit2_, CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHitSum_, NULL, CaloRecHitMixer_mixedRecHitInfoType< T >::recHit1_, CaloRecHitMixer_mixedRecHitInfoType< T >::recHit2_, and EcalRecHit::setEnergy().
|
private |
Definition at line 22 of file CaloRecHitMixer.cc.
References assert().
|
private |
Definition at line 86 of file CaloRecHitMixer.cc.
|
private |
Definition at line 92 of file CaloRecHitMixer.cc.
|
private |
Definition at line 98 of file CaloRecHitMixer.cc.
|
private |
Definition at line 109 of file CaloRecHitMixer.cc.
References assert(), CaloRecHit::aux(), CaloRecHit::detid(), CaloRecHitMixer_mixedRecHitInfoType< T >::energySum_, CaloRecHit::flags(), CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHit1_, CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHit2_, CaloRecHitMixer_mixedRecHitInfoType< T >::isRecHitSum_, CaloRecHitMixer_mixedRecHitInfoType< T >::recHit1_, CaloRecHitMixer_mixedRecHitInfoType< T >::recHit2_, CaloRecHit::setFlags(), and CaloRecHit::time().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 162 of file CaloRecHitMixer.h.
|
private |
Definition at line 289 of file CaloRecHitMixer.h.
|
private |
Definition at line 73 of file CaloRecHitMixer.h.
|
private |
Definition at line 56 of file CaloRecHitMixer.h.
|
private |
Definition at line 79 of file CaloRecHitMixer.h.
|
private |
Definition at line 78 of file CaloRecHitMixer.h.
|
private |
Definition at line 68 of file CaloRecHitMixer.h.
|
private |
Definition at line 81 of file CaloRecHitMixer.h.
|
private |
Definition at line 85 of file CaloRecHitMixer.h.