test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GenMuonPair.h
Go to the documentation of this file.
1 #ifndef GenMuonPair_h
2 #define GenMuonPair_h
3 
4 #include <TObject.h>
6 // #include "MuonAnalysis/MomentumScaleCalibration/interface/BaseMuonPair.h"
8 
10 
19 class GenMuonPair : public TObject
20 {
21 public:
23  mu1(lorentzVector(0,0,0,0),-1),
24  mu2(lorentzVector(0,0,0,0),1),
25  motherId(0)//,
26  // statusMu(-1),
27  {}
28 
29  GenMuonPair(const MuScleFitMuon & initMu1, const MuScleFitMuon & initMu2,
30  const int initMotherId) :
31  // const int initMotherId, const int initStatusMu) :
32  mu1(initMu1),
33  mu2(initMu2),
34  motherId(initMotherId)//,
35  // statusMu(initStatusMu)
36  // ,
37  // motherId(initMotherId)
38  {
39  // Put this in the initialization list and root will not compile...
40  // Probably some conflict with the other MuonPair class that also contains integers or
41  // something even weirder...
42 /* motherId = initMotherId; */
43  }
44 
46  void copy(const GenMuonPair & copyPair)
47  {
48  mu1 = copyPair.mu1;
49  mu2 = copyPair.mu2;
50  motherId = copyPair.motherId;
51  // statusMu = copyPair.statusMu;
52  }
53 
56  Int_t motherId;
57  // Int_t statusMu;
58 
59  ClassDef(GenMuonPair, 3)
60  };
61 ClassImp(GenMuonPair)
62 
63 #endif
GenMuonPair(const MuScleFitMuon &initMu1, const MuScleFitMuon &initMu2, const int initMotherId)
Definition: GenMuonPair.h:29
MuScleFitMuon mu1
Definition: GenMuonPair.h:54
Int_t motherId
Definition: GenMuonPair.h:56
reco::Particle::LorentzVector lorentzVector
Definition: GenMuonPair.h:9
void copy(const GenMuonPair &copyPair)
Used to copy the content of another GenMuonPair.
Definition: GenMuonPair.h:46
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Particle.h:21
MuScleFitMuon mu2
Definition: GenMuonPair.h:55