ROOT logo
AliRoot » HLT » BASE » AliHLTReadoutList

class AliHLTReadoutList: public TNamed

Function Members (Methods)

public:
AliHLTReadoutList()
AliHLTReadoutList(Int_t enabledDetectors)
AliHLTReadoutList(const char* enabledList)
AliHLTReadoutList(const AliHLTEventDDL& list)
AliHLTReadoutList(const AliHLTReadoutList& list)
virtual~AliHLTReadoutList()
voidTObject::AbstractMethod(const char* method) const
AliHLTReadoutList&AndEq(const AliHLTReadoutList& list)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
AliHLTEventDDL*Buffer()
const AliHLTEventDDL*Buffer() const
unsigned intBufferSize() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
static boolDecodeDDLID(Int_t ddlId, Int_t& wordIndex, Int_t& bitIndex)
virtual voidTObject::Delete(Option_t* option = "")MENU
boolDetectorDisabled(Int_t detector) const
boolDetectorEnabled(Int_t detector) const
static const char*DetectorIdToString(AliHLTReadoutList::EDetectorId id)
voidDisable(Int_t detector)
voidDisableDDLBit(Int_t ddlId)
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
boolEmpty() const
voidEnable(Int_t detector)
voidEnableDDLBit(Int_t ddlId)
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
Bool_tGetDDLBit(Int_t ddlId) const
static AliHLTReadoutList::EDetectorIdGetDetectorFromWord(Int_t wordindex)
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
AliHLTReadoutList::EDetectorIdGetFirstUsedDetector(AliHLTReadoutList::EDetectorId startAfter = kNoDetector) const
static Int_tGetFirstWord(AliHLTReadoutList::EDetectorId detector)
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::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*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
static Int_tGetWordCount(AliHLTReadoutList::EDetectorId detector)
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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
boolIsDDLDisabled(Int_t ddlId) const
boolIsDDLEnabled(Int_t ddlId) const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() 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()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
AliHLTEventDDL&operator AliHLTEventDDL&()
const AliHLTEventDDL&operator const AliHLTEventDDL&() 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)
AliHLTReadoutListoperator ~() const
AliHLTReadoutListoperator&(const AliHLTReadoutList& list) const
AliHLTReadoutList&operator&=(const AliHLTReadoutList& list)
AliHLTReadoutListoperator-(const AliHLTReadoutList& list) const
AliHLTReadoutList&operator-=(const AliHLTReadoutList& list)
AliHLTReadoutList&operator=(const AliHLTReadoutList& list)
AliHLTReadoutListoperator^(const AliHLTReadoutList& list) const
AliHLTReadoutList&operator^=(const AliHLTReadoutList& list)
AliHLTReadoutListoperator|(const AliHLTReadoutList& list) const
AliHLTReadoutList&operator|=(const AliHLTReadoutList& list)
AliHLTReadoutList&OrEq(const AliHLTReadoutList& list)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(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)
voidSetDDLBit(Int_t ddlId, Bool_t state)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
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
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
AliHLTReadoutList&XorEq(const AliHLTReadoutList& list)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
private:
voidFillStruct(const AliHLTEventDDL& list)

Data Members

