class THaRun: public THaCodaRun


 Description of a CODA run on disk.

Function Members (Methods)

THaRun(const THaRun& run)
THaRun(const char* filename = "", const char* description = "")
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 voidTHaRunBase::ClearDate()
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTHaCodaRun::Close()
virtual Int_tCompare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
Bool_tTHaRunBase::DBRead() 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 voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
const TDatime&THaRunBase::GetDate() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const Int_t*THaCodaRun::GetEvBuffer() const
const char*GetFilename() const
UInt_tTHaRunBase::GetFirstEvent() const
virtual const char*TObject::GetIconName() const
UInt_tTHaRunBase::GetLastEvent() const
virtual const char*TNamed::GetName() const
UInt_tTHaRunBase::GetNumAnalyzed() const
Int_tTHaRunBase::GetNumber() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
THaRunParameters*THaRunBase::GetParameters() const
Int_tGetSegment() const
virtual const char*TNamed::GetTitle() const
Int_tTHaRunBase::GetType() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual Bool_tTHaRunBase::HasInfo(UInt_t bits) const
virtual Bool_tTHaRunBase::HasInfoRead(UInt_t bits) const
voidTHaRunBase::IncrNumAnalyzed(Int_t n = 1)
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 Int_tTHaRunBase::Init()
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTHaRunBase::IsInit() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTHaCodaRun::IsOpen() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
virtual Int_tOpen()
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 boolTHaRunBase::operator!=(const THaRunBase&) const
virtual boolTHaRunBase::operator<(const THaRunBase&) const
virtual boolTHaRunBase::operator<=(const THaRunBase&) const
virtual THaRun&operator=(const THaRunBase& rhs)
THaRun&operator=(const THaRun&)
virtual boolTHaRunBase::operator==(const THaRunBase&) const
virtual boolTHaRunBase::operator>(const THaRunBase&) const
virtual boolTHaRunBase::operator>=(const THaRunBase&) const
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
virtual Int_tTObject::Read(const char* name)
virtual Int_tTHaCodaRun::ReadEvent()
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 = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTHaRunBase::SetDate(const TDatime& date)
voidTHaRunBase::SetDate(UInt_t tloc)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidTHaRunBase::SetEventRange(UInt_t first, UInt_t last)
virtual Int_tSetFilename(const char* name)
voidTHaRunBase::SetFirstEvent(UInt_t n)
voidTHaRunBase::SetLastEvent(UInt_t n)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNscan(UInt_t n)
virtual voidTHaRunBase::SetNumber(Int_t number)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTHaRunBase::SetType(Int_t type)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
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 Int_tTHaRunBase::Update(const THaEvData* evdata)
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
virtual Int_tTHaRunBase::ReadDatabase()
virtual Int_tReadInitInfo()

Data Members

enum THaRunBase::EInfoType { kDate
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Bool_tTHaRunBase::fAssumeDateTrue if run date explicitly set
THaCodaData*THaCodaRun::fCodaData! CODA data associated with this run
Bool_tTHaRunBase::fDBReadTrue if database successfully read.
UInt_tTHaRunBase::fDataReadFlags for info found in data (see EInfoType)
UInt_tTHaRunBase::fDataRequiredInfo required for Init() to succeed
UInt_tTHaRunBase::fDataSetFlags for info that is valid (see EInfotype)
TDatimeTHaRunBase::fDateRun date and time
UInt_tTHaRunBase::fEvtRange[2]Event range to analyze
TStringfFilenameFile name
Bool_tTHaRunBase::fIsInitTrue if run successfully initialized
UInt_tfMaxScanMax. no. of events to prescan (0=don't scan)
TStringTNamed::fNameobject identifier
UInt_tTHaRunBase::fNumAnalyzedNumber of physics events actually analyzed
Int_tTHaRunBase::fNumberRun number
Bool_tTHaRunBase::fOpenedTrue if opened successfully
THaRunParameters*THaRunBase::fParamRun parameters
Int_tfSegmentSegment number (for split runs)
TStringTNamed::fTitleobject title
Int_tTHaRunBase::fTypeRun type/mode/etc.

Class Charts

Inheritance Chart:

Function documentation

THaRun(const char* filename = "", const char* description = "")
 Normal & default constructor
THaRun(const THaRun& run)
 Copy ctor
THaRun& operator=(const THaRunBase& rhs)
 Assignment operator. We allow assignment to generic THaRun objects
 so that we can copy run objects through a virtual operator=.
 If 'rhs' is of different actual class (e.g. THaOnlRun - an ET run)
 than this object, then its special properties are lost.
void Clear(Option_t* opt = "")
 Reset the run object.
Int_t Compare(const TObject* obj) const
 Compare a THaRun object to another run. Returns 0 when equal,
 -1 when 'this' is smaller and +1 when bigger (like strcmp).
 Used by ROOT containers.
Int_t Open()
 Open CODA file for read-only access.
void Print(Option_t* opt = "") const
Int_t ReadInitInfo()
 Read initial info from the CODA file. This is done by prescanning
 the run file in a local mini event loop via a local decoder.
Int_t SetFilename(const char* name)
 Set the name of the raw data file.
 If the name changes, the existing input, if any, will be closed.
 Return -1 if illegal name, 1 if name not changed, 0 otherwise.
void SetNscan(UInt_t n)
 Set number of events to prescan during Init(). Default is 5000.
Int_t FindSegmentNumber()
 Determine the segment number, if any. For Hall A CODA disk files, we can
 safely assume that the suffix of the file name will tell us.
 Internal function.
THaRun& operator=( const THaRunBase& rhs )
const char* GetFilename()
{ return fFilename.Data(); }
Int_t GetSegment()
{ return fSegment; }

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.