class THaRunParameters: public TObject

Function Members (Methods)

THaRunParameters(const THaRunParameters& run)
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* opt = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tGetBeamdE() const
Double_tGetBeamE() const
Double_tGetBeamM() const
const char*GetBeamName() const
Double_tGetBeamP() const
Double_tGetBeamPol() const
Int_tGetBeamQ() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
const TArrayI&GetPrescales() const
const char*GetRunName() const
Double_tGetTgtM() const
const char*GetTgtName() const
Double_tGetTgtPol() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tIsFixedTarget() const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsPolzarized() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual THaRunParameters&operator=(const THaRunParameters& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual Int_tReadDatabase(const TDatime& date)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidSetBeam(Double_t E, Double_t M, Int_t Q, Double_t dE = 0.0)
voidSetBeamName(const char* name)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetPolarizations(Double_t pb, Double_t pt)
voidSetRunName(const char* name)
voidSetTgtM(Double_t M)
voidSetTgtName(const char* name)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Double_tfBeamETotal nominal beam energy (GeV)
Double_tfBeamMRest mass of beam particles (GeV/c^2)
TStringfBeamNameDescription of beam particle
Double_tfBeamPCalculated beam momentum (GeV/c)
Double_tfBeamPolBeam polarization
Int_tfBeamQCharge of beam particles (electron: -1)
Double_tfBeamdEBeam energy uncertainty (GeV)
Bool_tfIsPolFlag for beam and/or target polarized
TArrayIfPrescalePrescale factors
TStringfRunNameDescription of run type
Double_tfTgtMTarget rest mass (GeV/c^2)
TStringfTgtNameDescription of target
Double_tfTgtPolTarget polarization

Class Charts

Inheritance Chart:

Function documentation

THaRunParameters(const THaRunParameters& run)
 Default constructor
THaRunParameters(const THaRunParameters& run)
 Copy ctor. Explicitly implemented to work around limitations of CINT
 with derived classes.
THaRunParameters& operator=(const THaRunParameters& rhs)
 THaRunParameters assignment operator.
void Clear(Option_t* opt = "")
 Clear run parameters
void Print(Option_t* opt = "") const
 Print run parameters
Int_t ReadDatabase(const TDatime& date)
 Query the run database for the beam and target parameters at the
 specified date/time.

 Return 0 if success, <0 if file error, >0 if not all required data found.
void SetBeam(Double_t E, Double_t M, Int_t Q, Double_t dE = 0.0)
 Set beam parameters.
void SetPolarizations(Double_t pb, Double_t pt)
 Set beam and target polarization values (user-defined meaning)
const char* GetBeamName()
{ return fBeamName.Data(); }
Double_t GetBeamE()
{ return fBeamE; }
Double_t GetBeamdE()
{ return fBeamdE; }
Double_t GetBeamM()
{ return fBeamM; }
Double_t GetBeamP()
{ return fBeamP; }
Int_t GetBeamQ()
{ return fBeamQ; }
Double_t GetBeamPol()
{ return fBeamPol; }
const char* GetTgtName()
{ return fTgtName.Data(); }
Double_t GetTgtM()
{ return fTgtM; }
Double_t GetTgtPol()
{ return fTgtPol; }
const char* GetRunName()
{ return fRunName; }
Bool_t IsFixedTarget()
{ return kTRUE; }
Bool_t IsPolzarized()
{ return fIsPol; }
void SetTgtM(Double_t M)
{ fTgtM = M; }
void SetBeamName(const char* name)
{ fBeamName = name; }
void SetTgtName(const char* name)
{ fTgtName = name; }
void SetRunName(const char* name)
{ fRunName = name; }
const TArrayI& GetPrescales()
{ return fPrescale; }
TArrayI& Prescales()
{ return fPrescale; }

Last change: Sat Nov 7 21:26:50 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.