ROOT logo
AliRoot » RAW » AliRawReaderDate

class AliRawReaderDate: public AliRawReader


 This is a class for reading raw data from a date file or event.

 The AliRawReaderDate is constructed either with a pointer to a
 date event or with a file name and an event number.


Function Members (Methods)

public:
AliRawReaderDate(void* event, Bool_t owner = kFALSE)
AliRawReaderDate(const char* fileName, Int_t eventNumber = -1)
virtual~AliRawReaderDate()
voidTObject::AbstractMethod(const char* method) const
voidAliRawReader::AddErrorLog(AliRawDataErrorLog::ERawDataErrorLevel level, Int_t code, const char* message = NULL)
voidAliRawReader::AddFatalErrorLog(Int_t code, const char* message = NULL)
voidAliRawReader::AddMajorErrorLog(Int_t code, const char* message = NULL)
voidAliRawReader::AddMinorErrorLog(Int_t code, const char* message = NULL)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Int_tCheckData() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual AliRawReader*CloneSingleEvent() const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
static AliRawReader*AliRawReader::Create(const char* uri)
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
voidAliRawReader::DumpData(Int_t limit = -1)
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
const TClonesArray&AliRawReader::GetAllErrorLogs() const
virtual const UInt_t*GetAttributes() const
UShort_tAliRawReader::GetBCID() const
UChar_tAliRawReader::GetBlockAttributes() const
virtual TChain*AliRawReader::GetChain() const
ULong64_tAliRawReader::GetClassMask() const
ULong64_tAliRawReader::GetClassMaskNext50() const
const AliRawDataHeader*AliRawReader::GetDataHeader() const
const AliRawDataHeaderV3*AliRawReader::GetDataHeaderV3() const
Int_tAliRawReader::GetDataSize() const
Int_tAliRawReader::GetDDLID() const
Int_tAliRawReader::GetDetectorID() const
virtual const UInt_t*GetDetectorPattern() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const UInt_t*GetEquipmentAttributes() const
virtual Int_tGetEquipmentElementSize() const
virtual Int_tGetEquipmentHeaderSize() const
virtual Int_tGetEquipmentId() const
virtual Int_tGetEquipmentSize() const
virtual Int_tGetEquipmentType() const
Int_tAliRawReader::GetErrorCode() const
AliRawDataErrorLog*AliRawReader::GetErrorLog(Int_t i) const
virtual const AliRawVEvent*AliRawReader::GetEvent() const
virtual const AliRawEventHeaderBase*AliRawReader::GetEventHeader() const
virtual const UInt_t*GetEventId() const
ULong64_tAliRawReader::GetEventIdAsLong() const
virtual Int_tAliRawReader::GetEventIndex() const
virtual UInt_tGetGDCId() const
virtual const char*TObject::GetIconName() const
virtual UInt_tGetLDCId() const
Int_tAliRawReader::GetMappedEquipmentId() const
virtual const char*TObject::GetName() const
Int_tAliRawReader::GetNumberOfErrorLogs() const
virtual Int_tAliRawReader::GetNumberOfEvents() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
UInt_tAliRawReader::GetOrbitID() const
UInt_tAliRawReader::GetPeriod() const
virtual UInt_tGetRunNumber() const
UInt_tAliRawReader::GetStatusBits() const
virtual const UInt_t*GetSubEventAttributes() const
virtual UInt_tGetTimestamp() const
virtual const char*TObject::GetTitle() const
virtual const UInt_t*GetTriggerPattern() const
virtual UInt_tGetType() const
virtual UInt_tTObject::GetUniqueID() const
Int_tAliRawReader::GetVersion() const
virtual Bool_tAliRawReader::GotoEvent(Int_t event)
virtual Bool_tAliRawReader::GotoEventWithID(Int_t event, UInt_t period, UInt_t orbitID, UShort_t bcID)
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
Bool_tAliRawReader::IsCompressed() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tAliRawReader::IsRawReaderValid() const
virtual Bool_tTObject::IsSortable() const
Bool_tAliRawReader::IsValid() const
Bool_tTObject::IsZombie() const
Bool_tAliRawReader::LoadEquipmentIdsMap(const char* fileName)
voidAliRawReader::LoadTriggerAlias(const THashList* lst)
voidAliRawReader::LoadTriggerClass(const char* name, Int_t index)
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tNextEvent()
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 Bool_tReadHeader()
virtual Bool_tReadNext(UChar_t* data, Int_t size)
virtual Bool_tAliRawReader::ReadNextChar(UChar_t& data)
virtual Bool_tReadNextData(UChar_t*& data)
virtual Bool_tAliRawReader::ReadNextInt(UInt_t& data)
virtual Bool_tAliRawReader::ReadNextShort(UShort_t& data)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidAliRawReader::RequireHeader(Bool_t required)
virtual Bool_tReset()
voidTObject::ResetBit(UInt_t f)
virtual Bool_tRewindEvents()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
virtual voidAliRawReader::Select(Int_t detectorID, Int_t minDDLID = -1, Int_t maxDDLID = -1)
virtual voidAliRawReader::Select(const char* detectorName, Int_t minDDLID = -1, Int_t maxDDLID = -1)
virtual voidAliRawReader::SelectEquipment(Int_t equipmentType, Int_t minEquipmentId = -1, Int_t maxEquipmentId = -1)
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)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidAliRawReader::SkipInvalid(Bool_t skip = kTRUE)
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
Bool_tAliRawReader::TestBlockAttribute(Int_t index) const
virtual Bool_tAliRawReader::UseAutoSaveESD() 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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
Bool_tAliRawReader::IsEventSelected() const
Bool_tAliRawReader::IsSelected() const
voidTObject::MakeZombie()
virtual voidAliRawReader::SelectEvents(Int_t type, ULong64_t triggerMask = 0, const char* triggerExpr = NULL)
UShort_tAliRawReader::SwapShort(UShort_t x) const
UInt_tAliRawReader::SwapWord(UInt_t x) const
private:
AliRawReaderDate(const AliRawReaderDate& rawReader)
AliRawReaderDate&operator=(const AliRawReaderDate& rawReader)

