CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT > Class Template Reference

Public Types

using Product = ProductT
 
using Record = RecordT
 

Public Member Functions

void setConsumes (edm::ESConsumesCollector &&cc, const edm::ESInputTag &tag)
 
const auto & token () const
 
 TokenAndTopologyHolder ()=default
 
const auto & topoToken () const
 

Private Attributes

edm::ESGetToken< ProductT, RecordT > token_
 
edm::ESGetToken< HcalTopology, HcalRecNumberingRecordtopoToken_
 

Detailed Description

template<typename ProductT, typename RecordT>
class HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >

Definition at line 142 of file HcalDbProducer.cc.

Member Typedef Documentation

◆ Product

template<typename ProductT , typename RecordT >
using HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::Product = ProductT

Definition at line 144 of file HcalDbProducer.cc.

◆ Record

template<typename ProductT , typename RecordT >
using HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::Record = RecordT

Definition at line 145 of file HcalDbProducer.cc.

Constructor & Destructor Documentation

◆ TokenAndTopologyHolder()

template<typename ProductT , typename RecordT >
HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::TokenAndTopologyHolder ( )
default

Member Function Documentation

◆ setConsumes()

template<typename ProductT , typename RecordT >
void HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::setConsumes ( edm::ESConsumesCollector &&  cc,
const edm::ESInputTag tag 
)
inline

◆ token()

template<typename ProductT , typename RecordT >
const auto& HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::token ( ) const
inline

Definition at line 154 of file HcalDbProducer.cc.

References HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::token_.

154 { return token_; }
edm::ESGetToken< ProductT, RecordT > token_

◆ topoToken()

template<typename ProductT , typename RecordT >
const auto& HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::topoToken ( ) const
inline

Definition at line 156 of file HcalDbProducer.cc.

References HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::topoToken_.

156 { return topoToken_; }
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_

Member Data Documentation

◆ token_

template<typename ProductT , typename RecordT >
edm::ESGetToken<ProductT, RecordT> HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::token_
private

◆ topoToken_

template<typename ProductT , typename RecordT >
edm::ESGetToken<HcalTopology, HcalRecNumberingRecord> HcalDbProducer::TokenAndTopologyHolder< ProductT, RecordT >::topoToken_
private