CMS 3D CMS Logo

MuonPair.h
Go to the documentation of this file.
1 #ifndef MuonPair_h
2 #define MuonPair_h
3 
4 #include <TObject.h>
7 
13 class MuonPair : public TObject {
14 public:
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 
34 
35  ClassDef(MuonPair, 4)
36 };
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 &copyPair)
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