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 143 of file HcalDbProducer.cc.

Member Typedef Documentation

◆ Product

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

Definition at line 145 of file HcalDbProducer.cc.

◆ Record

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

Definition at line 146 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 155 of file HcalDbProducer.cc.

155 { return token_; }

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

◆ topoToken()

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

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
HcalDbProducer::TokenAndTopologyHolder::topoToken_
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
Definition: HcalDbProducer.cc:161
GlobalPosition_Frontier_DevDB_cff.tag
tag
Definition: GlobalPosition_Frontier_DevDB_cff.py:11
cc
HcalDbProducer::TokenAndTopologyHolder::token_
edm::ESGetToken< ProductT, RecordT > token_
Definition: HcalDbProducer.cc:160