CMS 3D CMS Logo

Public Member Functions | Private Attributes

MultiplicityPair< T1, T2 > Class Template Reference

#include <Multiplicities.h>

List of all members.

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)

Private Attributes

SingleMultiplicity< T1 > m_multiplicity1
SingleMultiplicity< T2 > m_multiplicity2

Detailed Description

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

Definition at line 93 of file Multiplicities.h.


Constructor & Destructor Documentation

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

Definition at line 113 of file Multiplicities.h.

                                           :
    //    mult1(0),mult2(0),  
    m_multiplicity1(),  m_multiplicity2()
{ }
template<class T1 , class T2 >
MultiplicityPair< T1, T2 >::MultiplicityPair ( const edm::ParameterSet iConfig)

Definition at line 119 of file Multiplicities.h.

                                                                         :
    //    mult1(0),mult2(0),
    m_multiplicity1(iConfig.getParameter<edm::ParameterSet>("firstMultiplicityConfig")),
    m_multiplicity2(iConfig.getParameter<edm::ParameterSet>("secondMultiplicityConfig"))
{ }

Member Function Documentation

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

Definition at line 127 of file Multiplicities.h.

                                                                                       {
  
  m_multiplicity1.getEvent(iEvent,iSetup);
  m_multiplicity2.getEvent(iEvent,iSetup);

  //  mult1=m_multiplicity1.mult;
  //  mult2=m_multiplicity2.mult;
  
}
template<class T1 , class T2 >
int MultiplicityPair< T1, T2 >::mult1 ( ) const

Definition at line 138 of file Multiplicities.h.

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

Definition at line 141 of file Multiplicities.h.

{ return m_multiplicity2.mult(); }

Member Data Documentation

template<class T1 , class T2 >
SingleMultiplicity<T1> MultiplicityPair< T1, T2 >::m_multiplicity1 [private]

Definition at line 107 of file Multiplicities.h.

template<class T1 , class T2 >
SingleMultiplicity<T2> MultiplicityPair< T1, T2 >::m_multiplicity2 [private]

Definition at line 108 of file Multiplicities.h.