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 57 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 59 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 60 of file L1TCtL2EgProducer.cc.

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

Member Function Documentation

◆ tokensAndChannels()

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

Definition at line 69 of file L1TCtL2EgProducer.cc.

69 { return tokensAndChannels_; }
InputTokenAndChannels tokensAndChannels_

Member Data Documentation

◆ tokensAndChannels_

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

Definition at line 72 of file L1TCtL2EgProducer.cc.