Private Member Functions | |
bool | filter (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
const CaloGeometry * | caloGeometry_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | caloGeomToken_ |
const CaloTopology * | ecalTopology_ |
edm::ESGetToken< CaloTopology, CaloTopologyRecord > | ecalTopoToken_ |
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::stream::EDFilter<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 30 of file ElectronRegressionEnergyProducer.cc.
|
explicit |
Definition at line 65 of file ElectronRegressionEnergyProducer.cc.
References caloGeomToken_, ecalTopoToken_, electronToken_, energyRegressionType_, edm::EDConsumerBase::esConsumes(), geomInitialized_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hRhoKt6PFJetsToken_, hVertexToken_, HLT_FULL_cff::InputTag, ElectronEnergyRegressionEvaluate::kNoTrkVar, ElectronEnergyRegressionEvaluate::kWithSubCluVar, ElectronEnergyRegressionEvaluate::kWithTrkVarV1, ElectronEnergyRegressionEvaluate::kWithTrkVarV2, nameEnergyErrorReg_, nameEnergyReg_, printDebug_, recHitCollectionEBToken_, recHitCollectionEEToken_, regressionEvaluator, regressionInputFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 106 of file ElectronRegressionEnergyProducer.cc.
References regressionEvaluator.
|
overrideprivatevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 109 of file ElectronRegressionEnergyProducer.cc.
References cms::cuda::assert(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), caloGeometry_, caloGeomToken_, ecalTopology_, ecalTopoToken_, electronToken_, relval_parameters_module::energy, relativeConstraints::error, edm::helper::Filler< Map >::fill(), geomInitialized_, edm::Event::getByToken(), edm::EventSetup::getData(), hRhoKt6PFJetsToken_, hVertexToken_, edm::helper::Filler< Map >::insert(), ElectronEnergyRegressionEvaluate::isInitialized(), eostools::move(), nameEnergyErrorReg_, nameEnergyReg_, printDebug_, edm::Handle< T >::product(), edm::Event::put(), recHitCollectionEBToken_, recHitCollectionEEToken_, HLT_FULL_cff::recHits, regressionEvaluator, and rho.
|
private |
Definition at line 51 of file ElectronRegressionEnergyProducer.cc.
Referenced by filter().
|
private |
Definition at line 62 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 50 of file ElectronRegressionEnergyProducer.cc.
Referenced by filter().
|
private |
Definition at line 61 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 40 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 43 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer().
|
private |
Definition at line 48 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 59 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 46 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 39 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 54 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), and filter().
|
private |
Definition at line 56 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer(), filter(), and ~ElectronRegressionEnergyProducer().
|
private |
Definition at line 42 of file ElectronRegressionEnergyProducer.cc.
Referenced by ElectronRegressionEnergyProducer().