ROOT logo
AliRoot » HLT » BASE » AliHLTSystem

class AliHLTSystem: public AliHLTLogging

Function Members (Methods)

public:
AliHLTSystem(AliHLTComponentLogSeverity loglevel = kHLTLogDefault, const char* name = "", AliHLTComponentHandler* pCompHandler = 0, AliHLTConfigurationHandler* pConfHandler = 0)
virtual~AliHLTSystem()
intAddHLTOUTTask(const char* chains)
static intAllocEventDoneData(void* param, AliHLTEventID_t eventID, unsigned long size, AliHLTComponentEventDoneData** edd)
static void*AllocMemory(void* param, unsigned long size)
static const char*AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false)
intBuildTaskList(const char* pConf)
intBuildTaskListsFromReconstructionChains(AliRawReader* rawReader, AliRunLoader* runloader = 0)
intAliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const
intAliHLTLogging::CheckGroup(const char* originClass) const
intCheckStatus(int flag)
static TClass*Class()
intCleanTaskList()
intCleanupHLTOUTHandlers()
intConfigure(AliRunLoader* runloader = 0)
intConfigure(AliRawReader* rawReader, AliRunLoader* runloader = 0)
intDeinitTasks()
intFillESD(int eventNo, AliRunLoader* runLoader, AliESDEvent* esd)
AliHLTfctVoidFindDynamicSymbol(const char* library, const char* symbol)
AliHLTTask*FindTask(const char* id)
AliHLTComponentHandler*GetComponentHandler() const
AliHLTConfigurationHandler*GetConfigurationHandler() const
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
AliHLTOUTTask*GetHLTOUTTask() const
const char*AliHLTLogging::GetKeyword() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
virtual void*AliHLTLogging::GetParameter() const
intGetStatusFlags()
static intAliHLTLogging::Init(AliHLTfctLogging pFun)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
intInitBenchmarking(TObjArray* pStopwatches)
intInitHLTOUT(AliHLTOUT* instance)
intInitTasks()
intInsertTask(AliHLTTask* pTask)
intInvalidateHLTOUT(AliHLTOUT** instance = 0)
virtual TClass*IsA() const
intLoadComponentLibraries(const char* libs)
intLoadConfigurations(AliRawReader* rawReader, AliRunLoader* runloader = 0)
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)
intPauseBenchmarking(TObjArray* pStopwatches) const
intPrintBenchmarking(TObjArray* pStopwatches, int bClean = 0) const
voidPrintTaskList()
intProcessHLTOUT(AliHLTOUT* pHLTOUT, AliESDEvent* esd)
intProcessHLTOUTkChain(AliHLTOUT* pHLTOUT)
intProcessTasks(Int_t eventNo, AliHLTTriggerMask_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
intReconstruct(int nofEvents, AliRunLoader* runLoader, AliRawReader* rawReader = 0)
intReleaseHLTOUT(const AliHLTOUT* instance)
AliHLTOUT*RequestHLTOUT()
intReset(int bForce = 0)
intResumeBenchmarking(TObjArray* pStopwatches) const
intRun(Int_t iNofEvents = 1, int bStop = 1)
intRun(Int_t iNofEvents, int bStop, AliHLTUInt64_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
intRun(Int_t iNofEvents, int bStop, AliHLTTriggerMask_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
intScanOptions(const char* options)
intSendControlEvent(AliHLTComponentDataType dt)
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)
voidAliHLTLogging::SetDefaultKeyword(const char* keyword)
voidSetDetectorMask(UInt_t detMask)
voidSetFrameworkLog(AliHLTComponentLogSeverity level)
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)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
intStartTasks()
intStopTasks()
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)

Data Members

public:
enum AliHLTSystemState { kUninitialized
kLibrariesLoaded
kConfigurationLoaded
kTaskListCreated
kReady
kStarted
kRunning
kError
};
public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
TStringfChains!transient
UInt_tfDetMask!transient
TStringfECSParams!transient
intfEventCount!transient
intfGoodEvents!transient
intfHLTOUTUse!transient
TStringfName!transient
intfStatesee above
TObjArray*fStopwatches!transient
TListfTaskListsee above
boolfUseHLTOUTComponentTypeGlobal!transient
static intfgNofInstancessee above
static const char*fgkHLTDefaultLibs[2147483647]!transient
void*fpChainHandlers!transient
AliHLTComponentHandler*fpComponentHandler! transient
AliHLTConfigurationHandler*fpConfigurationHandler! transient
AliHLTControlTask*fpControlTask!transient
void*fpEsdHandlers!transient
AliHLTOUT*fpHLTOUT!transient
AliHLTOUTTask*fpHLTOUTTask!transient
void*fpProprietaryHandlers!transient

Class Charts

Inheritance Chart:
AliHLTLogging
AliHLTSystem

Function documentation

AliHLTSystem(AliHLTComponentLogSeverity loglevel = kHLTLogDefault, const char* name = "", AliHLTComponentHandler* pCompHandler = 0, AliHLTConfigurationHandler* pConfHandler = 0)
 see header file for class documentation
 or
 refer to README to build package
 or
 visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
~AliHLTSystem()
 see header file for class documentation
int BuildTaskList(const char* pConf)
 see header file for class documentation
int BuildTaskList(AliHLTConfiguration* pConf)
 see header file for class documentation
int CleanTaskList()
 see header file for class documentation
