Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:36

0001 #ifndef MuScleFitEvent_h
0002 #define MuScleFitEvent_h
0003 
0004 #include "TObject.h"
0005 
0006 class MuScleFitEvent : public TObject {
0007 public:
0008   MuScleFitEvent() : fRun(0), fEvent(0), fMCWeight(0), fTrueNumPUvtx(0), fTrueNumInteractions(0), fNpv(0) {}
0009 
0010   MuScleFitEvent(const unsigned int initRun,
0011                  const unsigned long long initEvent,
0012                  const double initMCWeight,
0013                  const int initNPUvtx,
0014                  const float initTrueNI,
0015                  const int initNpv)
0016       : fRun(initRun),
0017         fEvent(initEvent),
0018         fMCWeight(initMCWeight),
0019         fTrueNumPUvtx(initNPUvtx),
0020         fTrueNumInteractions(initTrueNI),
0021         fNpv(initNpv) {}
0022 
0023   // Getters
0024   UInt_t run() const { return fRun; }
0025   ULong64_t event() const { return fEvent; }
0026   Double_t MCweight() const { return fMCWeight; }
0027   Int_t nPUvtx() const { return fTrueNumPUvtx; }
0028   Float_t nTrueInteractions() const { return fTrueNumInteractions; }
0029   UInt_t npv() const { return fNpv; }
0030 
0031   UInt_t fRun;
0032   ULong64_t fEvent;
0033   Double_t fMCWeight;
0034   Int_t fTrueNumPUvtx;
0035   Float_t fTrueNumInteractions;
0036   UInt_t fNpv;
0037 
0038   ClassDef(MuScleFitEvent, 1)
0039 };
0040 
0041 ClassImp(MuScleFitEvent);
0042 
0043 #endif