BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrEventList


class description - source file - inheritance tree

class BrEventList : public TList


    public:
BrEventList BrEventList() BrEventList BrEventList(Int_t max) virtual void ~BrEventList() virtual void Add(TObject* obj) static TClass* Class() virtual Int_t GetIndex() virtual BrEvent* GetNextEvent() virtual BrEvent* GetPreviousEvent() virtual TClass* IsA() const virtual Bool_t IsAtFirst() const virtual Bool_t IsAtLast() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fMax Max number of events Int_t fIndex Current index

Class Description

 BrEventList
 An event FIFO. This class is to be used if you want to cache a
 certain number of events. Once cached you can go back and forth
 in the list.

BrEventList()
 Default constructor

BrEventList( Int_t max )
 Constructor.

void Add( TObject* obj )
 Add event 'obj' to list. Remove first event if by adding this event
 one exceeds fMax.

BrEvent* GetNextEvent()
 Get next event. Return 0 if no event
 was found when reaching the end of the list.

BrEvent* GetPreviousEvent()
 Get previous event that matches trigger mask 'mask'. Return 0 if no event
 was found when reaching the beginning of the list.



Inline Functions


              Int_t GetIndex()
             Bool_t IsAtFirst() const
             Bool_t IsAtLast() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
               void ~BrEventList()

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/08/17 16:27:43 $ by jens $

Validate HTML
Validate CSS