CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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,
HcalRecNumberingRecord
topoToken_
 

Detailed Description

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

Definition at line 142 of file HcalDbProducer.cc.

Member Typedef Documentation

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

Definition at line 144 of file HcalDbProducer.cc.

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

Definition at line 145 of file HcalDbProducer.cc.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 149 of file HcalDbProducer.cc.

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

149  {
150  token_ = cc.consumes(tag);
151  topoToken_ = cc.consumes();
152  }
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > topoToken_
edm::ESGetToken< ProductT, RecordT > token_
ESConsumesCollectorAdaptor consumes()
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_
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

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