Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
MuonAnalysis
MomentumScaleCalibration
interface
MuonPair.h
Go to the documentation of this file.
1
#ifndef MuonPair_h
2
#define MuonPair_h
3
4
#include <TObject.h>
5
#include "
DataFormats/Candidate/interface/Particle.h
"
6
7
typedef
reco::Particle::LorentzVector
lorentzVector
;
8
14
class
MuonPair
:
public
TObject
15
{
16
public
:
17
MuonPair
() :
18
mu1
(
lorentzVector
(0,0,0,0)),
19
mu2
(
lorentzVector
(0,0,0,0)),
20
run
(0),
21
event
(0)
22
{}
23
24
MuonPair
(
const
lorentzVector
& inputMu1,
const
lorentzVector
& inputMu2,
25
const
unsigned
int
inputRun,
const
unsigned
int
inputEvent) :
26
mu1
(inputMu1),
27
mu2
(inputMu2),
28
run
(inputRun),
29
event
(inputEvent)
30
{}
31
33
void
copy
(
const
MuonPair
& copyPair)
34
{
35
mu1
= copyPair.
mu1
;
36
mu2
= copyPair.
mu2
;
37
run
= copyPair.
run
;
38
event
= copyPair.
event
;
39
}
40
41
lorentzVector
mu1
;
42
lorentzVector
mu2
;
43
UInt_t
run
;
44
UInt_t
event
;
45
46
ClassDef(
MuonPair
, 1)
47
};
48
ClassImp(
MuonPair
)
49
50
#endif
MuonPair::event
UInt_t event
Definition:
MuonPair.h:44
MuonPair::mu2
lorentzVector mu2
Definition:
MuonPair.h:42
MuonPair::run
UInt_t run
Definition:
MuonPair.h:43
lorentzVector
reco::Particle::LorentzVector lorentzVector
Definition:
GenMuonPair.h:8
MuonPair::copy
void copy(const MuonPair ©Pair)
Used to copy the content of another MuonPair.
Definition:
MuonPair.h:33
MuonPair
Definition:
MuonPair.h:14
MuonPair::MuonPair
MuonPair()
Definition:
MuonPair.h:17
reco::Particle::LorentzVector
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition:
Particle.h:27
Particle.h
MuonPair::mu1
lorentzVector mu1
Definition:
MuonPair.h:41
MuonPair::MuonPair
MuonPair(const lorentzVector &inputMu1, const lorentzVector &inputMu2, const unsigned int inputRun, const unsigned int inputEvent)
Definition:
MuonPair.h:24
Generated for CMSSW Reference Manual by
1.8.5