Public Member Functions | |
EGRefinedSCFixer (const edm::ParameterSet &) | |
reco::SuperCluster | makeFixedRefinedSC (const reco::SuperCluster &orgRefinedSC, const reco::SuperCluster &orgSC, const reco::SuperCluster &fixedSC) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
virtual | ~EGRefinedSCFixer () |
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 (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 std::vector< edm::Ptr < reco::PFCluster > > | getClustersFromSeedIds (const std::unordered_set< unsigned > &seedIds, const edm::Handle< reco::PFClusterCollection > &inClusters) |
static std::unordered_set < unsigned > | getListOfClusterSeedIdsForNewSC (const reco::SuperCluster &orgRefinedSC, const reco::SuperCluster &orgSC, const reco::SuperCluster &fixedSC, const std::vector< edm::Ptr< reco::CaloCluster > > &clustersAddedToAnySC) |
static std::vector< edm::Ptr < reco::CaloCluster > > | getSubClustersMissing (const reco::SuperCluster &lhs, const reco::SuperCluster &rhs) |
static reco::SuperCluster | makeFixedRefinedBarrelSC (const reco::SuperCluster &orgRefinedSC, const reco::SuperCluster &orgSC, const reco::SuperCluster &fixedSC, const edm::Handle< reco::PFClusterCollection > &fixedClusters, const std::vector< edm::Ptr< reco::CaloCluster > > &clustersAddedToAnySC) |
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 Types | |
typedef edm::ValueMap < reco::ConversionRef > | ConvRefMap |
typedef edm::ValueMap < reco::SuperClusterRef > | SCRefMap |
Private Member Functions | |
template<typename T > | |
void | getToken (edm::EDGetTokenT< T > &token, const edm::ParameterSet &pset, const std::string &label, const std::string &instance="") |
Private Attributes | |
const std::string | ebeeClustersCollection_ |
const std::string | esClustersCollection_ |
edm::EDGetTokenT < reco::PFClusterCollection > | fixedPFClustersToken_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | fixedSCToken_ [2] |
edm::EDGetTokenT < reco::CaloClusterCollection > | orgBCToken_ |
edm::EDGetTokenT < reco::ConversionCollection > | orgConvToken_ |
edm::EDGetTokenT < reco::CaloClusterCollection > | orgESToken_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | orgRefinedSCToken_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | orgSCToken_ [2] |
const bool | throwOnDupECALClustersInEvent_ |
const bool | throwOnDupESClustersInEvent_ |
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 49 of file EGRefinedSCFixer.cc.
|
private |
Definition at line 85 of file EGRefinedSCFixer.cc.
|
private |
Definition at line 84 of file EGRefinedSCFixer.cc.
|
explicit |
Definition at line 120 of file EGRefinedSCFixer.cc.
References ebeeClustersCollection_, esClustersCollection_, fixedPFClustersToken_, fixedSCToken_, getToken(), orgBCToken_, orgConvToken_, orgESToken_, orgRefinedSCToken_, and orgSCToken_.
|
inlinevirtual |
Definition at line 52 of file EGRefinedSCFixer.cc.
|
static |
Definition at line 394 of file EGRefinedSCFixer.cc.
Referenced by makeFixedRefinedBarrelSC().
|
static |
Definition at line 358 of file EGRefinedSCFixer.cc.
References reco::SuperCluster::clusters(), and getSubClustersMissing().
Referenced by makeFixedRefinedBarrelSC().
|
static |
Definition at line 344 of file EGRefinedSCFixer.cc.
References edm::PtrVector< T >::begin(), reco::SuperCluster::clusters(), edm::PtrVector< T >::end(), and reco::SuperCluster::seed().
Referenced by getListOfClusterSeedIdsForNewSC(), and produce().
|
inlineprivate |
Definition at line 88 of file EGRefinedSCFixer.cc.
References edm::ParameterSet::getParameter(), instance, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EGRefinedSCFixer().
|
static |
Definition at line 411 of file EGRefinedSCFixer.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), HLT_25ns10e33_v2_cff::clusters, getClustersFromSeedIds(), getListOfClusterSeedIdsForNewSC(), PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), reco::SuperCluster::rawEnergy(), reco::SuperCluster::seed(), reco::CaloCluster::setCorrectedEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), reco::SuperCluster::setPreshowerEnergyPlane1(), reco::SuperCluster::setPreshowerEnergyPlane2(), and reco::SuperCluster::setSeed().
Referenced by produce().
reco::SuperCluster EGRefinedSCFixer::makeFixedRefinedSC | ( | const reco::SuperCluster & | orgRefinedSC, |
const reco::SuperCluster & | orgSC, | ||
const reco::SuperCluster & | fixedSC | ||
) |
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 162 of file EGRefinedSCFixer.cc.
References HLT_25ns10e33_v2_cff::clusters, conv, ebeeClustersCollection_, EcalBarrel, esClustersCollection_, Exception, edm::helper::Filler< Map >::fill(), fixedPFClustersToken_, fixedSCToken_, getSubClustersMissing(), edm::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNonnull(), makeFixedRefinedBarrelSC(), GainSwitchTools::matchSCBySeedCrys(), eostools::move(), orgBCToken_, orgConvToken_, orgESToken_, orgRefinedSCToken_, orgSCToken_, edm::PtrVector< T >::push_back(), edm::Event::put(), throwOnDupECALClustersInEvent_, and throwOnDupESClustersInEvent_.
|
private |
Definition at line 109 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 111 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 106 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 104 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 98 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 100 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 99 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 97 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 102 of file EGRefinedSCFixer.cc.
Referenced by EGRefinedSCFixer(), and produce().
|
private |
Definition at line 115 of file EGRefinedSCFixer.cc.
Referenced by produce().
|
private |
Definition at line 116 of file EGRefinedSCFixer.cc.
Referenced by produce().