ROOT logo
AliRoot » HLT » BASE » AliHLTComponent

class AliHLTComponent: public AliHLTLogging

This file is property of and copyright by the ALICE HLT Project
ALICE Experiment at CERN, All rights reserved.

Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
Timm Steinbeck <timm@kip.uni-heidelberg.de>
for The ALICE HLT Project.

Permission to use, copy, modify and distribute this software and its
documentation strictly for non-commercial purposes is hereby granted
without fee, provided that the above copyright notice appears in all
copies and that both the copyright notice and this permission notice
appear in the supporting documentation. The authors make no claims
about the suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.

Function Members (Methods)

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

public:
virtual~AliHLTComponent()
static const char*AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false)
static AliHLTUInt32_tCalculateChecksum(const AliHLTUInt8_t* buffer, int size)
intAliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const
intAliHLTLogging::CheckGroup(const char* originClass) const
intCheckOCDBEntries(const TMap *const externList = 0)
static TClass*Class()
static voidCopyDataType(AliHLTComponentDataType& tgtdt, const AliHLTComponentDataType& srcdt)
static stringDataType2Text(const AliHLTComponentDataType& type, int mode = 0)
virtual intDeinit()
virtual intDoProcessing(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, AliHLTComponentBlockDataList& outputBlocks, AliHLTComponentEventDoneData*& edd)
static intExtractComponentTableEntry(const AliHLTUInt8_t* pBuffer, AliHLTUInt32_t size, string& chainId, string& compId, string& compParam, vector<AliHLTUInt32_t>& parents)
static intExtractComponentTableEntry(const AliHLTUInt8_t* pBuffer, AliHLTUInt32_t size, string& chainId, string& compId, string& compParam, vector<AliHLTUInt32_t>& parents, int& level)
static AliHLTUInt32_tExtractEventTypeFromCDH(const AliHLTCDHWrapper *const cdh)
static intExtractTriggerData(const AliHLTComponentTriggerData& trigData, const AliHLTUInt8_t (**)[gkAliHLTBlockDAttributeCount] attributes, AliHLTUInt64_t* status, AliHLTCDHWrapper *const cdh, AliHLTReadoutList* readoutlist, bool printErrors = false)
static voidFillBlockData(AliHLTComponentBlockData& blockData)
static voidFillDataType(AliHLTComponentDataType& dataType)
static voidFillEventData(AliHLTComponentEventData& evtData)
static voidFillShmData(AliHLTComponentShmData& shmData)
intFindMatchingDataTypes(AliHLTComponent* pConsumer, AliHLTComponentDataTypeList* tgtList)
static TUUIDGenerateGUID()
virtual const char*GetComponentID()
virtual AliHLTComponent::TComponentTypeGetComponentType()
intGetCompressionLevel() const
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
virtual voidGetInputDataTypes(AliHLTComponentDataTypeList&)
const char*AliHLTLogging::GetKeyword() const
intGetLastObjectSize() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
virtual voidGetOCDBObjectDescription(TMap *const targetArray)
virtual voidGetOutputDataSize(unsigned long& constBase, double& inputMultiplier)
virtual AliHLTComponentDataTypeGetOutputDataType()
virtual intGetOutputDataTypes(AliHLTComponentDataTypeList& tgtList)
virtual void*AliHLTLogging::GetParameter() const
static intGetReadoutList(const AliHLTComponentTriggerData& trigData, AliHLTReadoutList& list, bool printErrors = false)
virtual intInit(const AliHLTAnalysisEnvironment* comenv, void* environParam, int argc, const char** argv)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
intInitCDB(const char* cdbPath, AliHLTComponentHandler* pHandler)
virtual TClass*IsA() const
intAliHLTLogging::Logging(AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
virtual intLoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line) const
static intAliHLTLogging::Message(void* param, AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
static voidPrintComponentDataTypeInfo(const AliHLTComponentDataType& dt)
static voidPrintDataTypeContent(AliHLTComponentDataType& dt, const char* format = 0)
intProcessEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, AliHLTUInt32_t& outputBlockCnt, AliHLTComponentBlockData*& outputBlocks, AliHLTComponentEventDoneData*& edd)
intAliHLTLogging::SendMessage(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, const char* message) const
static intAliHLTLogging::SetBlackList(const char* classnames)
intSetCDBRunNo(int runNo)
intSetComponentDescription(const char* desc)
intSetComponentEnvironment(const AliHLTAnalysisEnvironment* comenv, void* environParam)
static voidSetDataType(AliHLTComponentDataType& tgtdt, const char* id, const char* origin)
static voidSetDataType(AliHLTComponentDataType& dt, AliHLTUInt64_t id, AliHLTUInt32_t orig)
voidAliHLTLogging::SetDefaultKeyword(const char* keyword)
static intSetGlobalComponentHandler(AliHLTComponentHandler* pCH, int bOverwrite = 0)
static voidAliHLTLogging::SetGlobalLoggingLevel(AliHLTComponentLogSeverity level)
const char*AliHLTLogging::SetKeyword(const char* keyword)
static voidAliHLTLogging::SetLocalLoggingDefault(AliHLTComponentLogSeverity level)
virtual voidAliHLTLogging::SetLocalLoggingLevel(AliHLTComponentLogSeverity level)
static const char*AliHLTLogging::SetLogString(const void* p, const char* pfmt, const char* format)
intSetRunDescription(const AliHLTRunDesc* desc, const char* runType)
intSetStopwatch(TObject* pSW, AliHLTComponent::AliHLTStopwatchType type = kSWBase)
intSetStopwatches(TObjArray* pStopwatches)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
virtual AliHLTComponent*Spawn()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)
static intUnsetGlobalComponentHandler()
protected:
void*AllocMemory(unsigned long size)
intCheckCTPTrigger(const char* name) const
intCloseMemoryFile(AliHLTMemoryFile* pFile)
intConfigureFromArgumentString(int argc, const char** argv)
intConfigureFromCDBTObjString(const char* entries, const char* key = 0)
intCopyStruct(void* pStruct, unsigned int iStructSize, unsigned int iBlockNo, const char* structname = "", const char* eventname = "")
intCreateEventDoneData(AliHLTComponentEventDoneData edd)
AliHLTMemoryFile*CreateMemoryFile(int capacity, const AliHLTComponentDataType& dt = kAliHLTAnyDataType, AliHLTUInt32_t spec = kAliHLTVoidDataSpec)
AliHLTMemoryFile*CreateMemoryFile(const AliHLTComponentDataType& dt = kAliHLTAnyDataType, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, float capacity = 1.0)
AliHLTMemoryFile*CreateMemoryFile(int capacity, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec)
AliHLTMemoryFile*CreateMemoryFile(const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, float capacity = 1.0)
const AliHLTCTPData*CTPData() const
voidDataType2Text(const AliHLTComponentDataType& type, char* output) const
virtual intDoDeinit()
virtual intDoInit(int argc, const char** argv)
virtual intEndOfRun()
intEstimateObjectSize(const TObject* pObject) const
boolEvaluateCTPTriggerClass(const char* expression, AliHLTComponentTriggerData& trigData) const
intForward(const TObject* pObject)
intForward(const AliHLTComponentBlockData* pBlock = 0)
unsigned shortGetBunchCrossNumber() const
voidGetBxByBz(const Double_t* r, Double_t* b)
Double_tGetBz()
Double_tGetBz(const Double_t* r)
const char*GetChainId() const
AliHLTComponentEventDoneData*GetCurrentEventDoneData() const
AliHLTComponentDataTypeGetDataType(const TObject* pObject = 0)
intGetEventCount() const
intGetEventDoneData(unsigned long size, AliHLTComponentEventDoneData** edd) const
AliHLTEventID_tGetEventId() const
const AliHLTComponentBlockData*GetFirstInputBlock(const AliHLTComponentDataType& dt = kAliHLTAllDataTypes)
const AliHLTComponentBlockData*GetFirstInputBlock(const char* dtID, const char* dtOrigin)
const TObject*GetFirstInputObject(const AliHLTComponentDataType& dt = kAliHLTAllDataTypes, const char* classname = 0, int bForce = 0)
const TObject*GetFirstInputObject(const char* dtID, const char* dtOrigin, const char* classname = 0, int bForce = 0)
const AliHLTComponentBlockData*GetInputBlock(int index) const
const AliHLTComponentBlockData*GetNextInputBlock()
const TObject*GetNextInputObject(int bForce = 0)
intGetNumberOfInputBlocks() const
AliHLTUInt32_tGetOrbitNumber() const
AliHLTUInt32_tGetPeriodNumber() const
AliHLTUInt32_tGetRunNo() const
AliHLTUInt32_tGetRunType() const
AliHLTUInt32_tGetSpecification(const TObject* pObject = 0)
AliHLTUInt32_tGetSpecification(const AliHLTComponentBlockData* pBlock)
AliHLTUInt32_tGetTimeStamp() const
boolIsDataEvent(AliHLTUInt32_t* pTgt = 0) const
TObject*LoadAndExtractOCDBObject(const char* path, const char* key = 0) const
intMakeOutputDataBlockList(const AliHLTComponentBlockDataList& blocks, AliHLTUInt32_t* blockCount, AliHLTComponentBlockData** outputBlocks)
intPushBack(const TObject* pObject, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, void* pHeader = 0, int headerSize = 0)
intPushBack(const TObject* pObject, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, void* pHeader = 0, int headerSize = 0)
intPushBack(const void* pBuffer, int iSize, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, const void* pHeader = 0, int headerSize = 0)
intPushBack(const void* pBuffer, int iSize, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, const void* pHeader = 0, int headerSize = 0)
intPushEventDoneData(AliHLTUInt32_t eddDataWord)
virtual intReadPreprocessorValues(const char* modules)
virtual intReconfigure(const char* cdbEntry, const char* chainId)
voidReleaseEventDoneData()
virtual boolRequireSteeringBlocks() const
intReserveEventDoneData(unsigned long size)
virtual intScanConfigurationArgument(int argc, const char** argv)
intSetupCTPData()
virtual intStartOfRun()
intWrite(AliHLTMemoryFile* pFile, const TObject* pObject, const char* key = 0, int option = TObject::kOverwrite)
private:
intAddComponentStatistics(AliHLTComponentBlockDataList& blocks, AliHLTUInt8_t* buffer, AliHLTUInt32_t bufferSize, AliHLTUInt32_t offset, vector<AliHLTComponentStatistics,allocator<AliHLTComponentStatistics> >& stats) const
intAddComponentTableEntry(AliHLTComponentBlockDataList& blocks, AliHLTUInt8_t* buffer, AliHLTUInt32_t bufferSize, AliHLTUInt32_t offset, const vector<AliHLTUInt32_t>& parents, int processingLevel) const
intCleanupInputObjects()
TObject*CreateInputObject(int idx, int bForce = 0)
intFindInputBlock(const AliHLTComponentBlockData* pBlock) const
intFindInputBlock(const AliHLTComponentDataType& dt, int startIdx = -1, int bObject = 0) const
TObject*GetInputObject(int idx, const char* classname = 0, int bForce = 0)
intIncrementEventCounter()
intInitCTPTriggerClasses(const char* ctpString)
intInsertOutputBlock(const void* pBuffer, int iBufferSize, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec, const void* pHeader = 0, int iHeaderSize = 0)
AliHLTComponent&operator=(const AliHLTComponent&)
intScanECSParam(const char* ecsParam)

