#ifndef URUN_H
#define URUN_H
#include "TNamed.h"
#include "TString.h"
class URun : public TNamed {
private:
TString fGenerator;
TString fComment;
TString fDecayer;
Int_t fAProj;
Int_t fZProj;
Double32_t fPProj;
Int_t fATarg;
Int_t fZTarg;
Double32_t fPTarg;
Double32_t fBMin;
Double32_t fBMax;
Int_t fBWeight;
Double32_t fPhiMin;
Double32_t fPhiMax;
Double32_t fSigma;
Int_t fNEvents;
public:
URun();
URun(const char *generator, const char *comment, Int_t aProj,
Int_t zProj, Double_t pProj, Int_t aTarg, Int_t zTarg,
Double_t pTarg, Double_t bMin, Double_t bMax, Int_t bWeight,
Double_t phiMin, Double_t phiMax, Double_t sigma, Int_t nEvents);
virtual ~URun();
using TNamed::Print;
void Print(Option_t *option = "");
void GetGenerator(TString& generator) {generator = fGenerator;}
void GetComment(TString& comment) {comment = fComment;}
void GetDecayer(TString& decayer) {decayer = fDecayer;}
inline Int_t GetAProj() const {return fAProj;}
inline Int_t GetZProj() const {return fZProj;}
inline Double_t GetPProj() const {return fPProj;}
inline Int_t GetATarg() const {return fATarg;}
inline Int_t GetZTarg() const {return fZTarg;}
inline Double_t GetPTarg() const {return fPTarg;}
inline Double_t GetBMin() const {return fBMin;}
inline Double_t GetBMax() const {return fBMax;}
inline Int_t GetBWeight() const {return fBWeight;}
inline Double_t GetPhiMax() const {return fPhiMax;}
inline Double_t GetPhiMin() const {return fPhiMin;}
inline Double_t GetSigma() const {return fSigma;}
inline Int_t GetNEvents() const {return fNEvents;}
Double_t GetSqrtS();
Double_t GetProjectileEnergy();
Double_t GetTargetEnergy();
Double_t GetBetaCM();
Double_t GetGammaCM();
inline void SetNEvents(Int_t nEvents) {fNEvents = nEvents;}
inline void SetPProj (Double_t pProj) {fPProj = pProj;}
inline void SetPTarg (Double_t pTarg) {fPTarg = pTarg;}
inline void SetDecayer(TString decayer) {fDecayer = decayer;}
ClassDef(URun, 1);
};
#endif