CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
L1TCtL2EgProducer::PFInstanceInputs< T > Class Template Reference

Public Types

typedef std::vector< std::pair< edm::EDGetTokenT< T >, std::vector< int > > > InputTokenAndChannels
 

Public Member Functions

 PFInstanceInputs (L1TCtL2EgProducer *prod, const std::vector< edm::ParameterSet > &confs)
 
const InputTokenAndChannelstokensAndChannels () const
 

Private Attributes

InputTokenAndChannels tokensAndChannels_
 

Detailed Description

template<class T>
class L1TCtL2EgProducer::PFInstanceInputs< T >

Definition at line 59 of file L1TCtL2EgProducer.cc.

Member Typedef Documentation

◆ InputTokenAndChannels

template<class T>
typedef std::vector<std::pair<edm::EDGetTokenT<T>, std::vector<int> > > L1TCtL2EgProducer::PFInstanceInputs< T >::InputTokenAndChannels

Definition at line 61 of file L1TCtL2EgProducer.cc.

Constructor & Destructor Documentation

◆ PFInstanceInputs()

template<class T>
L1TCtL2EgProducer::PFInstanceInputs< T >::PFInstanceInputs ( L1TCtL2EgProducer prod,
const std::vector< edm::ParameterSet > &  confs 
)
inline

Definition at line 62 of file L1TCtL2EgProducer.cc.

62  {
63  for (const auto &conf : confs) {
64  const auto &producer_tag = conf.getParameter<edm::InputTag>("pfProducer");
65  tokensAndChannels_.push_back(std::make_pair(
66  prod->consumes<T>(edm::InputTag(producer_tag.label(), producer_tag.instance(), producer_tag.process())),
67  conf.getParameter<std::vector<int>>("channels")));
68  }
69  }
InputTokenAndChannels tokensAndChannels_
long double T

Member Function Documentation

◆ tokensAndChannels()

template<class T>
const InputTokenAndChannels& L1TCtL2EgProducer::PFInstanceInputs< T >::tokensAndChannels ( ) const
inline

Definition at line 71 of file L1TCtL2EgProducer.cc.

71 { return tokensAndChannels_; }
InputTokenAndChannels tokensAndChannels_

Member Data Documentation

◆ tokensAndChannels_

template<class T>
InputTokenAndChannels L1TCtL2EgProducer::PFInstanceInputs< T >::tokensAndChannels_
private

Definition at line 74 of file L1TCtL2EgProducer.cc.