Data Members

protected:
Int_tAliRawReader::fCountcounter of bytes to be read for current DDL
UChar_t*fEndend position of the current data block
equipmentHeaderStruct*fEquipmentraw data equipment header
TArrayI*AliRawReader::fEquipmentIdsInarray of equipment Ids to be mapped
TArrayI*AliRawReader::fEquipmentIdsOutarray of mapped equipment Ids
Int_tAliRawReader::fErrorCodecode of last error
TClonesArrayAliRawReader::fErrorLogsraw data decoding errors
eventHeaderStruct*fEventraw data super event
Int_tAliRawReader::fEventNumbercurrent event number
FILE*fFileDATE file
AliRawDataHeader*AliRawReader::fHeadercurrent data header
AliRawDataHeader*AliRawReader::fHeaderSwappedtemporary buffer for swapping header on PowerPC
AliRawDataHeaderV3*AliRawReader::fHeaderSwappedV3temporary buffer for swapping header on PowerPC
AliRawDataHeaderV3*AliRawReader::fHeaderV3current data header
Bool_tAliRawReader::fIsTriggerClassLoadedflags the call to LoadTriggerClass
Bool_tAliRawReader::fIsValidis raw-reader created successfully
Bool_tfOwneris raw-reader owner of the raw event or not
UChar_t*fPositioncurrent position in the raw data
Bool_tAliRawReader::fRequireHeaderif false, data without header is accepted
Int_tAliRawReader::fSelectEquipmentTypetype of selected equipment (<0 = no selection)
Int_tAliRawReader::fSelectEventTypetype of selected events (<0 = no selection)
Int_tAliRawReader::fSelectMaxEquipmentIdmaximal index of selected equipment (<0 = no selection)
Int_tAliRawReader::fSelectMinEquipmentIdminimal index of selected equipment (<0 = no selection)
TStringAliRawReader::fSelectTriggerExprtrigger expression for selecting events (empty = no selection)
ULong64_tAliRawReader::fSelectTriggerMasktrigger mask for selecting events (0 = no selection)
Bool_tAliRawReader::fSkipInvalidskip invalid data
eventHeaderStruct*fSubEventraw data sub event

Class Charts

Inheritance Chart:
TObject
AliRawReader
AliRawReaderDate

Function documentation

AliRawReaderDate(void* event, Bool_t owner = kFALSE)
 create an object to read digits from the given date event
AliRawReaderDate(const char* fileName, Int_t eventNumber = -1)
 create an object to read digits from the given date event
~AliRawReaderDate()
 destructor
UInt_t GetType() const
 get the type from the event header
UInt_t GetRunNumber() const
 get the run number from the event header
const UInt_t* GetEventId() const
 get the event id from the event header
const UInt_t* GetTriggerPattern() const
 get the trigger pattern from the event header
const UInt_t* GetDetectorPattern() const
 get the detector pattern from the event header
const UInt_t* GetAttributes() const
 get the type attributes from the event header
const UInt_t* GetSubEventAttributes() const
 get the type attributes from the sub event header
UInt_t GetLDCId() const
 get the LDC Id from the event header
UInt_t GetGDCId() const
 get the GDC Id from the event header
UInt_t GetTimestamp() const
 get the timestamp from the event header
Int_t GetEquipmentSize() const
 get the size of the equipment (including the header)
Int_t GetEquipmentType() const
 get the type from the equipment header
Int_t GetEquipmentId() const
 get the ID from the equipment header
const UInt_t* GetEquipmentAttributes() const
 get the attributes from the equipment header
Int_t GetEquipmentElementSize() const
 get the basic element size from the equipment header
Int_t GetEquipmentHeaderSize() const
 Get the equipment header size
 28 bytes by default
Bool_t ReadHeader()
 read a data header at the current position
 returns kFALSE if the data header could not be read
Bool_t ReadNextData(UChar_t*& data)
 reads the next payload at the current position
 returns kFALSE if the data could not be read
Bool_t ReadNext(UChar_t* data, Int_t size)
 reads the next block of data at the current position
 returns kFALSE if the data could not be read
Bool_t Reset()
 reset the current position to the beginning of the event
Bool_t NextEvent()
 go to the next event in the date file
Bool_t RewindEvents()
 go back to the beginning of the date file
Int_t CheckData() const
 check the consistency of the data
AliRawReader* CloneSingleEvent() const
 Clones the current event and
 creates raw-reader for the cloned event
 Can be used in order to make asynchronious
 access to the current raw data within
 several threads (online event display/reco)
AliRawReaderDate(void* event, Bool_t owner = kFALSE)