Data Members

public:
enum TComponentType { kUnknown
kSource
kProcessor
kSink
};
enum AliHLTStopwatchType { kSWBase
kSWDA
kSWInput
kSWOutput
kSWTypeCount
};
enum { kRequireSteeringBlocks
kDisableComponentStat
};
public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
void (*)()fCDBSetRunNoFunc! transient
stringfChainId! transient
AliHLTUInt32_tfChainIdCrc! transient
stringfClassNamesee above
stringfComponentArgs! transient
intfCompressionLevel! transient
AliHLTEventID_tfCurrentEventsee above
AliHLTComponentEventDatafCurrentEventDatasee above
intfCurrentInputBlocksee above
AliHLTAnalysisEnvironmentfEnvironmentsee above
intfEventCountsee above
AliHLTComponentEventDoneData*fEventDoneData! transient
unsigned longfEventDoneDataSize! transient
intfEventModulo! transient
AliHLTUInt32_tfEventType! transient
intfFailedEventssee above
AliHLTUInt32_tfFlags! transient
intfLastObjectSize! transient
intfLastPushBackTime! transient
vector<AliHLTMemoryFile*>fMemFiles! transient
AliHLTComponentBlockDataListfOutputBlockssee above
AliHLTUInt32_tfOutputBufferFilledsee above
AliHLTUInt32_tfOutputBufferSizesee above
intfPushbackPeriod! transient
AliHLTComponentDataTypefSearchDataTypesee above
static AliHLTComponentHandler*fgpComponentHandler! transient
TStopwatch*fpBenchmark! transient
AliHLTCTPData*fpCTPData! transient
const AliHLTComponentBlockData*fpInputBlocks! transient
TObjArray*fpInputObjects! transient
AliHLTUInt8_t*fpOutputBuffer! transient
AliHLTRunDesc*fpRunDesc! transient
TObjArray*fpStopwatches! transient

