CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
JetCorrectorProducer< T > Class Template Reference

#include "JetCorrectorProducer.h"

Inheritance diagram for JetCorrectorProducer< T >:
edm::stream::EDProducer<>

Public Member Functions

 JetCorrectorProducer (const JetCorrectorProducer &)=delete
 
 JetCorrectorProducer (edm::ParameterSet const &iPSet)
 
const JetCorrectorProduceroperator= (const JetCorrectorProducer &)=delete
 
void produce (edm::Event &iEvent, edm::EventSetup const &iSetup) override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &iDescriptions)
 

Private Attributes

T::Maker maker_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
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
 

Detailed Description

template<typename T>
class JetCorrectorProducer< T >

Description: [one line class summary]

Usage: <usage>

Definition at line 34 of file JetCorrectorProducer.h.

Constructor & Destructor Documentation

◆ JetCorrectorProducer() [1/2]

template<typename T >
JetCorrectorProducer< T >::JetCorrectorProducer ( edm::ParameterSet const &  iPSet)
inline

Definition at line 36 of file JetCorrectorProducer.h.

36  : maker_{iPSet, consumesCollector()} {
37  produces<reco::JetCorrector>();
38  }

◆ JetCorrectorProducer() [2/2]

template<typename T >
JetCorrectorProducer< T >::JetCorrectorProducer ( const JetCorrectorProducer< T > &  )
delete

Member Function Documentation

◆ fillDescriptions()

template<typename T >
static void JetCorrectorProducer< T >::fillDescriptions ( edm::ConfigurationDescriptions iDescriptions)
inlinestatic

Definition at line 47 of file JetCorrectorProducer.h.

47  {
48  T::Maker::fillDescriptions(iDescriptions);
49  }

References fillDescriptions().

◆ operator=()

template<typename T >
const JetCorrectorProducer& JetCorrectorProducer< T >::operator= ( const JetCorrectorProducer< T > &  )
delete

◆ produce()

template<typename T >
void JetCorrectorProducer< T >::produce ( edm::Event iEvent,
edm::EventSetup const &  iSetup 
)
inlineoverride

Definition at line 41 of file JetCorrectorProducer.h.

41  {
42  auto impl = maker_.make(iEvent, iSetup);
43  std::unique_ptr<reco::JetCorrector> corrector{new reco::JetCorrector{std::move(impl)}};
45  }

References pfClustersFromHGC3DClusters_cfi::corrector, iEvent, JetCorrectorProducer< T >::maker_, and eostools::move().

Member Data Documentation

◆ maker_

template<typename T >
T::Maker JetCorrectorProducer< T >::maker_
private

Definition at line 57 of file JetCorrectorProducer.h.

Referenced by JetCorrectorProducer< T >::produce().

JetCorrectorProducer::maker_
T::Maker maker_
Definition: JetCorrectorProducer.h:57
reco::JetCorrector
Definition: JetCorrector.h:33
pfClustersFromHGC3DClusters_cfi.corrector
corrector
Definition: pfClustersFromHGC3DClusters_cfi.py:5
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
iEvent
int iEvent
Definition: GenABIO.cc:224
impl
Definition: trackAlgoPriorityOrder.h:18
eostools.move
def move(src, dest)
Definition: eostools.py:511