int InsertTask(AliHLTTask* pTask)
 see header file for class documentation
AliHLTTask* FindTask(const char* id)
 see header file for class documentation
void PrintTaskList()
 see header file for class documentation
int Run(Int_t iNofEvents, int bStop, AliHLTUInt64_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
int Run(Int_t iNofEvents, int bStop, AliHLTTriggerMask_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
 see header file for class documentation
int InitTasks()
 see header file for class documentation
int InitBenchmarking(TObjArray* pStopwatches)
 see header file for class documentation
int PauseBenchmarking(TObjArray* pStopwatches) const
 see header file for class documentation
int ResumeBenchmarking(TObjArray* pStopwatches) const
 see header file for class documentation
int PrintBenchmarking(TObjArray* pStopwatches, int bClean = 0) const
 see header file for class documentation
int StartTasks()
 see header file for class documentation
int ProcessTasks(Int_t eventNo, AliHLTTriggerMask_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
 see header file for class documentation
int StopTasks()
 see header file for class documentation
int SendControlEvent(AliHLTComponentDataType dt)
 see header file for class documentation
int DeinitTasks()
 see header file for class documentation
int CleanupHLTOUTHandlers()
 see header file for class documentation
void* AllocMemory(void* param, unsigned long size)
 see header file for class documentation
int AllocEventDoneData(void* param, AliHLTEventID_t eventID, unsigned long size, AliHLTComponentEventDoneData** edd)
 see header file for class documentation
int Reconstruct(int nofEvents, AliRunLoader* runLoader, AliRawReader* rawReader = 0)
 see header file for class documentation
int FillESD(int eventNo, AliRunLoader* runLoader, AliESDEvent* esd)
 see header file for class documentation
int ProcessHLTOUT(AliHLTOUT* pHLTOUT, AliESDEvent* esd)
 see header file for class documentation
int ProcessHLTOUTkChain(AliHLTOUT* pHLTOUT)
 see header file for class documentation
int LoadComponentLibraries(const char* libs)
 see header file for class documentation
int Configure(AliRunLoader* runloader = 0)
 see header file for class documentation
int Configure(AliRawReader* rawReader, AliRunLoader* runloader = 0)
 see header file for class documentation
int ScanOptions(const char* options)
 see header file for class documentation
int Reset(int bForce = 0)
 see header file for class documentation
int LoadConfigurations(AliRawReader* rawReader, AliRunLoader* runloader = 0)
 see header file for class documentation
int BuildTaskListsFromReconstructionChains(AliRawReader* rawReader, AliRunLoader* runloader = 0)
 see header file for class documentation
int AddHLTOUTTask(const char* chains)
 see header file for class documentation
int CheckStatus(int flag)
 see header file for class documentation
int GetStatusFlags()
 see header file for class documentation
int SetStatusFlags(int flags)
 see header file for class documentation
int ClearStatusFlags(int flags)
 see header file for class documentation
AliHLTfctVoid FindDynamicSymbol(const char* library, const char* symbol)
 see header file for class documentation
void SetFrameworkLog(AliHLTComponentLogSeverity level)
 see header file for class documentation
int LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, ... )
 see header file for function documentation
int InitHLTOUT(AliHLTOUT* instance)
 Init the HLTOUT instance for the current event.
 The instance can be used by other classes to get hold on the data
 from HLTOUT.
int InvalidateHLTOUT(AliHLTOUT** instance = 0)
 Clear the HLTOUT instance.
AliHLTOUT* RequestHLTOUT()
 Get the HLTOUT instance.
 User method for processing classes. To be released after use.
int ReleaseHLTOUT(const AliHLTOUT* instance)
 Release the HLTOUT instance after use.
AliHLTSystem(AliHLTComponentLogSeverity loglevel = kHLTLogDefault, const char* name = "", AliHLTComponentHandler* pCompHandler = 0, AliHLTConfigurationHandler* pConfHandler = 0)
 default constructor 
AliHLTOUTTask* GetHLTOUTTask() const
{return fpHLTOUTTask;}
AliHLTComponentHandler* GetComponentHandler() const
AliHLTConfigurationHandler* GetConfigurationHandler() const
int Run(Int_t iNofEvents, int bStop, AliHLTUInt64_t trgMask, AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype, AliHLTUInt32_t participatingDetectors = 0)
   * Run one or more events.
   * Core of the processing loop. The method expects the task list to be
   * already created by a previous call to BuildTaskList(const char*)
   *
   * All tasks of the list will be subsequently processed for each event.
   * The system can remain started if the \em bStop parameter is 0. In that
   * case the system just waits for the next event. A specific call with
   * nofEvents==0 is needed to execute the stop sequence.
   * @param iNofEvents number of events
   * @param bStop      stop the chain after processing
   * @param trgMask    ctp trigger mask from the rawreader
   * @param timestamp  timestamp of the event, read from the rawreader
   * @param eventtype  event type, read from the rawreader
   * @param participatingDetectors  the bit flags of the participating detectors
   *           as will we inserted into the Common Data Header. This should only
   *           be used for software event types.
   * @return number of reconstructed events, neg error code if failed

void SetDetectorMask(UInt_t detMask)
   * Set participating detectors
   * @param detMask     detector mask

{fDetMask=detMask;}
AliHLTSystem& operator=(const AliHLTSystem& )
 assignment operator prohibited