Class Charts

Inheritance Chart:
AliHLTLogging
AliHLTComponent
AliHLTDataSink
AliHLTDataSource
AliHLTOfflineDataSource
AliHLTProcessor
AliHLTCalibrationProcessor
AliHLTTTreeProcessor

Function documentation

~AliHLTComponent()
 see header file for function documentation
int SetGlobalComponentHandler(AliHLTComponentHandler* pCH, int bOverwrite = 0)
 see header file for function documentation
int UnsetGlobalComponentHandler()
 see header file for function documentation
int SetComponentEnvironment(const AliHLTAnalysisEnvironment* comenv, void* environParam)
 see header file for function documentation
int Init(const AliHLTAnalysisEnvironment* comenv, void* environParam, int argc, const char** argv)
 see header file for function documentation
int Deinit()
 see header file for function documentation
int InitCDB(const char* cdbPath, AliHLTComponentHandler* pHandler)
 see header file for function documentation
int SetCDBRunNo(int runNo)
 see header file for function documentation
int SetRunDescription(const AliHLTRunDesc* desc, const char* runType)
 see header file for function documentation
int SetComponentDescription(const char* desc)
 see header file for function documentation
int ConfigureFromArgumentString(int argc, const char** argv)
 Configure from an array of argument strings
 Function supports individual arguments in the argv array and arguments
 separated by blanks.

 Each argv entry can contain blanks, quotes and newlines. Newlines are interpreted
 as blanks. Enclosing quotes deactivate blank as delimiter.
 The separated arguments are stored in an array of strings, and the pointers to
 those strings in an array of pointers. The latter is used in the custom argument
 scan of the component.
