CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 148 of file Multiplicities.h.

Constructor & Destructor Documentation

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

Definition at line 171 of file Multiplicities.h.

171  :
172  // mult1(0),mult2(0),
174 { }
template<class T1 , class T2 >
MultiplicityPair< T1, T2 >::MultiplicityPair ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 178 of file Multiplicities.h.

178  :
179  // mult1(0),mult2(0),
180  m_multiplicity1(iConfig.getParameter<edm::ParameterSet>("firstMultiplicityConfig"),iC),
181  m_multiplicity2(iConfig.getParameter<edm::ParameterSet>("secondMultiplicityConfig"),iC)
182 { }
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 184 of file Multiplicities.h.

184  :
185  // mult1(0),mult2(0),
186  m_multiplicity1(iConfig.getParameter<edm::ParameterSet>("firstMultiplicityConfig"),iC),
187  m_multiplicity2(iConfig.getParameter<edm::ParameterSet>("secondMultiplicityConfig"),iC)
188 { }
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 193 of file Multiplicities.h.

193  {
194 
195  m_multiplicity1.getEvent(iEvent,iSetup);
196  m_multiplicity2.getEvent(iEvent,iSetup);
197 
198  // mult1=m_multiplicity1.mult;
199  // mult2=m_multiplicity2.mult;
200 
201 }
template<class T1 , class T2 >
int MultiplicityPair< T1, T2 >::mult1 ( ) const

Definition at line 204 of file Multiplicities.h.

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

Definition at line 207 of file Multiplicities.h.

207 { return m_multiplicity2.mult(); }

Member Data Documentation

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

Definition at line 165 of file Multiplicities.h.

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

Definition at line 166 of file Multiplicities.h.