test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
15  public:
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 
41 
42  ClassDef(MuonPair, 4)
43  };
44 ClassImp(MuonPair)
45 
46 #endif
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
MuScleFitEvent event
Definition: MuonPair.h:40
MuScleFitMuon mu1
Definition: MuonPair.h:38
MuScleFitMuon mu2
Definition: MuonPair.h:39
MuonPair(const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const MuScleFitEvent &initMuEvt)
Definition: MuonPair.h:23
void copy(const MuonPair &copyPair)
Used to copy the content of another MuonPair.
Definition: MuonPair.h:31
MuonPair()
Definition: MuonPair.h:16