ROOT logo
AliRoot » EVE » EVEHLT » AliEveEventBuffer

class AliEveEventBuffer: public TObject

_______________________________________________________________________

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~AliEveEventBuffer()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
TObject*Back()
virtual voidTObject::Browse(TBrowser* b)
static void*BufferThread(void* buffer)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidConnectToSource()
virtual voidTObject::Copy(TObject& object) const
voidCreateBufferThread()
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
TObject*Fwd()
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
ULong64_tGetEventId() const
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
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_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
Int_tLockMutex()
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
voidMonitorBuffer()
TObject*NextEvent()
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
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 voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
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)
voidSetBufferSize(Int_t bs)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetEventId(ULong64_t eventId)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
voidStartBufferMonitor()
voidStopBufferMonitor()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
Int_tUnLockMutex()
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 voidWriteToFile(Int_t runnumber)
protected:
virtual voidAddToBuffer(TObject* event)
Int_tCalculateDifference(Int_t top, Int_t low) const
Int_tCalculateNext(Int_t current) const
Int_tCalculatePrevious(Int_t current) const
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidFetchEvent()
Bool_tGetBufferMonStarted() const
virtual TObject*GetEventFromSource()
virtual ULong64_tGetEventIdFromSource()
voidTObject::MakeZombie()
voidSetBufferMonStarted(Bool_t started)

Data Members

public:
enum fBufferIndex { kCurrent
kLast
kTop
kSize
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Int_tfBIndex[3]Event buffer indexes
Int_tfBufferSizeSize of event buffer
TObject*fCurrentEventPointer to current event
TObjArray*fEventBufferTClonesArray containing the stored events
Int_tfPreBufferHow many events should be prefetched
private:
Bool_tfBufferMonStartedHas buffer monitor loop started?
ULong64_t*fEventIdEvent id
TMutex*fMutexMutex
TThread*fThreadThread pointer
TTimer*fTimerTimer to loop over buffer monitor

Class Charts

Inheritance Chart:
TObject
AliEveEventBuffer
AliEveEventBufferHomer
AliEveEventBufferOffline

Function documentation

~AliEveEventBuffer()
 see header file for class documentation
void CreateBufferThread()
 see header file for class documentation
void * BufferThread(void* buffer)
 see header file for class documentation
void MonitorBuffer()
 see header file for class documentation
TObject * NextEvent()
See header file for documentation
TObject * Back()
 see header file for class documentation
TObject * Fwd()
 see header file for class documentation
TObject * GetNextUnSeen()
See header file for documentation
void PrintIndeces()
 see header file for class documentation
void PrintBuffer()
 see header file for class documentation
void FetchEvent()
 see header file for class documentation
void AddToBuffer(TObject* event)
 see header file for class documentation
Int_t CalculateNext(Int_t current) const
See header file for documentation
Int_t CalculatePrevious(Int_t current) const
See header file for documentation
Int_t CalculateDifference(Int_t top, Int_t low) const
See header file for documentation
void StartBufferMonitor()
cout << "NOT !!! starting buffer mon"<<endl;
void StopBufferMonitor()
 see header file for class documentation
void SetBufferSize(Int_t bs)
{ fBufferSize = bs;}
void ConnectToSource()
Needed for Homer buffer
void WriteToFile(Int_t runnumber)
ULong64_t GetEventId() const
{ return fEventId[fBIndex[kCurrent]]; }
void SetEventId(ULong64_t eventId)
{ fEventId[fBIndex[kCurrent]] = eventId;}
Int_t LockMutex()
{ return fMutex->TryLock();}
Int_t UnLockMutex()
{ return fMutex->UnLock();}
TObject * GetEventFromSource()
ULong64_t GetEventIdFromSource()
{ return 0;}
void SetBufferMonStarted(Bool_t started)
{fBufferMonStarted = started;}
Bool_t GetBufferMonStarted() const
AliEveEventBuffer& operator=(const AliEveEventBuffer& )
 assignment operator prohibited