public:
enum EDetectorId { kNoDetector
kITSSPD
kITSSDD
kITSSSD
kTPC
kTRD
kTOF
kHMPID
kPHOS
kCPV
kPMD
kMUONTRK
kMUONTRG
kFMD
kT0
kV0
kZDC
kACORDE
kTRG
kEMCAL
kDAQTEST
kHLT
kALLDET
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
AliHLTEventDDLfReadoutList/ The DDL readout list structure.

Class Charts

Inheritance Chart:
TNamed
AliHLTReadoutList

Function documentation

const char* DetectorIdToString(AliHLTReadoutList::EDetectorId id)
 Converts a detector ID to a user readable string.
AliHLTReadoutList()
 Default constructor.
AliHLTReadoutList(Int_t enabledDetectors)
 Constructor to select which detectors to enable for readout.
 See header file for more details.
AliHLTReadoutList(const char* enabledList)
 Constructor to select which detectors and DDLs to enable for readout.
 See header file for more details.
AliHLTReadoutList(const AliHLTEventDDL& list)
 Constructor to create readout list from AliHLTEventDDL structure.
 See header file for more details.
AliHLTReadoutList(const AliHLTReadoutList& list)
 Copy constructor performs a deep copy.
void FillStruct(const AliHLTEventDDL& list)
 Fills internal DDL bits structure.
~AliHLTReadoutList()
 Default destructor.
bool Empty() const
 Returns true if the readout list has no DDLs enabled.
void Clear(Option_t* option = "")
 Resets all the DDL readout bits.
bool DecodeDDLID(Int_t ddlId, Int_t& wordIndex, Int_t& bitIndex)
 Decodes the word index and bit index within that word for the readout list structure.
 See header file for more details.
Bool_t GetDDLBit(Int_t ddlId) const
 Fetches the bit value for a particular DDL in the readout list.
 See header file for more details.
void SetDDLBit(Int_t ddlId, Bool_t state)
 Sets the bit value for a particular DDL in the readout list.
 See header file for more details.
void Enable(Int_t detector)
 Enables all DDLs for a particular detector or detectors.
 See header file for more details.
void Disable(Int_t detector)
 Disables all DDLs for a particular detector or detectors.
 See header file for more details.
bool DetectorEnabled(Int_t detector) const
 Checks if a particular detector's DDLs are enabled.
 See header file for more details.
bool DetectorDisabled(Int_t detector) const
 Checks if a particular detector's DDLs are disabled.
 See header file for more details.
Int_t GetFirstWord(AliHLTReadoutList::EDetectorId detector)
 See header file for more details.
Int_t GetWordCount(AliHLTReadoutList::EDetectorId detector)
 See header file for more details.
void Print(Option_t* option = "") const
 Prints the DDLs that will be readout according to this readout list.
AliHLTReadoutList& OrEq(const AliHLTReadoutList& list)
 a bitwise inclusive or operation on all DDL bits.
 See header file for more details.
AliHLTReadoutList& XorEq(const AliHLTReadoutList& list)
 bitwise exclusive or (xor) operation on all DDL bits.
 See header file for more details.
AliHLTReadoutList& AndEq(const AliHLTReadoutList& list)
 bitwise and operation on all DDL bits.
 See header file for more details.
AliHLTReadoutList operator ~() const
 This operator performs a bitwise ones compliment on all DDL bits.
 See header file for more details.
void Streamer(TBuffer& )
 Stream an object of class AliHLTReadoutList.
void EnableDDLBit(Int_t ddlId)
   * Enables a specific DDL bit in the readout list.
   * \param ddlId  The ID number of the DDL to enable.

void DisableDDLBit(Int_t ddlId)
   * Disables a specific DDL bit in the readout list.
   * \param ddlId  The ID number of the DDL to disable.

bool IsDDLEnabled(Int_t ddlId) const
   * Checks if a particular DDL is enabled for readout.
   * \param ddlId  The ID number of the DDL to check.
   * \return the if the DDL is enabled for readout.

bool IsDDLDisabled(Int_t ddlId) const
   * Checks if a particular DDL is disabled for readout.
   * \param ddlId  The ID number of the DDL to check.
   * \return the if the DDL is disabled for readout.

EDetectorId GetDetectorFromWord(Int_t wordindex)
   * Returns the corresponding detector ID code for the given word index into the
   * internal data structure.
   * \param  wordindex   The position of the word from the start of the DDL readout bit list.
   * \returns the code of the corresponding detector or kNoDetector if invalid.

EDetectorId GetFirstUsedDetector(AliHLTReadoutList::EDetectorId startAfter = kNoDetector) const
   * Returns the first detector with non-zero DDL bits.
   * \param  startAfter  The detector code after which to start looking from.
   *     If kTOF is used for example then only detectors after kTOF will be checked,
   *     not including kTOF, in the order of precedence indicated by EDetectorId.
   * \returns the code of the first used detector.

operator const AliHLTEventDDL&() const
   * This typecast operator converts the readout list to the AliHLTEventDDL
   * structure format.
   * \return  Constant reference to the AliHLTEventDDL raw structure.

{ return fReadoutList; }
operator AliHLTEventDDL&()
   * This typecast operator converts the readout list to the AliHLTEventDDL
   * structure format.
   * \return  Reference to the AliHLTEventDDL raw structure.

{ return fReadoutList; }
AliHLTEventDDL* Buffer()
   * Access method to the binary buffer.
   * \return pointer to the binary buffer.

{ return &fReadoutList; }
const AliHLTEventDDL* Buffer() const
   * Access method to the binary buffer.
   * \return const pointer to the binary buffer.

{ return &fReadoutList; }
unsigned BufferSize() const
   * Access to the size of the binary buffer.
   * \return size of the binary buffer

{ return sizeof(fReadoutList); }