int ConfigureFromCDBTObjString(const char* entries, const char* key = 0)
 load a list of OCDB objects and configure from the objects
 can either be a TObjString or a TMap with a TObjString:TObjString key-value pair
TObject* LoadAndExtractOCDBObject(const char* path, const char* key = 0) const
 see header file for function documentation
int DoInit(int argc, const char** argv)
 default implementation, childs can overload
int DoDeinit()
 default implementation, childs can overload
int Reconfigure(const char* cdbEntry, const char* chainId)
 default implementation, childs can overload
int ReadPreprocessorValues(const char* modules)
 default implementation, childs can overload
int ScanConfigurationArgument(int argc, const char** argv)
 default implementation, childs can overload
int StartOfRun()
 default implementation, childs can overload
int EndOfRun()
 default implementation, childs can overload
int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList)
 default implementation, childs can overload
void GetOCDBObjectDescription(TMap *const targetArray)
 default implementation, childs can overload
int CheckOCDBEntries(const TMap *const externList = 0)
 check the availability of the OCDB entry descriptions in the TMap
  key : complete OCDB path of the entry
  value : auxiliary object - short description
 if the external map was not provided the function invokes
 interface function GetOCDBObjectDescription() to retrieve the list.
void DataType2Text(const AliHLTComponentDataType& type, char* output) const
 see header file for function documentation
string DataType2Text(const AliHLTComponentDataType& type, int mode = 0)
 see header file for function documentation
void* AllocMemory(unsigned long size)
 see header file for function documentation
int MakeOutputDataBlockList(const AliHLTComponentBlockDataList& blocks, AliHLTUInt32_t* blockCount, AliHLTComponentBlockData** outputBlocks)
 see header file for function documentation
