test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
MuonPair Class Reference

#include <MuonPair.h>

Inheritance diagram for MuonPair:

Public Member Functions

void copy (const MuonPair &copyPair)
 Used to copy the content of another MuonPair. More...
 
 MuonPair ()
 
 MuonPair (const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const MuScleFitEvent &initMuEvt)
 

Public Attributes

MuScleFitEvent event
 
MuScleFitMuon mu1
 
MuScleFitMuon mu2
 

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 13 of file MuonPair.h.

Constructor & Destructor Documentation

MuonPair::MuonPair ( )
inline

Definition at line 16 of file MuonPair.h.

16  :
17  //initialize 2 object of class muon
18  mu1(lorentzVector(0,0,0,0),-1),
19  mu2(lorentzVector(0,0,0,0),1),
20  event(0,0,0,0,0,0)
21  {}
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
MuScleFitEvent event
Definition: MuonPair.h:40
MuScleFitMuon mu1
Definition: MuonPair.h:38
MuScleFitMuon mu2
Definition: MuonPair.h:39
MuonPair::MuonPair ( const MuScleFitMuon initMu1,
const MuScleFitMuon initMu2,
const MuScleFitEvent initMuEvt 
)
inline

Definition at line 23 of file MuonPair.h.

23  :
24  mu1(initMu1),
25  mu2(initMu2),
26  event(initMuEvt)
27  {}
MuScleFitEvent event
Definition: MuonPair.h:40
MuScleFitMuon mu1
Definition: MuonPair.h:38
MuScleFitMuon mu2
Definition: MuonPair.h:39

Member Function Documentation

void MuonPair::copy ( const MuonPair copyPair)
inline

Used to copy the content of another MuonPair.

Definition at line 31 of file MuonPair.h.

References event, mu1, and mu2.

Referenced by RootTreeHandler::writeTree().

32  {
33  mu1 = copyPair.mu1;
34  mu2 = copyPair.mu2;
35  event = copyPair.event;
36  }
MuScleFitEvent event
Definition: MuonPair.h:40
MuScleFitMuon mu1
Definition: MuonPair.h:38
MuScleFitMuon mu2
Definition: MuonPair.h:39

Member Data Documentation

MuScleFitEvent MuonPair::event
MuScleFitMuon MuonPair::mu1

Definition at line 38 of file MuonPair.h.

Referenced by copy(), DiObject.DiMuon::leg1(), and RootTreeHandler::readTree().

MuScleFitMuon MuonPair::mu2

Definition at line 39 of file MuonPair.h.

Referenced by copy(), DiObject.DiMuon::leg2(), and RootTreeHandler::readTree().