Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaCodaRun Class Reference

Definition at line 14 of file THaCodaRun.h.

Public Member Functions

virtual Int_t Close ()
 
Int_t GetCodaVersion ()
 
virtual Int_t GetDataVersion ()
 
virtual const UInt_tGetEvBuffer () const
 
virtual Bool_t IsOpen () const
 
virtual THaCodaRunoperator= (const THaRunBase &)
 
virtual Int_t ReadEvent ()
 
Int_t SetCodaVersion (Int_t version)
 
virtual Int_t SetDataVersion (Int_t version)
 
 THaCodaRun (const char *description="")
 
 THaCodaRun (const THaCodaRun &rhs)
 
virtual ~THaCodaRun ()
 
- Public Member Functions inherited from THaRunBase
virtual void Clear (Option_t *opt="")
 
virtual void ClearDate ()
 
void ClearEventRange ()
 
virtual Int_t Compare (const TObject *obj) const
 
Bool_t DBRead () const
 
const std::string & GetDAQConfig (size_t i) const
 
const std::string & GetDAQInfo (const std::string &key) const
 
UInt_t GetDataRequired () const
 
const TDatimeGetDate () const
 
UInt_t GetFirstEvent () const
 
UInt_t GetLastEvent () const
 
size_t GetNConfig () const
 
UInt_t GetNumAnalyzed () const
 
UInt_t GetNumber () const
 
THaRunParametersGetParameters () const
 
UInt_t GetType () const
 
virtual Bool_t HasInfo (UInt_t bits) const
 
virtual Bool_t HasInfoRead (UInt_t bits) const
 
void IncrNumAnalyzed (Int_t n=1)
 
virtual Int_t Init ()
 
Bool_t IsInit () const
 
virtual Int_t Open ()=0
 
virtual bool operator!= (const THaRunBase &) const
 
virtual bool operator< (const THaRunBase &) const
 
virtual bool operator<= (const THaRunBase &) const
 
virtual bool operator== (const THaRunBase &) const
 
virtual bool operator> (const THaRunBase &) const
 
virtual bool operator>= (const THaRunBase &) const
 
virtual void Print (Option_t *opt="") const
 
void SetDataRequired (UInt_t mask)
 
virtual void SetDate (const TDatime &date)
 
void SetDate (UInt_t tloc)
 
void SetEventRange (UInt_t first, UInt_t last)
 
void SetFirstEvent (UInt_t n)
 
void SetLastEvent (UInt_t n)
 
virtual void SetNumber (UInt_t number)
 
void SetRunParamClass (const char *classname)
 
virtual void SetType (UInt_t type)
 
 THaRunBase (const char *description="")
 
 THaRunBase (const THaRunBase &run)
 
virtual Int_t Update (const THaEvData *evdata)
 
virtual ~THaRunBase ()
 
- Public Member Functions inherited from TNamed
void Clear (Option_t *option="") override
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
void Copy (TObject &named) const override
 
virtual void FillBuffer (char *&buffer)
 
const char * GetName () const override
 
const char * GetTitle () const override
 
ULong_t Hash () const override
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
- Public Member Functions inherited from TObject
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
 TObject ()
 
 TObject (const TObject &object)
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
virtual ~TObject ()
 

Static Protected Member Functions

static Int_t ReturnCode (Int_t coda_retcode)
 

Protected Attributes

std::unique_ptr< Decoder::THaCodaDatafCodaData
 
- Protected Attributes inherited from THaRunBase
Bool_t fAssumeDate
 
UInt_t fDataRead
 
UInt_t fDataRequired
 
UInt_t fDataSet
 
Int_t fDataVersion
 
TDatime fDate
 
Bool_t fDBRead
 
UInt_t fEvtRange [2]
 
TObjectfExtra
 
Bool_t fIsInit
 
UInt_t fNumAnalyzed
 
UInt_t fNumber
 
Bool_t fOpened
 
std::unique_ptr< THaRunParametersfParam
 
TString fRunParamClass
 
UInt_t fType
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Public Types inherited from THaRunBase
enum  { READ_OK = 0 , READ_EOF = EOF , READ_ERROR = -32 , READ_FATAL = -64 }
 
enum  EInfoType {
  kDate = BIT(0) , kRunNumber = BIT(1) , kRunType = BIT(2) , kPrescales = BIT(3) ,
  kDAQInfo = BIT(4)
}
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from THaRunBase
virtual Int_t ReadDatabase ()
 
virtual Int_t ReadInitInfo (Int_t level=0)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 

#include <THaCodaRun.h>

Inheritance diagram for THaCodaRun:

Constructor & Destructor Documentation

◆ THaCodaRun() [1/2]

THaCodaRun::THaCodaRun ( const char *  description = "")
explicit

Definition at line 20 of file THaCodaRun.cxx.

◆ THaCodaRun() [2/2]

THaCodaRun::THaCodaRun ( const THaCodaRun rhs)

Definition at line 27 of file THaCodaRun.cxx.

◆ ~THaCodaRun()

THaCodaRun::~THaCodaRun ( )
virtualdefault

Member Function Documentation

◆ Close()

Int_t THaCodaRun::Close ( )
virtual

Implements THaRunBase.

Reimplemented in Podd::MultiFileRun.

Definition at line 75 of file THaCodaRun.cxx.

◆ GetCodaVersion()

Int_t THaCodaRun::GetCodaVersion ( )

Definition at line 87 of file THaCodaRun.cxx.

◆ GetDataVersion()

Int_t THaCodaRun::GetDataVersion ( )
inlinevirtual

Reimplemented from THaRunBase.

Reimplemented in Podd::MultiFileRun.

Definition at line 41 of file THaCodaRun.h.

◆ GetEvBuffer()

const UInt_t * THaCodaRun::GetEvBuffer ( ) const
virtual

Implements THaRunBase.

Reimplemented in Podd::MultiFileRun.

Definition at line 123 of file THaCodaRun.cxx.

◆ IsOpen()

Bool_t THaCodaRun::IsOpen ( ) const
virtual

Reimplemented from THaRunBase.

Reimplemented in Podd::MultiFileRun.

Definition at line 133 of file THaCodaRun.cxx.

◆ operator=()

THaCodaRun & THaCodaRun::operator= ( const THaRunBase rhs)
virtual

Reimplemented from THaRunBase.

Reimplemented in Podd::MultiFileRun, THaOnlRun, and THaRun.

Definition at line 39 of file THaCodaRun.cxx.

◆ ReadEvent()

Int_t THaCodaRun::ReadEvent ( )
virtual

Implements THaRunBase.

Reimplemented in Podd::MultiFileRun.

Definition at line 140 of file THaCodaRun.cxx.

◆ ReturnCode()

Int_t THaCodaRun::ReturnCode ( Int_t  coda_retcode)
staticprotected

Definition at line 51 of file THaCodaRun.cxx.

◆ SetCodaVersion()

Int_t THaCodaRun::SetCodaVersion ( Int_t  version)

Definition at line 107 of file THaCodaRun.cxx.

◆ SetDataVersion()

Int_t THaCodaRun::SetDataVersion ( Int_t  version)
inlinevirtual

Reimplemented from THaRunBase.

Definition at line 46 of file THaCodaRun.h.

Member Data Documentation

◆ fCodaData

std::unique_ptr<Decoder::THaCodaData> THaCodaRun::fCodaData
protected

Definition at line 35 of file THaCodaRun.h.

Collaboration diagram for THaCodaRun:

The documentation for this class was generated from the following files: