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 60 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 62 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 63 of file L1TCtL2EgProducer.cc.

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

Member Function Documentation

◆ tokensAndChannels()

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

Definition at line 72 of file L1TCtL2EgProducer.cc.

72 { return tokensAndChannels_; }
InputTokenAndChannels tokensAndChannels_

Member Data Documentation

◆ tokensAndChannels_

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

Definition at line 75 of file L1TCtL2EgProducer.cc.