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) |
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 () |
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_, HLT_25ns10e33_v2_cff::InputTag, 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 |
Implements edm::EDFilter.
Definition at line 105 of file ElectronRegressionEnergyProducer.cc.
References assert(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), caloGeometry_, ecalTopology_, electronToken_, relval_parameters_module::energy, relativeConstraints::error, edm::helper::Filler< Map >::fill(), geomInitialized_, edm::EventSetup::get(), edm::Event::getByToken(), hRhoKt6PFJetsToken_, hVertexToken_, edm::helper::Filler< Map >::insert(), ElectronEnergyRegressionEvaluate::isInitialized(), nameEnergyErrorReg_, nameEnergyReg_, printDebug_, edm::Handle< T >::product(), edm::Event::put(), recHitCollectionEBToken_, recHitCollectionEEToken_, HLT_25ns10e33_v2_cff::recHits, 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().