![]() |
![]() |
#include <CaloCleaner.h>
Public Member Functions | |
CaloCleaner (const edm::ParameterSet &) | |
~CaloCleaner () | |
![]() | |
EDProducer ()=default | |
![]() | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
![]() | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Types | |
typedef edm::SortedCollection< T > | RecHitCollection |
Private Member Functions | |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
void | fill_correction_map (TrackDetMatchInfo *, std::map< uint32_t, float > *) |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
template<> | |
void | fill_correction_map (TrackDetMatchInfo *info, std::map< uint32_t, float > *cor_map) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::map< std::string, edm::EDGetTokenT< RecHitCollection > > | inputs_ |
bool | is_preshower_ |
const edm::EDGetTokenT< edm::View< pat::Muon > > | mu_input_ |
TrackAssociatorParameters | parameters_ |
TrackDetectorAssociator | trackAssociator_ |
Additional Inherited Members | |
![]() | |
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 |
![]() | |
typedef EDProducerAdaptorBase | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
![]() | |
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) |
Clean collections of calorimeter recHits (detectors supported at the moment: EB/EE, HB/HE and HO)
Clean Up from STefan Wayand, KIT
Definition at line 37 of file CaloCleaner.h.
|
private |
Definition at line 46 of file CaloCleaner.h.
|
explicit |
Definition at line 61 of file CaloCleaner.h.
References edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), CaloCleaner< T >::inputs_, CaloCleaner< T >::is_preshower_, TrackAssociatorParameters::loadParameters(), metProducer_cfi::parameters, and CaloCleaner< T >::parameters_.
CaloCleaner< T >::~CaloCleaner | ( | ) |
Definition at line 79 of file CaloCleaner.h.
|
private |
Definition at line 32 of file CaloCleaner.cc.
References TrackDetMatchInfo::crossedEcalRecHits, and TrackDetMatchInfo::crossedPreshowerIds.
|
private |
Definition at line 49 of file CaloCleaner.cc.
References TrackDetMatchInfo::crossedHcalRecHits.
|
private |
Definition at line 25 of file CaloCleaner.cc.
Referenced by CaloCleaner< T >::produce().
|
private |
Definition at line 58 of file CaloCleaner.cc.
References TrackDetMatchInfo::crossedHORecHits.
|
private |
Definition at line 67 of file CaloCleaner.cc.
|
private |
Definition at line 73 of file CaloCleaner.cc.
|
private |
Definition at line 79 of file CaloCleaner.cc.
References DEFINE_FWK_MODULE.
|
overrideprivatevirtual |
Definition at line 86 of file CaloCleaner.h.
References TrackDetectorAssociator::Any, TrackDetectorAssociator::associate(), edm::View< T >::begin(), edm::SortedCollection< T, SORT >::begin(), edm::View< T >::end(), edm::SortedCollection< T, SORT >::end(), Exception, CaloCleaner< T >::fill_correction_map(), edm::EventSetup::get(), edm::Event::getByToken(), info(), CaloCleaner< T >::inputs_, eostools::move(), CaloCleaner< T >::mu_input_, electronCleaner_cfi::muons, CaloCleaner< T >::parameters_, edm::ESHandle< T >::product(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, edm::Event::put(), rpcPointValidation_cfi::recHit, TrackDetectorAssociator::setPropagator(), reco::TrackBase::standAloneMuon, HiIsolationCommonParameters_cff::track, and CaloCleaner< T >::trackAssociator_.
|
private |
Definition at line 50 of file CaloCleaner.h.
Referenced by CaloCleaner< T >::CaloCleaner(), and CaloCleaner< T >::produce().
|
private |
Definition at line 55 of file CaloCleaner.h.
Referenced by CaloCleaner< T >::CaloCleaner().
|
private |
Definition at line 48 of file CaloCleaner.h.
Referenced by CaloCleaner< T >::produce().
|
private |
Definition at line 53 of file CaloCleaner.h.
Referenced by CaloCleaner< T >::CaloCleaner(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), and CaloCleaner< T >::produce().
|
private |
Definition at line 52 of file CaloCleaner.h.
Referenced by CaloCleaner< T >::produce().