int GetEventDoneData(unsigned long size, AliHLTComponentEventDoneData** edd) const
 see header file for function documentation
int ReserveEventDoneData(unsigned long size)
 see header file for function documentation
int PushEventDoneData(AliHLTUInt32_t eddDataWord)
 see header file for function documentation
void ReleaseEventDoneData()
 see header file for function documentation
int FindMatchingDataTypes(AliHLTComponent* pConsumer, AliHLTComponentDataTypeList* tgtList)
 see header file for function documentation
void PrintDataTypeContent(AliHLTComponentDataType& dt, const char* format = 0)
 see header file for function documentation
void FillBlockData(AliHLTComponentBlockData& blockData)
 see header file for function documentation
void FillShmData(AliHLTComponentShmData& shmData)
 see header file for function documentation
void FillDataType(AliHLTComponentDataType& dataType)
 see header file for function documentation
void CopyDataType(AliHLTComponentDataType& tgtdt, const AliHLTComponentDataType& srcdt)
 see header file for function documentation
void SetDataType(AliHLTComponentDataType& tgtdt, const char* id, const char* origin)
 see header file for function documentation
void SetDataType(AliHLTComponentDataType& dt, AliHLTUInt64_t id, AliHLTUInt32_t orig)
 see header file for function documentation
void FillEventData(AliHLTComponentEventData& evtData)
 see header file for function documentation
void PrintComponentDataTypeInfo(const AliHLTComponentDataType& dt)
 see header file for function documentation
int GetEventCount() const
 see header file for function documentation
int IncrementEventCounter()
 see header file for function documentation
int GetNumberOfInputBlocks() const
 see header file for function documentation
AliHLTEventID_t GetEventId() const
 see header file for function documentation
const TObject* GetFirstInputObject(const AliHLTComponentDataType& dt = kAliHLTAllDataTypes, const char* classname = 0, int bForce = 0)
 see header file for function documentation
const TObject* GetFirstInputObject(const char* dtID, const char* dtOrigin, const char* classname = 0, int bForce = 0)
 see header file for function documentation
const TObject* GetNextInputObject(int bForce = 0)
 see header file for function documentation
int FindInputBlock(const AliHLTComponentDataType& dt, int startIdx = -1, int bObject = 0) const
 see header file for function documentation
TObject* CreateInputObject(int idx, int bForce = 0)
 see header file for function documentation
TObject* GetInputObject(int idx, const char* classname = 0, int bForce = 0)
 see header file for function documentation
int CleanupInputObjects()
 see header file for function documentation
AliHLTComponentDataType GetDataType(const TObject* pObject = 0)
 see header file for function documentation
AliHLTUInt32_t GetSpecification(const TObject* pObject = 0)
 see header file for function documentation
int Forward(const TObject* pObject)
 see header file for function documentation
int Forward(const AliHLTComponentBlockData* pBlock = 0)
 see header file for function documentation
const AliHLTComponentBlockData* GetFirstInputBlock(const AliHLTComponentDataType& dt = kAliHLTAllDataTypes)
 see header file for function documentation
const AliHLTComponentBlockData* GetFirstInputBlock(const char* dtID, const char* dtOrigin)
 see header file for function documentation
const AliHLTComponentBlockData* GetInputBlock(int index) const
 see header file for function documentation
const AliHLTComponentBlockData* GetNextInputBlock()
 see header file for function documentation
int FindInputBlock(const AliHLTComponentBlockData* pBlock) const
 see header file for function documentation
AliHLTUInt32_t GetSpecification(const AliHLTComponentBlockData* pBlock)
 see header file for function documentation
int PushBack(const TObject* pObject, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, void* pHeader = 0, int headerSize = 0)
 see header file for function documentation
int PushBack(const TObject* pObject, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, void* pHeader = 0, int headerSize = 0)
 see header file for function documentation
int PushBack(const void* pBuffer, int iSize, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, const void* pHeader = 0, int headerSize = 0)
 see header file for function documentation
int PushBack(const void* pBuffer, int iSize, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, const void* pHeader = 0, int headerSize = 0)
 see header file for function documentation
int InsertOutputBlock(const void* pBuffer, int iBufferSize, const AliHLTComponentDataType& dt, AliHLTUInt32_t spec, const void* pHeader = 0, int iHeaderSize = 0)
 see header file for function documentation
