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
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
MuScleFitEvent event
Definition: MuonPair.h:33
MuScleFitMuon mu1
Definition: MuonPair.h:31
MuScleFitMuon mu2
Definition: MuonPair.h:32
MuonPair(const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const MuScleFitEvent &initMuEvt)
Definition: MuonPair.h:21
void copy(const MuonPair &copyPair)
Used to copy the content of another MuonPair.
Definition: MuonPair.h:25
MuonPair()
Definition: MuonPair.h:15
ClassImp(MuonPair)
Definition: event.py:1