#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::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 void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 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, edm::Event &e, const edm::EventSetup &setup) |
void | filterSeeds (edm::Event &e, const edm::EventSetup &setup, reco::SuperClusterRefVector &sclRefs) |
Private Attributes | |
bool | applyHOverECut_ |
bool | applySigmaIEtaIEtaCut_ |
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 < EcalRecHitCollection > | ebRecHitCollection_ |
edm::EDGetTokenT < EcalRecHitCollection > | eeRecHitCollection_ |
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_ |
double | maxSigmaIEtaIEtaBarrel_ |
double | maxSigmaIEtaIEtaEndcaps_ |
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::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) |
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 41 of file ElectronSeedProducer.h.
|
explicit |
Definition at line 56 of file ElectronSeedProducer.cc.
References applyHOverECut_, applySigmaIEtaIEtaCut_, beamSpotTag_, conf_, edm::EDConsumerBase::consumesCollector(), ebRecHitCollection_, eeRecHitCollection_, filterVtxTag_, fromTrackerSeeds_, edm::ParameterSet::getParameter(), hcalHelper_, ElectronHcalHelper::Configuration::hcalTowers, ElectronHcalHelper::Configuration::hOverEConeSize, ElectronHcalHelper::Configuration::hOverEPtMin, initialSeeds_, matcher_, maxHBarrel_, maxHEndcaps_, maxHOverEBarrel_, maxHOverEEndcaps_, maxSigmaIEtaIEtaBarrel_, maxSigmaIEtaIEtaEndcaps_, 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 145 of file ElectronSeedProducer.cc.
References hcalHelper_, and matcher_.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 139 of file ElectronSeedProducer.cc.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 142 of file ElectronSeedProducer.cc.
|
static |
Definition at line 300 of file ElectronSeedProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_25ns10e33_v2_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 230 of file ElectronSeedProducer.cc.
References EcalBarrel, EcalEndcap, reco::CaloCluster::energy(), eta, edm::false, i, infinity, edm::detail::isnan(), EcalClusterLazyToolsT< EcalClusterToolsImpl >::localCovariances(), LogDebug, reco::BeamSpot::position(), reco::CaloCluster::position(), edm::RefVector< C, T, F >::push_back(), reco::SuperCluster::seed(), edm::RefVector< C, T, F >::size(), and mathSSE::sqrt().
Referenced by produce().
|
private |
Definition at line 289 of file ElectronSeedProducer.cc.
References i, LogDebug, and edm::RefVector< C, T, F >::size().
Referenced by produce().
|
finaloverridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 151 of file ElectronSeedProducer.cc.
References beamSpotTag_, edm::eventsetup::EventSetupRecord::cacheIdentifier(), caloGeom_, caloGeomCacheId_, caloTopo_, caloTopoCacheId_, edm::RefToBase< T >::castTo(), ElectronHcalHelper::checkSetup(), HLT_25ns10e33_v2_cff::clusters, 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 80 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 101 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 67 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 84 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 85 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 86 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 87 of file ElectronSeedProducer.h.
Referenced by produce().
|
private |
Definition at line 71 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 68 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 69 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 66 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 105 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 81 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), produce(), and ~ElectronSeedProducer().
|
private |
Definition at line 65 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 72 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), produce(), and ~ElectronSeedProducer().
|
private |
Definition at line 93 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 94 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 91 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 92 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 102 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 103 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 106 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 99 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 73 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer().
|
private |
Definition at line 64 of file ElectronSeedProducer.h.
Referenced by ElectronSeedProducer(), and produce().
|
private |
Definition at line 75 of file ElectronSeedProducer.h.
Referenced by produce().