int EstimateObjectSize(const TObject* pObject) const
 see header file for function documentation
AliHLTMemoryFile* CreateMemoryFile(int capacity, const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec)
 see header file for function documentation
AliHLTMemoryFile* CreateMemoryFile(int capacity, const AliHLTComponentDataType& dt = kAliHLTAnyDataType, AliHLTUInt32_t spec = kAliHLTVoidDataSpec)
 see header file for function documentation
AliHLTMemoryFile* CreateMemoryFile(const char* dtID, const char* dtOrigin, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, float capacity = 1.0)
 see header file for function documentation
AliHLTMemoryFile* CreateMemoryFile(const AliHLTComponentDataType& dt = kAliHLTAnyDataType, AliHLTUInt32_t spec = kAliHLTVoidDataSpec, float capacity = 1.0)
 see header file for function documentation
int Write(AliHLTMemoryFile* pFile, const TObject* pObject, const char* key = 0, int option = TObject::kOverwrite)
 see header file for function documentation
int CloseMemoryFile(AliHLTMemoryFile* pFile)
 see header file for function documentation
int CreateEventDoneData(AliHLTComponentEventDoneData edd)
 see header file for function documentation
int ProcessEvent(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, AliHLTUInt32_t& outputBlockCnt, AliHLTComponentBlockData*& outputBlocks, AliHLTComponentEventDoneData*& edd)
 see header file for function documentation
int AddComponentStatistics(AliHLTComponentBlockDataList& blocks, AliHLTUInt8_t* buffer, AliHLTUInt32_t bufferSize, AliHLTUInt32_t offset, vector<AliHLTComponentStatistics,allocator<AliHLTComponentStatistics> >& stats) const
 see header file for function documentation
int AddComponentTableEntry(AliHLTComponentBlockDataList& blocks, AliHLTUInt8_t* buffer, AliHLTUInt32_t bufferSize, AliHLTUInt32_t offset, const vector<AliHLTUInt32_t>& parents, int processingLevel) const
 see header file for function documentation
int SetStopwatch(TObject* pSW, AliHLTComponent::AliHLTStopwatchType type = kSWBase)
 see header file for function documentation
int SetStopwatches(TObjArray* pStopwatches)
 see header file for function documentation
AliHLTUInt32_t GetRunNo() const
 see header file for function documentation
AliHLTUInt32_t GetRunType() const
 see header file for function documentation
AliHLTUInt32_t GetTimeStamp() const
 see header file for function documentation
AliHLTUInt32_t GetPeriodNumber() const
 see header file for function documentation
AliHLTUInt32_t GetOrbitNumber() const
 see header file for function documentation
AliHLTUInt16_t GetBunchCrossNumber() const
 see header file for function documentation
bool IsDataEvent(AliHLTUInt32_t* pTgt = 0) const
 see header file for function documentation
int CopyStruct(void* pStruct, unsigned int iStructSize, unsigned int iBlockNo, const char* structname = "", const char* eventname = "")
 see header file for function documentation
AliHLTUInt32_t CalculateChecksum(const AliHLTUInt8_t* buffer, int size)
 see header file for function documentation
int ExtractComponentTableEntry(const AliHLTUInt8_t* pBuffer, AliHLTUInt32_t size, string& chainId, string& compId, string& compParam, vector<AliHLTUInt32_t>& parents, int& level)
 see header file for function documentation
int ExtractTriggerData(const AliHLTComponentTriggerData& trigData, const AliHLTUInt8_t (**)[gkAliHLTBlockDAttributeCount] attributes, AliHLTUInt64_t* status, AliHLTCDHWrapper *const cdh, AliHLTReadoutList* readoutlist, bool printErrors = false)
 see header file for function documentation
AliHLTUInt32_t ExtractEventTypeFromCDH(const AliHLTCDHWrapper *const cdh)
 see header file for function documentation
int LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, ... )
 see header file for function documentation
TUUID GenerateGUID()
 Generates a globally unique identifier.
int ScanECSParam(const char* ecsParam)
 see header file for function documentation
int SetupCTPData()
 see header file for function documentation
int InitCTPTriggerClasses(const char* ctpString)
 see header file for function documentation
