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 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.

17  :
18  mu1(lorentzVector(0,0,0,0)),
19  mu2(lorentzVector(0,0,0,0)),
20  run(0),
21  event(0)
22  {}
UInt_t event
Definition: MuonPair.h:44
lorentzVector mu2
Definition: MuonPair.h:42
UInt_t run
Definition: MuonPair.h:43
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:8
lorentzVector mu1
Definition: MuonPair.h:41
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.

25  :
26  mu1(inputMu1),
27  mu2(inputMu2),
28  run(inputRun),
29  event(inputEvent)
30  {}
UInt_t event
Definition: MuonPair.h:44
lorentzVector mu2
Definition: MuonPair.h:42
UInt_t run
Definition: MuonPair.h:43
lorentzVector mu1
Definition: MuonPair.h:41

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().

34  {
35  mu1 = copyPair.mu1;
36  mu2 = copyPair.mu2;
37  run = copyPair.run;
38  event = copyPair.event;
39  }
UInt_t event
Definition: MuonPair.h:44
lorentzVector mu2
Definition: MuonPair.h:42
UInt_t run
Definition: MuonPair.h:43
lorentzVector mu1
Definition: MuonPair.h:41

Member Data Documentation

UInt_t MuonPair::event

Definition at line 44 of file MuonPair.h.

Referenced by copy(), Types.EventID::cppID(), and RootTreeHandler::readTree().

lorentzVector MuonPair::mu1

Definition at line 41 of file MuonPair.h.

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

lorentzVector MuonPair::mu2

Definition at line 42 of file MuonPair.h.

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

UInt_t MuonPair::run