CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
BPHEventSetupWrapper Class Reference

#include <BPHAnalyzerTokenWrapper.h>

Public Member Functions

 BPHEventSetupWrapper (const edm::EventSetup &es)
 
 BPHEventSetupWrapper (const edm::EventSetup &es, BPHRecoCandidate::esType type, void *token)
 
 BPHEventSetupWrapper (const edm::EventSetup &es, std::map< BPHRecoCandidate::esType, void *> tokenMap)
 
 BPHEventSetupWrapper (const BPHEventSetupWrapper &es)=default
 
 BPHEventSetupWrapper (const BPHEventSetupWrapper *es)
 
 BPHEventSetupWrapper (const BPHEventSetupWrapper &es, BPHRecoCandidate::esType type, void *token)
 
 BPHEventSetupWrapper (BPHEventSetupWrapper &es, std::map< BPHRecoCandidate::esType, void *> tokenMap)
 
const edm::EventSetupget () const
 
template<class Obj , class Rec >
BPHESTokenWrapper< Obj, Rec > * get (BPHRecoCandidate::esType type) const
 
 operator const edm::EventSetup & () const
 

Private Attributes

const edm::EventSetupep
 
std::shared_ptr< std::map< BPHRecoCandidate::esType, void * > > twMap
 

Detailed Description

Definition at line 100 of file BPHAnalyzerTokenWrapper.h.

Constructor & Destructor Documentation

◆ BPHEventSetupWrapper() [1/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const edm::EventSetup es)
inlineexplicit

Definition at line 102 of file BPHAnalyzerTokenWrapper.h.

103  : ep(&es), twMap(new std::map<BPHRecoCandidate::esType, void*>) {}
const edm::EventSetup * ep
std::shared_ptr< std::map< BPHRecoCandidate::esType, void * > > twMap

◆ BPHEventSetupWrapper() [2/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const edm::EventSetup es,
BPHRecoCandidate::esType  type,
void *  token 
)
inline

◆ BPHEventSetupWrapper() [3/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const edm::EventSetup es,
std::map< BPHRecoCandidate::esType, void *>  tokenMap 
)
inline

Definition at line 108 of file BPHAnalyzerTokenWrapper.h.

109  : BPHEventSetupWrapper(es) {
110  twMap->insert(tokenMap.begin(), tokenMap.end());
111  }
std::shared_ptr< std::map< BPHRecoCandidate::esType, void * > > twMap
BPHEventSetupWrapper(const edm::EventSetup &es)

◆ BPHEventSetupWrapper() [4/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const BPHEventSetupWrapper es)
default

◆ BPHEventSetupWrapper() [5/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const BPHEventSetupWrapper es)
inline

Definition at line 113 of file BPHAnalyzerTokenWrapper.h.

113 : BPHEventSetupWrapper(*es) {}
BPHEventSetupWrapper(const edm::EventSetup &es)

◆ BPHEventSetupWrapper() [6/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( const BPHEventSetupWrapper es,
BPHRecoCandidate::esType  type,
void *  token 
)
inline

◆ BPHEventSetupWrapper() [7/7]

BPHEventSetupWrapper::BPHEventSetupWrapper ( BPHEventSetupWrapper es,
std::map< BPHRecoCandidate::esType, void *>  tokenMap 
)
inline

Definition at line 118 of file BPHAnalyzerTokenWrapper.h.

119  : BPHEventSetupWrapper(es) {
120  twMap->insert(tokenMap.begin(), tokenMap.end());
121  }
std::shared_ptr< std::map< BPHRecoCandidate::esType, void * > > twMap
BPHEventSetupWrapper(const edm::EventSetup &es)

Member Function Documentation

◆ get() [1/2]

const edm::EventSetup* BPHEventSetupWrapper::get ( ) const
inline

◆ get() [2/2]

template<class Obj , class Rec >
BPHESTokenWrapper<Obj, Rec>* BPHEventSetupWrapper::get ( BPHRecoCandidate::esType  type) const
inline

◆ operator const edm::EventSetup &()

BPHEventSetupWrapper::operator const edm::EventSetup & ( ) const
inline

Definition at line 123 of file BPHAnalyzerTokenWrapper.h.

References SiStripBadComponentsDQMServiceTemplate_cfg::ep.

123 { return *ep; }
const edm::EventSetup * ep

Member Data Documentation

◆ ep

const edm::EventSetup* BPHEventSetupWrapper::ep
private

Definition at line 131 of file BPHAnalyzerTokenWrapper.h.

◆ twMap

std::shared_ptr<std::map<BPHRecoCandidate::esType, void*> > BPHEventSetupWrapper::twMap
private

Definition at line 132 of file BPHAnalyzerTokenWrapper.h.