bool EvaluateCTPTriggerClass(const char* expression, AliHLTComponentTriggerData& trigData) const
 see header file for function documentation
int CheckCTPTrigger(const char* name) const
 see header file for function documentation
Double_t GetBz()
 Returns Bz.
Double_t GetBz(const Double_t* r)
 Returns Bz (kG) at the point "r" .
void GetBxByBz(const Double_t* r, Double_t* b)
 Returns Bx, By and Bz (kG) at the point "r" .
int DoProcessing(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, AliHLTUInt32_t& size, AliHLTComponentBlockDataList& outputBlocks, AliHLTComponentEventDoneData*& edd)
   * Internal processing of one event.
   * The method is pure virtual and implemented by the child classes
   * - @ref AliHLTProcessor
   * - @ref AliHLTDataSource
   * - @ref AliHLTDataSink
   *
   * @param evtData
   * @param blocks
   * @param trigData
   * @param outputPtr
   * @param size
   * @param outputBlocks    out: the output block array is allocated internally
   * @param edd
   * @return neg. error code if failed

TComponentType GetComponentType()
 Information member functions for registration.

   * Get the type of the component.
   * The function is pure virtual and must be implemented by the child class.
   * @return component type id

const char* GetComponentID()
   * Get the id of the component.
   * Each component is identified by a unique id.
   * The function is pure virtual and must be implemented by the child class.
   * @return component id (string)

void GetInputDataTypes(AliHLTComponentDataTypeList& )
   * Get the input data types of the component.
   * The function is pure virtual and must be implemented by the child class.
   * @return list of data types in the vector reference

AliHLTComponentDataType GetOutputDataType()
   * Get the output data type of the component.
   * The function is pure virtual and must be implemented by the child class.
   * @return output data type

void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier)
   * Get a ratio by how much the data volume is shrunken or enhanced.
   * The function is pure virtual and must be implemented by the child class.
   * @param constBase        <i>return</i>: additive part, independent of the
   *                                   input data volume
   * @param inputMultiplier  <i>return</i>: multiplication ratio
   * @return values in the reference variables

AliHLTComponent* Spawn()
   * Spawn function.
   * Each component must implement a spawn function to create a new instance of
   * the class. Basically the function must return <i>new <b>my_class_name</b></i>.
   * @return new class instance

int ExtractComponentTableEntry(const AliHLTUInt8_t* pBuffer, AliHLTUInt32_t size, string& chainId, string& compId, string& compParam, vector<AliHLTUInt32_t>& parents)
   * Extract a component table entry from the payload buffer.
   * The entry consists of the AliHLTComponentTableEntry structure, the array of
   * parents and a description string of the format 'chain-id{component-id:component-args}'.
   * The function fills all the variables after a consistency check.

int GetReadoutList(const AliHLTComponentTriggerData& trigData, AliHLTReadoutList& list, bool printErrors = false)
   * Extracts the readout list from a trigger data structure.
   * @param [in] trigData  The trigger data as passed to the DoProcessing method.
   * @param [out] list  The output readout list to fill.
   * @param [in] printErrors  If true then error messages are generated as necessary
   *                          and suppressed otherwise.
   * @return zero on success or one of the error codes returned by ExtractTriggerData.

AliHLTStopwatchGuard& operator=(const AliHLTComponent& )
 assignment operator (not for use) 
int GetLastObjectSize() const
   * Get size of last serialized object.
   * During PushBack, TObjects are serialized in a separate buffer. The
   * size of the last object can be retrieved by this function.
   *
   * This might be especially useful for PushBack failures caused by too
   * small output buffer.

{return fLastObjectSize;}
int GetCompressionLevel() const
 get the compression level for TObjects
bool RequireSteeringBlocks() const
   * Check whether a component requires all steering blocks.
   * Childs can overload in order to indicate that they want to
   * receive also the steering data blocks. There is also the
   * possibility to add the required data types to the input
   * data type list in GetInputDataTypes().

{return false;}
AliHLTComponentEventDoneData* GetCurrentEventDoneData() const
   * Get the pointer to the event done data available/built so far for the current event via
   * @ref ReserveEventDoneData and @ref PushEventDoneData

const char* GetChainId() const
   * Get the chain id of the component.

{return fChainId.c_str();}