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
public
:
15
MuonPair
()
16
:
//initialize 2 object of class muon
17
mu1
(
lorentzVector
(0, 0, 0, 0), -1),
18
mu2
(
lorentzVector
(0, 0, 0, 0), 1),
19
event
(0, 0, 0, 0, 0, 0) {}
20
21
MuonPair
(
const
MuScleFitMuon
& initMu1,
const
MuScleFitMuon
& initMu2,
const
MuScleFitEvent
& initMuEvt)
22
:
mu1
(initMu1),
mu2
(initMu2),
event
(initMuEvt) {}
23
25
void
copy
(
const
MuonPair
& copyPair) {
26
mu1
= copyPair.
mu1
;
27
mu2
= copyPair.
mu2
;
28
event
= copyPair.
event
;
29
}
30
31
MuScleFitMuon
mu1
;
32
MuScleFitMuon
mu2
;
33
MuScleFitEvent
event
;
34
35
ClassDef(
MuonPair
, 4)
36
};
37
ClassImp
(
MuonPair
);
38
39
#endif
ClassImp
ClassImp(MuonPair)
Event.h
MuScleFitMuon
Definition:
Muon.h:14
MuonPair
Definition:
MuonPair.h:13
MuonPair::mu1
MuScleFitMuon mu1
Definition:
MuonPair.h:31
lorentzVector
reco::Particle::LorentzVector lorentzVector
Definition:
GenMuonPair.h:9
MuonPair::event
MuScleFitEvent event
Definition:
MuonPair.h:33
MuonPair::MuonPair
MuonPair(const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const MuScleFitEvent &initMuEvt)
Definition:
MuonPair.h:21
MuScleFitEvent
Definition:
Event.h:6
MuonPair::MuonPair
MuonPair()
Definition:
MuonPair.h:15
MuonPair::copy
void copy(const MuonPair ©Pair)
Used to copy the content of another MuonPair.
Definition:
MuonPair.h:25
MuonPair::mu2
MuScleFitMuon mu2
Definition:
MuonPair.h:32
event
Definition:
event.py:1
Muon.h
Generated for CMSSW Reference Manual by
1.8.16