CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/MuonAnalysis/MomentumScaleCalibration/interface/MuonPair.h

Go to the documentation of this file.
00001 #ifndef MuonPair_h
00002 #define MuonPair_h
00003 
00004 #include <TObject.h>
00005 #include "DataFormats/Candidate/interface/Particle.h"
00006 
00007 typedef reco::Particle::LorentzVector lorentzVector;
00008 
00014 class MuonPair : public TObject
00015 {
00016 public:
00017   MuonPair() :
00018     mu1(lorentzVector(0,0,0,0)),
00019     mu2(lorentzVector(0,0,0,0)),
00020     run(0),
00021     event(0)
00022   {}
00023 
00024   MuonPair(const lorentzVector & inputMu1, const lorentzVector & inputMu2,
00025            const unsigned int inputRun, const unsigned int inputEvent) :
00026     mu1(inputMu1),
00027     mu2(inputMu2),
00028     run(inputRun),
00029     event(inputEvent)
00030   {}
00031 
00033   void copy(const MuonPair & copyPair)
00034   {
00035     mu1 = copyPair.mu1;
00036     mu2 = copyPair.mu2;
00037     run = copyPair.run;
00038     event = copyPair.event;
00039   }
00040   
00041   lorentzVector mu1;
00042   lorentzVector mu2;
00043   UInt_t run;
00044   UInt_t event;
00045   
00046   ClassDef(MuonPair, 1)
00047 };
00048 ClassImp(MuonPair)
00049 
00050 #endif