#ifndef TMBMCevtInfo_H #define TMBMCevtInfo_H ////////////////////////////////////////////////////////////////////////// // // // file: TMBMCevtInfo.hpp // // TMBTree MCevt class // has MCevt information // // created: 23-Nov-2002 Wade Fisher // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TObject #include "TObject.h" #endif class TMBMCevtInfo : public TObject { private: Int_t _run; Int_t _evtid; Int_t _nreac; Float_t _xsect; //cross section in microbarns Float_t _weight; Float_t _qsq; Float_t _shat; Float_t _that; Float_t _uhat; public: TMBMCevtInfo(); TMBMCevtInfo(Int_t run, Int_t evtid, Int_t nreac, Float_t xsect, Float_t weight, Float_t qsq, Float_t shat, Float_t that, Float_t uhat); TMBMCevtInfo ( const TMBMCevtInfo & evt ); // copy constructor void Set(Int_t run, Int_t evtid, Int_t nreac, Float_t xsect, Float_t weight, Float_t qsq, Float_t shat, Float_t that, Float_t uhat); ~TMBMCevtInfo(); Int_t run() const { return _run; } Int_t evtid() const { return _evtid; } Int_t nreac() const { return _nreac; } Float_t xsect() const { return _xsect; } Float_t weight() const { return _weight; } Float_t qsq() const { return _qsq; } Float_t shat() const { return _shat; } Float_t that() const { return _that; } Float_t uhat() const { return _uhat; } ClassDef(TMBMCevtInfo, 1) //TMBTree MCevt class }; #endif