#include <ReducedEGProducer.h>
Public Member Functions | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
ReducedEGProducer (const edm::ParameterSet &ps) | |
~ReducedEGProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 () |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Select subset of electrons and photons from input collections and produced consistently relinked output collections including associated SuperClusters, CaloClusters and ecal RecHits
Definition at line 47 of file ReducedEGProducer.h.
ReducedEGProducer::ReducedEGProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 46 of file ReducedEGProducer.cc.
References barrelEcalHits_, edm::EDConsumerBase::consumes(), conversionT_, endcapEcalHits_, edm::ParameterSet::getParameter(), gsfElectronIdTs_, gsfElectronPfCandMapT_, gsfElectronPFClusterIsoTs_, gsfElectronT_, outConversions_, outEBEEClusters_, outEBRecHits_, outEERecHits_, outESClusters_, outESRecHits_, outGsfElectronCores_, outGsfElectronIds_, outGsfElectronPfCandMap_, outGsfElectronPFClusterIsos_, outGsfElectrons_, outPhotonCores_, outPhotonIds_, outPhotonPfCandMap_, outPhotonPFClusterIsos_, outPhotons_, outSingleConversions_, outSuperClusters_, photonIdTs_, photonPfCandMapT_, photonPFClusterIsoTs_, photonT_, preshowerEcalHits_, singleConversionT_, AlCaHLTBitMon_QueryRunRegistry::string, and GlobalPosition_Frontier_DevDB_cff::tag.
ReducedEGProducer::~ReducedEGProducer | ( | ) |
Definition at line 139 of file ReducedEGProducer.cc.
|
virtual |
Implements edm::EDProducer.
Definition at line 146 of file ReducedEGProducer.cc.
References Reference_intrackfit_cff::barrel, barrelEcalHits_, begin, edm::PtrVectorBase::clear(), edm::RefVector< C, T, F >::clear(), reco::SuperCluster::clearHitsAndFractions(), reco::SuperCluster::clusters(), HLT_25ns14e33_v1_cff::clusters, edm::conversion(), printConversionInfo::conversionHandle, conversions_cfi::conversions, reco::Photon::conversions(), reco::Photon::conversionsOneLeg(), conversionT_, reco::GsfElectron::core(), cond::rpcobgas::detid, DetId::Ecal, EcalBarrel, EcalEndcap, end, endcapEcalHits_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::getByToken(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), gsfElectronCores_cfi::gsfElectronCores, gsfElectronIdTs_, gsfElectronPfCandMapT_, gsfElectronPFClusterIsoTs_, gsfElectrons_cfi::gsfElectrons, gsfElectronT_, edm::helper::Filler< Map >::insert(), keep, keepGsfElectronSel_, keepPhotonSel_, ConversionTools::matchesConversion(), outConversions_, outEBEEClusters_, outEBRecHits_, outEERecHits_, outESClusters_, outESRecHits_, outGsfElectronCores_, outGsfElectronIds_, outGsfElectronPfCandMap_, outGsfElectronPFClusterIsos_, outGsfElectrons_, outPhotonCores_, outPhotonIds_, outPhotonPfCandMap_, outPhotonPFClusterIsos_, outPhotons_, outSingleConversions_, outSuperClusters_, photonCore_cfi::photonCore, reco::Photon::photonCore(), photonIdTs_, photonPfCandMapT_, photonPFClusterIsoTs_, interactiveExample::photons, photonT_, reco::SuperCluster::preshowerClusters(), preshowerEcalHits_, edm::Handle< T >::product(), edm::RefVector< C, T, F >::push_back(), edm::PtrVector< T >::push_back(), edm::Event::put(), relinkGsfElectronSel_, relinkPhotonSel_, reco::SuperCluster::seed(), fileCollector::seed, singleConversionT_, edm::PtrVectorBase::size(), edm::RefVector< C, T, F >::size(), reco::CaloCluster::size(), slimRelinkGsfElectronSel_, slimRelinkPhotonSel_, reco::Photon::superCluster(), and reco::GsfElectron::superCluster().
|
private |
Definition at line 64 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 61 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 65 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 72 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 69 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 75 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 60 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 100 of file ReducedEGProducer.h.
Referenced by produce().
|
private |
Definition at line 97 of file ReducedEGProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 85 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 87 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 88 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 86 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 89 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 81 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 93 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 91 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 95 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 80 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 79 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 92 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 90 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 94 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 78 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 83 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 84 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 71 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 68 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 74 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 59 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 66 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 102 of file ReducedEGProducer.h.
Referenced by produce().
|
private |
Definition at line 99 of file ReducedEGProducer.h.
Referenced by produce().
|
private |
Definition at line 62 of file ReducedEGProducer.h.
Referenced by produce(), and ReducedEGProducer().
|
private |
Definition at line 101 of file ReducedEGProducer.h.
Referenced by produce().
|
private |
Definition at line 98 of file ReducedEGProducer.h.
Referenced by produce().