CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ConcreteFFTJetRcdMapper< DataType, RecordType > Class Template Reference

#include <FFTJetRcdMapper.h>

Inheritance diagram for ConcreteFFTJetRcdMapper< DataType, RecordType >:
AbsFFTJetRcdMapper< DataType >

Public Member Functions

void acquireToken (edm::ConsumesCollector iC) override
 
void acquireToken (edm::ConsumesCollector iC, const std::string &label) override
 
edm::ESHandle< DataType > load (const edm::EventSetup &iSetup) const override
 
 ~ConcreteFFTJetRcdMapper () override
 
- Public Member Functions inherited from AbsFFTJetRcdMapper< DataType >
virtual ~AbsFFTJetRcdMapper ()
 

Private Attributes

edm::ESGetToken< DataType, RecordType > token_
 
bool tokenAcquired_ = false
 

Detailed Description

template<class DataType, class RecordType>
class ConcreteFFTJetRcdMapper< DataType, RecordType >

Definition at line 34 of file FFTJetRcdMapper.h.

Constructor & Destructor Documentation

◆ ~ConcreteFFTJetRcdMapper()

template<class DataType , class RecordType >
ConcreteFFTJetRcdMapper< DataType, RecordType >::~ConcreteFFTJetRcdMapper ( )
inlineoverride

Definition at line 36 of file FFTJetRcdMapper.h.

36 {}

Member Function Documentation

◆ acquireToken() [1/2]

template<class DataType , class RecordType >
void ConcreteFFTJetRcdMapper< DataType, RecordType >::acquireToken ( edm::ConsumesCollector  iC)
inlineoverridevirtual

◆ acquireToken() [2/2]

template<class DataType , class RecordType >
void ConcreteFFTJetRcdMapper< DataType, RecordType >::acquireToken ( edm::ConsumesCollector  iC,
const std::string &  label 
)
inlineoverridevirtual

◆ load()

template<class DataType , class RecordType >
edm::ESHandle<DataType> ConcreteFFTJetRcdMapper< DataType, RecordType >::load ( const edm::EventSetup iSetup) const
inlineoverridevirtual

Implements AbsFFTJetRcdMapper< DataType >.

Definition at line 52 of file FFTJetRcdMapper.h.

References Exception, edm::EventSetup::getHandle(), ConcreteFFTJetRcdMapper< DataType, RecordType >::token_, and ConcreteFFTJetRcdMapper< DataType, RecordType >::tokenAcquired_.

52  {
53  if (!tokenAcquired_)
54  throw cms::Exception("ESGetTokenNotAcquired");
55  return iSetup.getHandle(token_);
56  }
edm::ESGetToken< DataType, RecordType > token_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
Definition: EventSetup.h:130

Member Data Documentation

◆ token_

template<class DataType , class RecordType >
edm::ESGetToken<DataType, RecordType> ConcreteFFTJetRcdMapper< DataType, RecordType >::token_
private

◆ tokenAcquired_

template<class DataType , class RecordType >
bool ConcreteFFTJetRcdMapper< DataType, RecordType >::tokenAcquired_ = false
private