CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions
DefaultFFTJetRcdMapper< DataType > Struct Template Reference

#include <FFTJetRcdMapper.h>

Inheritance diagram for DefaultFFTJetRcdMapper< DataType >:

Public Types

typedef DataType data_type
 

Public Member Functions

 DefaultFFTJetRcdMapper ()
 
void load (const edm::EventSetup &iSetup, const std::string &record, const std::string &label, edm::ESHandle< DataType > &handle) const
 
void load (const edm::EventSetup &iSetup, const std::string &record, edm::ESHandle< DataType > &handle) const
 
virtual ~DefaultFFTJetRcdMapper ()
 

Private Member Functions

 DefaultFFTJetRcdMapper (const DefaultFFTJetRcdMapper &)=delete
 
DefaultFFTJetRcdMapperoperator= (const DefaultFFTJetRcdMapper &)=delete
 

Detailed Description

template<class DataType>
struct DefaultFFTJetRcdMapper< DataType >

Definition at line 45 of file FFTJetRcdMapper.h.

Member Typedef Documentation

◆ data_type

template<class DataType>
typedef DataType DefaultFFTJetRcdMapper< DataType >::data_type

Definition at line 46 of file FFTJetRcdMapper.h.

Constructor & Destructor Documentation

◆ DefaultFFTJetRcdMapper() [1/2]

template<class DataType>
DefaultFFTJetRcdMapper< DataType >::DefaultFFTJetRcdMapper ( )
inline

Definition at line 48 of file FFTJetRcdMapper.h.

48 : std::map<std::string, AbsFFTJetRcdMapper<DataType>*>() {}

◆ ~DefaultFFTJetRcdMapper()

template<class DataType>
virtual DefaultFFTJetRcdMapper< DataType >::~DefaultFFTJetRcdMapper ( )
inlinevirtual

Definition at line 50 of file FFTJetRcdMapper.h.

50  {
51  for (typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::iterator it = this->begin(); it != this->end();
52  ++it)
53  delete it->second;
54  }

◆ DefaultFFTJetRcdMapper() [2/2]

template<class DataType>
DefaultFFTJetRcdMapper< DataType >::DefaultFFTJetRcdMapper ( const DefaultFFTJetRcdMapper< DataType > &  )
privatedelete

Member Function Documentation

◆ load() [1/2]

template<class DataType>
void DefaultFFTJetRcdMapper< DataType >::load ( const edm::EventSetup iSetup,
const std::string &  record,
const std::string &  label,
edm::ESHandle< DataType > &  handle 
) const
inline

Definition at line 63 of file FFTJetRcdMapper.h.

66  {
67  typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::const_iterator it = this->find(record);
68  if (it == this->end())
69  throw cms::Exception("KeyNotFound") << "Record \"" << record << "\" is not registered\n";
70  it->second->load(iSetup, label, handle);
71  }

◆ load() [2/2]

template<class DataType>
void DefaultFFTJetRcdMapper< DataType >::load ( const edm::EventSetup iSetup,
const std::string &  record,
edm::ESHandle< DataType > &  handle 
) const
inline

Definition at line 56 of file FFTJetRcdMapper.h.

56  {
57  typename std::map<std::string, AbsFFTJetRcdMapper<DataType>*>::const_iterator it = this->find(record);
58  if (it == this->end())
59  throw cms::Exception("KeyNotFound") << "Record \"" << record << "\" is not registered\n";
60  it->second->load(iSetup, handle);
61  }

◆ operator=()

template<class DataType>
DefaultFFTJetRcdMapper& DefaultFFTJetRcdMapper< DataType >::operator= ( const DefaultFFTJetRcdMapper< DataType > &  )
privatedelete
patZpeak.handle
handle
Definition: patZpeak.py:23
GlobalPosition_Frontier_DevDB_cff.record
record
Definition: GlobalPosition_Frontier_DevDB_cff.py:10
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
mps_fire.end
end
Definition: mps_fire.py:242
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Exception
Definition: hltDiff.cc:245
AbsFFTJetRcdMapper
Definition: FFTJetRcdMapper.h:21
genParticles_cff.map
map
Definition: genParticles_cff.py:11
label
const char * label
Definition: PFTauDecayModeTools.cc:11