CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
MultiplicityPair< T1, T2 > Class Template Reference

#include <Multiplicities.h>

Public Member Functions

void getEvent (const edm::Event &iEvent, const edm::EventSetup &iSetup)
 
int mult1 () const
 
int mult2 () const
 
 MultiplicityPair ()
 
 MultiplicityPair (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 
 MultiplicityPair (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
 

Private Attributes

T1 m_multiplicity1
 
T2 m_multiplicity2
 

Detailed Description

template<class T1, class T2>
class MultiplicityPair< T1, T2 >

Definition at line 136 of file Multiplicities.h.

Constructor & Destructor Documentation

template<class T1 , class T2 >
MultiplicityPair< T1, T2 >::MultiplicityPair ( )

Definition at line 154 of file Multiplicities.h.

template<class T1 , class T2 >
MultiplicityPair< T1, T2 >::MultiplicityPair ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 158 of file Multiplicities.h.

159  : m_multiplicity1(iConfig.getParameter<edm::ParameterSet>("firstMultiplicityConfig"), iC),
160  m_multiplicity2(iConfig.getParameter<edm::ParameterSet>("secondMultiplicityConfig"), iC) {}
T getParameter(std::string const &) const
template<class T1 , class T2 >
MultiplicityPair< T1, T2 >::MultiplicityPair ( const edm::ParameterSet iConfig,
edm::ConsumesCollector iC 
)

Definition at line 162 of file Multiplicities.h.

163  : m_multiplicity1(iConfig.getParameter<edm::ParameterSet>("firstMultiplicityConfig"), iC),
164  m_multiplicity2(iConfig.getParameter<edm::ParameterSet>("secondMultiplicityConfig"), iC) {}
T getParameter(std::string const &) const

Member Function Documentation

template<class T1 , class T2 >
void MultiplicityPair< T1, T2 >::getEvent ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)

Definition at line 168 of file Multiplicities.h.

References MultiplicityPair< T1, T2 >::m_multiplicity1, and MultiplicityPair< T1, T2 >::m_multiplicity2.

168  {
169  m_multiplicity1.getEvent(iEvent, iSetup);
170  m_multiplicity2.getEvent(iEvent, iSetup);
171 }
template<class T1 , class T2 >
int MultiplicityPair< T1, T2 >::mult1 ( ) const

Definition at line 174 of file Multiplicities.h.

References MultiplicityPair< T1, T2 >::m_multiplicity1.

174  {
175  return m_multiplicity1.mult();
176 }
template<class T1 , class T2 >
int MultiplicityPair< T1, T2 >::mult2 ( ) const

Definition at line 179 of file Multiplicities.h.

References MultiplicityPair< T1, T2 >::m_multiplicity2.

179  {
180  return m_multiplicity2.mult();
181 }

Member Data Documentation

template<class T1, class T2>
T1 MultiplicityPair< T1, T2 >::m_multiplicity1
private
template<class T1, class T2>
T2 MultiplicityPair< T1, T2 >::m_multiplicity2
private