CMS 3D CMS Logo

Public Member Functions | Public Attributes

MuonPair Class Reference

#include <MuonPair.h>

List of all members.

Public Member Functions

void copy (const MuonPair &copyPair)
 Used to copy the content of another MuonPair.
 MuonPair ()
 MuonPair (const lorentzVector &inputMu1, const lorentzVector &inputMu2, const unsigned int inputRun, const unsigned int inputEvent)

Public Attributes

UInt_t event
lorentzVector mu1
lorentzVector mu2
UInt_t run

Detailed Description

Simple class used to save the muon pairs in a root tree.
Includes the information on the run and event number.

Definition at line 14 of file MuonPair.h.


Constructor & Destructor Documentation

MuonPair::MuonPair ( ) [inline]

Definition at line 17 of file MuonPair.h.

             :
    mu1(lorentzVector(0,0,0,0)),
    mu2(lorentzVector(0,0,0,0)),
    run(0),
    event(0)
  {}
MuonPair::MuonPair ( const lorentzVector inputMu1,
const lorentzVector inputMu2,
const unsigned int  inputRun,
const unsigned int  inputEvent 
) [inline]

Definition at line 24 of file MuonPair.h.

                                                                       :
    mu1(inputMu1),
    mu2(inputMu2),
    run(inputRun),
    event(inputEvent)
  {}

Member Function Documentation

void MuonPair::copy ( const MuonPair copyPair) [inline]

Used to copy the content of another MuonPair.

Definition at line 33 of file MuonPair.h.

References event, mu1, mu2, and run.

Referenced by RootTreeHandler::writeTree().

  {
    mu1 = copyPair.mu1;
    mu2 = copyPair.mu2;
    run = copyPair.run;
    event = copyPair.event;
  }

Member Data Documentation

Definition at line 44 of file MuonPair.h.

Referenced by copy(), and RootTreeHandler::readTree().

Definition at line 41 of file MuonPair.h.

Referenced by copy(), and RootTreeHandler::readTree().

Definition at line 42 of file MuonPair.h.

Referenced by copy(), and RootTreeHandler::readTree().

UInt_t MuonPair::run

Definition at line 43 of file MuonPair.h.

Referenced by copy(), and RootTreeHandler::readTree().