CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiStripGainESProducer::GainGetterT< Record > Class Template Reference
Inheritance diagram for SiStripGainESProducer::GainGetterT< Record >:
SiStripGainESProducer::GainGetter

Public Member Functions

const SiStripApvGaingain (const SiStripGainRcd &rcd) const override
 
 GainGetterT (edm::ESConsumesCollector &cc, std::string record, std::string label)
 
- Public Member Functions inherited from SiStripGainESProducer::GainGetter
 GainGetter (std::string record, std::string label)
 
const auto & recordLabel () const
 
virtual ~GainGetter ()=default
 

Private Attributes

edm::ESGetToken< SiStripApvGain, Recordtoken_
 

Detailed Description

template<typename Record>
class SiStripGainESProducer::GainGetterT< Record >

Definition at line 44 of file SiStripGainESProducer.cc.

Constructor & Destructor Documentation

◆ GainGetterT()

template<typename Record >
SiStripGainESProducer::GainGetterT< Record >::GainGetterT ( edm::ESConsumesCollector cc,
std::string  record,
std::string  label 
)
inline

Member Function Documentation

◆ gain()

template<typename Record >
const SiStripApvGain& SiStripGainESProducer::GainGetterT< Record >::gain ( const SiStripGainRcd rcd) const
inlineoverridevirtual

Implements SiStripGainESProducer::GainGetter.

Definition at line 50 of file SiStripGainESProducer.cc.

References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), and SiStripGainESProducer::GainGetterT< Record >::token_.

50 { return rcd.get(token_); }
edm::ESGetToken< SiStripApvGain, Record > token_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const

Member Data Documentation

◆ token_

template<typename Record >
edm::ESGetToken<SiStripApvGain, Record> SiStripGainESProducer::GainGetterT< Record >::token_
private