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 > > > InputTokenAndRegions
 

Public Member Functions

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

Private Attributes

InputTokenAndRegions tokensAndRegions_
 

Detailed Description

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

Definition at line 58 of file L1TCtL2EgProducer.cc.

Member Typedef Documentation

◆ InputTokenAndRegions

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

Definition at line 60 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 61 of file L1TCtL2EgProducer.cc.

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

Member Function Documentation

◆ tokensAndRegions()

template<class T>
const InputTokenAndRegions& L1TCtL2EgProducer::PFInstanceInputs< T >::tokensAndRegions ( ) const
inline

Definition at line 70 of file L1TCtL2EgProducer.cc.

70 { return tokensAndRegions_; }

Member Data Documentation

◆ tokensAndRegions_

template<class T>
InputTokenAndRegions L1TCtL2EgProducer::PFInstanceInputs< T >::tokensAndRegions_
private

Definition at line 73 of file L1TCtL2EgProducer.cc.