#include <ElectronSeedProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) overridefinal |
ElectronSeedProducer (const edm::ParameterSet &) | |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) overridefinal |
virtual void | produce (edm::Event &, const edm::EventSetup &) overridefinal |
virtual | ~ElectronSeedProducer () |
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 | |
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 |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | filterClusters (const reco::BeamSpot &bs, const edm::Handle< reco::SuperClusterCollection > &superClusters, reco::SuperClusterRefVector &sclRefs, std::vector< float > &hoe1s, std::vector< float > &hoe2s) |
void | filterSeeds (edm::Event &e, const edm::EventSetup &setup, reco::SuperClusterRefVector &sclRefs) |
Private Attributes | |
bool | applyHOverECut_ |
edm::EDGetTokenT< reco::BeamSpot > | beamSpotTag_ |
edm::ESHandle< CaloGeometry > | caloGeom_ |
unsigned long long | caloGeomCacheId_ |
edm::ESHandle< CaloTopology > | caloTopo_ |
unsigned long long | caloTopoCacheId_ |
edm::ParameterSet | conf_ |
edm::EDGetTokenT< std::vector < reco::Vertex > > | filterVtxTag_ |
bool | fromTrackerSeeds_ |
ElectronHcalHelper * | hcalHelper_ |
edm::EDGetTokenT < TrajectorySeedCollection > | initialSeeds_ |
ElectronSeedGenerator * | matcher_ |
double | maxHBarrel_ |
double | maxHEndcaps_ |
double | maxHOverEBarrel_ |
double | maxHOverEEndcaps_ |
bool | prefilteredSeeds_ |
double | SCEtCut_ |
std::unique_ptr< SeedFilter > | seedFilter_ |
edm::EDGetTokenT < reco::SuperClusterCollection > | superClusters_ [2] |
TrajectorySeedCollection * | theInitialSeedColl |
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) |
Description: MeasurementEstimator for Pixel Barrel, ported from ORCA Class defining the search area in the barrel in the pixel match Implementation: <Notes on="" implementation>="">
Description: MeasurementEstimator for Pixel Barrel, ported from ORCA
Implementation: <Notes on="" implementation>="">
Description: EDProducer of ElectronSeed objects
Implementation: <Notes on="" implementation>="">
Definition at line 40 of file ElectronSeedProducer.h.
|
explicit |
Definition at line 52 of file ElectronSeedProducer.cc.
References applyHOverECut_, beamSpotTag_, conf_, edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), filterVtxTag_, fromTrackerSeeds_, edm::ParameterSet::getParameter(), hcalHelper_, ElectronHcalHelper::Configuration::hcalTowers, ElectronHcalHelper::Configuration::hOverEConeSize, ElectronHcalHelper::Configuration::hOverEPtMin, initialSeeds_, matcher_, maxHBarrel_, maxHEndcaps_, maxHOverEBarrel_, maxHOverEEndcaps_, prefilteredSeeds_, SCEtCut_, seedFilter_, superClusters_, SeedFilter::Tokens::token_bs, ElectronSeedGenerator::Tokens::token_bs, ElectronSeedGenerator::Tokens::token_measTrkEvt, SeedFilter::Tokens::token_vtx, ElectronSeedGenerator::Tokens::token_vtx, funct::true, and ElectronHcalHelper::Configuration::useTowers.
|
virtual |
Definition at line 150 of file ElectronSeedProducer.cc.
References hcalHelper_, and matcher_.
|
finaloverridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 143 of file ElectronSeedProducer.cc.
|
finaloverridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 146 of file ElectronSeedProducer.cc.
|
private |
Definition at line 235 of file ElectronSeedProducer.cc.
References EcalBarrel, EcalEndcap, reco::CaloCluster::energy(), eta(), edm::false, i, infinity, LogDebug, reco::BeamSpot::position(), reco::CaloCluster::position(), edm::RefVector< C, T, F >::push_back(), reco::SuperCluster::seed(), and edm::RefVector< C, T, F >::size().
Referenced by produce().
|
private |
Definition at line 279 of file ElectronSeedProducer.cc.
References i, LogDebug, and edm::RefVector< C, T, F >::size().
Referenced by produce().
|
finaloverridevirtual |
Implements edm::EDProducer.
Definition at line 156 of file ElectronSeedProducer.cc.
References beamSpotTag_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), caloGeom_, caloGeomCacheId_, caloTopo_, caloTopoCacheId_, edm::RefToBase< T >::castTo(), ElectronHcalHelper::checkSetup(), filterClusters(), filterSeeds(), fromTrackerSeeds_, edm::EventSetup::get(), edm::Event::getByToken(), hcalHelper_, i, edm::Ref< C, T, F >::id(), initialSeeds_, LogDebug, matcher_, prefilteredSeeds_, edm::Handle< T >::product(), edm::Event::put(), ElectronHcalHelper::readEvent(), ElectronSeedGenerator::run(), ElectronSeedGenerator::setupES(), superClusters_, and theInitialSeedColl.
|
private |
Definition at line 77 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 65 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 81 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 82 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 83 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 84 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 67 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 64 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 100 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 78 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), produce(), and ~ElectronSeedProducer().
|
private |
Definition at line 63 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 68 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), produce(), and ~ElectronSeedProducer().
|
private |
Definition at line 90 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 91 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 88 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 89 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 101 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 97 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 69 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 62 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 71 of file ElectronSeedProducer.h.
Referenced by produce().