Main Page
Namespaces
Classes
Package Documentation
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 "
MuonAnalysis/MomentumScaleCalibration/interface/Muon.h
"
6
#include "
MuonAnalysis/MomentumScaleCalibration/interface/Event.h
"
7
13
class
MuonPair
:
public
TObject
14
{
15
public
:
16
MuonPair
() :
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
{}
22
23
MuonPair
(
const
MuScleFitMuon
& initMu1,
const
MuScleFitMuon
& initMu2,
const
MuScleFitEvent
& initMuEvt) :
24
mu1
(initMu1),
25
mu2
(initMu2),
26
event
(initMuEvt)
27
{}
28
29
31
void
copy
(
const
MuonPair
& copyPair)
32
{
33
mu1
= copyPair.
mu1
;
34
mu2
= copyPair.
mu2
;
35
event
= copyPair.
event
;
36
}
37
38
MuScleFitMuon
mu1
;
39
MuScleFitMuon
mu2
;
40
MuScleFitEvent
event
;
41
42
ClassDef(
MuonPair
, 4)
43
};
44
ClassImp
(
MuonPair
);
45
46
#endif
Muon.h
lorentzVector
reco::Particle::LorentzVector lorentzVector
Definition:
GenMuonPair.h:9
MuonPair::event
MuScleFitEvent event
Definition:
MuonPair.h:40
MuonPair::mu1
MuScleFitMuon mu1
Definition:
MuonPair.h:38
MuonPair::mu2
MuScleFitMuon mu2
Definition:
MuonPair.h:39
MuScleFitEvent
Definition:
Event.h:6
MuScleFitMuon
Definition:
Muon.h:14
MuonPair::MuonPair
MuonPair(const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const MuScleFitEvent &initMuEvt)
Definition:
MuonPair.h:23
MuonPair::copy
void copy(const MuonPair ©Pair)
Used to copy the content of another MuonPair.
Definition:
MuonPair.h:31
Event.h
MuonPair
Definition:
MuonPair.h:13
MuonPair::MuonPair
MuonPair()
Definition:
MuonPair.h:16
ClassImp
ClassImp(MuonPair)
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11