Public Member Functions | |
ElectronRegressionEnergyProducer (const edm::ParameterSet &) | |
~ElectronRegressionEnergyProducer () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
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) |
Public Member Functions inherited from edm::EDConsumerBase | |
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 Member Functions | |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
const CaloGeometry * | caloGeometry_ |
const CaloTopology * | ecalTopology_ |
edm::EDGetTokenT< reco::GsfElectronCollection > | electronToken_ |
uint32_t | energyRegressionType_ |
bool | geomInitialized_ |
edm::EDGetTokenT< double > | hRhoKt6PFJetsToken_ |
edm::EDGetTokenT< reco::VertexCollection > | hVertexToken_ |
std::string | nameEnergyErrorReg_ |
std::string | nameEnergyReg_ |
bool | printDebug_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEBToken_ |
edm::EDGetTokenT< EcalRecHitCollection > | recHitCollectionEEToken_ |
ElectronEnergyRegressionEvaluate * | regressionEvaluator |
std::string | regressionInputFile_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 30 of file ElectronRegressionEnergyProducer.cc.
|
explicit |
Definition at line 63 of file ElectronRegressionEnergyProducer.cc.
References electronToken_, energyRegressionType_, geomInitialized_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hRhoKt6PFJetsToken_, hVertexToken_, ElectronEnergyRegressionEvaluate::kNoTrkVar, ElectronEnergyRegressionEvaluate::kWithSubCluVar, ElectronEnergyRegressionEvaluate::kWithTrkVarV1, ElectronEnergyRegressionEvaluate::kWithTrkVarV2, nameEnergyErrorReg_, nameEnergyReg_, printDebug_, recHitCollectionEBToken_, recHitCollectionEEToken_, regressionEvaluator, regressionInputFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
ElectronRegressionEnergyProducer::~ElectronRegressionEnergyProducer | ( | ) |
Definition at line 99 of file ElectronRegressionEnergyProducer.cc.
References regressionEvaluator.
|
privatevirtual |
Definition at line 105 of file ElectronRegressionEnergyProducer.cc.
References ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), caloGeometry_, DEFINE_FWK_MODULE, ecalTopology_, electronToken_, relativeConstraints::error, edm::helper::Filler< Map >::fill(), geomInitialized_, edm::EventSetup::get(), edm::Event::getByToken(), hRhoKt6PFJetsToken_, hVertexToken_, edm::helper::Filler< Map >::insert(), ElectronEnergyRegressionEvaluate::isInitialized(), eostools::move(), nameEnergyErrorReg_, nameEnergyReg_, printDebug_, edm::Handle< T >::product(), edm::Event::put(), recHitCollectionEBToken_, recHitCollectionEEToken_, regressionEvaluator, and rho.
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
Definition at line 50 of file ElectronRegressionEnergyProducer.cc.
Referenced by filter().
|
private |
Definition at line 49 of file ElectronRegressionEnergyProducer.cc.
Referenced by filter().
|
private |
Definition at line 39 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 42 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer().
|
private |
Definition at line 47 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 58 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 57 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 45 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 44 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 38 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 52 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 53 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 55 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), filter(), and ~ElectronRegressionEnergyProducer().
|
private |
Definition at line 41 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer().