ROOT logo
//-*- Mode: C++ -*-
// $Id$

#ifndef ALIHLTSYSTEM_H
#define ALIHLTSYSTEM_H
//* This file is property of and copyright by the                          * 
//* ALICE Experiment at CERN, All rights reserved.                         *
//* See cxx source for full Copyright notice                               *

//  @file   AliHLTSystem.h
//  @author Matthias Richter
//  @date   2007
//  @brief  Global HLT module management and AliRoot integration.
//  @note   The class is used in Offline (AliRoot) context
// 

/**
 * @defgroup alihlt_system HLT integration into AliRoot
 * This section describes the HLT integration into AliRoot.
 * 
 * @section alihlt_system_intro General Remarks
 * The HLT analysis is organized in components which can also be used 
 * in off-line processing. Two different types of off-line applications 
 * can be distinguished:
 * - AliRoot simulation (AliSimulation)
 * - AliRoot reconstruction (AliReconstruction)
 *
 * In either case an HLT chain described by means of AliHLTConfiguration
 * builds the core of any HLT application. Special components exist, which 
 * emulate the behavior of the components of the HLT on-line data 
 * transportation framework. Together with the analysis components, this 
 * allows the full emulation of the behavoir of HLT analysis chain off-line.
 *
 * More details how to setup up such a chain can be found:
 * - The examples page under @ref tut_hltsystem
 *
 * @section alihlt_system_simulation AliRoot simulation
 * HLT has a special role in the normal data flow  of simulation and
 * reconstruction. Since the HLT reconstruction and analysis runs on-line
 * on the HLT farm, the raw data produced by HLT as a detector contains
 * already reconstructed events. Consequently, the HLT response has to be
 * simulated as well as the data of all other detectors. 
 *
 * Since the detector data is needed, the HLT simulation is run at the 
 * end of AliSimulation.
 *
 * As a matter of fact, HLT always reconstructs data, <em><b>HLT simulation
 * </b></em> means <em><b>HLT reconstruction embedded into AliRoot</b></em>.
 *
 * More Details an be found in the module: 
 * - @ref alihlt_aliroot_simulation
 *
 * @section alihlt_system_reconstruction AliRoot reconstruction
 *
 * Like all other ALICE detectors, HLT utilizes the AliReconstruction interface
 * to implement a plugin for the AliRoot reconstruction. The reconstructor can be
 * used to
 * - run HLT analysis chains in the AliRoot reconstruction <br>
 *   This option is mainly intended for the development and debugging cycle. HLT
 *   chains can be defined by means of AliHLTConfiguration and can be run either
 *   stand-alone or embedded into the AliReconstruction cycle.
 * - run the default analysis chains <br>
 *   HLT modules can define default analysis chains to be run during AliRoot
 *   reconstruction.
 * - handle the HLTOUT data<br>
 *   The HLT output stream contains multiple data blocks produced by the various
 *   components of the HLT chain. Each block might need different and even
 *   detector specific processing, like e.g. the processing of ESD objects or the
 *   handling of compressed data.
 *
 * More Details an be found in the module: 
 * - @ref alihlt_aliroot_reconstruction
 *
 */

#include "AliHLTLogging.h"
#include <TList.h>
#include <TString.h>

class AliHLTComponentHandler;
class AliHLTConfiguration;
class AliHLTConfigurationHandler;
class AliHLTTask;
class AliHLTOUT;
class AliHLTOUTTask;
class AliHLTControlTask;
class AliRunLoader;
class AliRawReader;
class AliESDEvent;
class TObjArray;
class TStopwatch;

/**
 * @class AliHLTSystem
 * Main class for the HLT integration into AliRoot.
 * @note This class is only used for the @ref alihlt_system.
 *
 * @section alihltsystem_overview Main functionality
 * The class implements the main binding functionality to run HLT
 * embedded in AliRoot:
 * - creates handlers for HLT components (AliHLTComponentHandler)
 * and configurations (AliHLTConfigurationHandler).
 * - implements the creation of a task list from configurations
 * - runs the tasks of the task list
 * - implements the interface to AliHLTReconstructor and AliHLTSimulation
 * - manages the registered module agents (AliHLTModuleAgent) 
 *
 * @section alihltsystem_functions Main functions
 * The following list gives the most important functions, see documentation
 * of functions for details.
 * - ScanOptions(const char*) initialize the system from arguments
 * - BuildTaskList(const char*) build task list for a reconstruction chain
 * - Run() processing loop for task list
 * - Reconstruct() interface to AliHLTReconstructor
 * - ProcessHLTOUT() process an HLTOUT colection
 *
 * @section alihltsystem_initialization Initialization
 * AliHLTSystem is initialized with a list of component libraries which determine
 * the actual functionality. See ScanOptions() for description of options.
 *
 * @section alihltsystem_usage Usage
 * The class AliHLTPluginBase handles the global instance of AliHLTSystem,
 * the instance is created and fetched like 
 * <pre>
 * // setup the HLT system
 * AliHLTSystem* pHLT=AliHLTPluginBase::GetInstance();
 * </pre>
 *
 * @ingroup alihlt_system
 */
class AliHLTSystem : public AliHLTLogging {
 public:
  /** default constructor */
  AliHLTSystem(AliHLTComponentLogSeverity loglevel=kHLTLogDefault,
	       const char* name="",
	       AliHLTComponentHandler* pCompHandler=NULL,
	       AliHLTConfigurationHandler* pConfHandler=NULL
	       );
  /** destructor */
  virtual ~AliHLTSystem();

  /**
   * Build a task list 
   * This method is used to build the list of tasks from the configuration
   * id of a single 'master' configuration.
   *
   * Configuration entries might depend upon other configurations. For each
   * configuration which has not yet been converted into an AliHLTTask, the
   * method will be called iteratively. Finally, after building all tasks
   * providing the input for the current one, the task is inserted to the
   * list of tasks with the InsertTask() method.
   *
   * The function can be called multiple times in order to add more than one
   * chain to the system.
   *
   * @param pConf    configuration name/id
   */
  int BuildTaskList(const char* pConf);

  /**
   * Clean the list of tasks and delete all the task objects.
   */
  int CleanTaskList();

  /**
   * Insert a task to the task list.
   * The method first checks whether all dependencies are resolved (i.e. exist 
   * already in the task list). During this iteration the cross links between
   * the tasks are set as well. If all dependencies are resolved, the task is
   * added at the end of the list.
   * @param pTask    pointer to task to add
   */
  int InsertTask(AliHLTTask* pTask);

  /**
   * Add HLTOUT task to the end of the task list.
   * If one of the specified chains has output, an AliHLTOUTTask is
   * added which controls the output. All other chains are removed from the
   * AliHLTOUTTask input.
   * @return 0 if no task has been added, 1 if task has been added
   */
  int AddHLTOUTTask(const char* chains);

  AliHLTOUTTask* GetHLTOUTTask() const {return fpHLTOUTTask;}
  AliHLTComponentHandler* GetComponentHandler() const {return fpComponentHandler;}
  AliHLTConfigurationHandler* GetConfigurationHandler() const {return fpConfigurationHandler;}

  /**
   * Find a task with an id.
   * @param id       CONFIGURATION id (not a COMPONENT id!)
   */
  AliHLTTask* FindTask(const char* id);

  /**
   * Print the task list.
   */
  void PrintTaskList();

  /**
   * 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
   */
  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);

  /**
   * Run the tasklist
   * Somehow the 64bit variable/default value did not work out on mac.
   * Re-introducing the original function, and forwarding it.
   */
  int Run(Int_t iNofEvents=1, int bStop=1)
  {return Run(iNofEvents, bStop, 0, 0, 0);}

  /**
   * Init all tasks from the list.
   * The @ref AliHLTTask::Init method is called for each task, the components
   * will be created.
   * @return neg error code if failed
   */
  int InitTasks();

  /**
   * Init the stopwatches for all tasks.
   * @param pStopwatches    object array of stopwatches, for types
   *                        @see AliHLTComponent::AliHLTStopwatchType
   * @return neg error code if failed
   */
  int InitBenchmarking(TObjArray* pStopwatches);

  /**
   * Stop the stopwatches for all tasks.
   * @param pStopwatches    object array of stopwatches, for types
   *                        @see AliHLTComponent::AliHLTStopwatchType
   * @return neg error code if failed
   */
  int PauseBenchmarking(TObjArray* pStopwatches) const;

  /**
   * Continue the stopwatches for all tasks.
   * @param pStopwatches    object array of stopwatches, for types
   *                        @see AliHLTComponent::AliHLTStopwatchType
   * @return neg error code if failed
   */
  int ResumeBenchmarking(TObjArray* pStopwatches) const;

  /**
   * Print benchmarking summary.
   * Optionak: clean up stop watches.
   * @param pStopwatches    object array of stopwatches
   * @param bClean          delete stop watches if 1
   * @return neg error code if failed
   */
  int PrintBenchmarking(TObjArray* pStopwatches, int bClean=0) const;

  /**
   * Start task list.
   * The @ref AliHLTTask::StartRun method is called for each task, the
   * components will be prepared for event processing.
   * @return neg error code if failed
   */
  int StartTasks();

  /**
   * Process task list.
   * The @ref AliHLTTask::ProcessTask method is called for each task.
   * @return neg error code if failed
   */
  int ProcessTasks(Int_t eventNo, AliHLTTriggerMask_t trgMask,
		   AliHLTUInt32_t timestamp, AliHLTUInt32_t eventtype,
		   AliHLTUInt32_t participatingDetectors = 0);

  /**
   * Stop task list.
   * The @ref AliHLTTask::EndRun method is called for each task, the components
   * will be cleaned after event processing.
   * @return neg error code if failed
   */
  int StopTasks();

  /**
   * Send a control event trough the chain.
   * All data sources in the chain are switched to publish a control event like
   * SOR or EOR. The event is propagated in the same way as a normal event.
   * @param dt       type of the event
   */
  int SendControlEvent(AliHLTComponentDataType dt);

  /**
   * De-init all tasks from the list.
   * The @ref AliHLTTask::Deinit method is called for each task, the components
   * will be deleted.
   * @return neg error code if failed
   */
  int DeinitTasks();

  /**
   * Cleanup all internal objects from HLTOUT processing.
   * Go through the list of HLTOUT handlers and release them.
   */
  int CleanupHLTOUTHandlers();

  /**
   * The memory allocation function for components.
   * This function is part of the running environment of the components, 
   * see AliHLTAnalysisEnvironment
   */
  static void* AllocMemory( void* param, unsigned long size );

  /**
   * The allocation function for component EventDoneData.
   * This function is part of the running environment of the components,
   * see AliHLTAnalysisEnvironment
   */
  static int AllocEventDoneData( void* param, AliHLTEventID_t eventID, unsigned long size, AliHLTComponentEventDoneData** edd );

  /**
   * AliRoot embedded reconstruction.
   * Main entry point to execute the HLT reconstruction from AliRoot. Called
   * either by the AliHLTReconstructor plugin during AliRoot reconstruction
   * of raw data, or AliHLTSimulation during simulation of data.
   *
   * The two cases are distinguished by the availablility of the AliRunLoader
   * and raw reader.
   * - AliRoot simulation: AliRunLoader is available and is propagated to the
   *   module agents (AliHLTModuleAgent) to generate the corresponding
   *   configurations and chains, and to the AliHLTOfflineSource components.
   *   raw reader might be available depending on whether raw data was
   *   simulated or not.
   * - AliRoot reconstruction: raw reader is available and is propagated to
   *   the agents and AliHLTOfflineSource components. AliRunLoader is always
   *   NULL.
   *
   * The system remains started after the processing and just waits for the
   * next event. A specific call with nofEvents==0 is needed to execute the
   * stop sequence.
   *
   * The 'runLoader' and 'rawReader' parameters are propagated to all active
   * AliHLTOfflineDataSource's and the HLT chain is processed for the given
   * number of events. If the rawReader is NULL, reconstruction is done on
   * simulated data, from real data if a RawReader is specified.
   *
   * After setting up the system with the reconstruction parameters the
   * Run() method is called and carries out the processing of the chain.
   *
   * @param nofEvents     number of events
   * @param runLoader     the AliRoot RunLoader
   * @param rawReader     the AliRoot RawReader
   * @return number of reconstructed events, neg. error code if failed 
   */
  int Reconstruct(int nofEvents, AliRunLoader* runLoader, 
		  AliRawReader* rawReader=NULL);

  /**
   * Fill ESD for one event.
   * To be called by the AliHLTReconstructor plugin during the event loop
   * and FillESD method of the AliRoot reconstruction.
   *
   * The method is most likely deprecated as the scheme has been slightly
   * changed. The ESD is filled by the HLTOUT handlers implemented by the
   * HLT modules rather than by components within the reconstruction chain.
   * Still, HLT reconstruction chains can be run during the AliRoot
   * reconstruction, data produced by such chains is automatically added
   * to the HLTOUT stream in order to be equivalent to the online HLT.
   * The HLTOUT is processed during AliReconstruction at the end of the
   * HLT event processing, literally during the FillESD method of the AliRoot
   * reconstruction interface. The HLT module must implement HLTOUT handlers
   * and provide those through the module agent.
   *
   * @param eventNo       current event no (Note: this event number is just a
   *                      processing counter and is not related to the nature/
   *                      origin of the event
   * @param runLoader     the AliRoot runloader
   * @param esd           an AliESDEvent instance
   * @return neg. error code if failed 
   */
  int FillESD(int eventNo, AliRunLoader* runLoader, AliESDEvent* esd);

  /**
   * Init the HLTOUT instance for the current event.
   * The instance can be used by other classes to get hold on the data
   * from HLTOUT.
   * @param  instance     instance to be set as the active HLTOUT
   * @return -EBUSY other active instance already existing
   */
  int InitHLTOUT(AliHLTOUT* instance);

  /**
   * Invalidate the HLTOUT instance.
   * @param  instance     target variable for the instance
   * @return -EBUSY if instance in use
   */
  int InvalidateHLTOUT(AliHLTOUT** instance=NULL);

  /**
   * Get the HLTOUT instance.
   * User method for processing classes. To be released after use.
   * @return pointer to HLTOUT instance
   */
  AliHLTOUT* RequestHLTOUT();

  /**
   * Release the HLTOUT instance after use.
   * @param instance      pointer to instance to be released
   * @return -ENOENT if instance does not match
   */
  int ReleaseHLTOUT(const AliHLTOUT* instance);

  /**
   * Process the HLTOUT data.
   * The provided instance of AliHLTOUT provides the access to the data.
   * AliHLTSystem queries all registered module agents (AliHLTModuleAgent)
   * for the ability to treat a specific data block. As the last step the
   * ESD object is filled. Please note that the provided ESD is the hltEsd
   * in case of AliReconstructor (switched in AliReconstruction).
   */
  int ProcessHLTOUT(AliHLTOUT* pHLTOUT, AliESDEvent* esd);

  /**
   * Process all kChain-type data blocks of the HLTOUT data.
   * Handlers of type AliHLTModuleAgent::kChain are executed as the first
   * step of the processing. The function is invoked from ProcessHLTOUT(),
   * eventual output of the chain is added to the HLTOUT collection.
   */
  int ProcessHLTOUTkChain(AliHLTOUT* pHLTOUT);

  /**
   * Load component libraries.
   * @param libs          string of blank separated library names
   * @return neg. error code if failed 
   */
  int LoadComponentLibraries(const char* libs);

  /**
   * Find a symbol in a dynamically loaded library.
   * @param library      library
   * @param symbol       the symbol to find
   * @return void pointer to function
   */
  AliHLTfctVoid FindDynamicSymbol(const char* library, const char* symbol);

  /**
   * Set participating detectors
   * @param detMask     detector mask
   */
  void SetDetectorMask(UInt_t detMask) {fDetMask=detMask;}

  /**
   * Prepare the HLT system for running.
   * - module agents are requested to register configurations
   * - task lists are built from the reconstruction chains of the modules
   *
   * @param rawReader    instance of the raw reader or NULL
   * @param runloader    optional instance of the AliRunLoader
   * @return neg. error code if failed <br>
   *         -EBUSY      system is in kRunning state <br>
   */
  int Configure(AliRawReader* rawReader, AliRunLoader* runloader=NULL);

  /**
   * Old method kept for backward compatibilty.
   *
   * @param runloader    optional instance of the AliRunLoader
   * @return neg. error code if failed <br>
   *         -EBUSY      system is in kRunning state <br>
   */
  int Configure(AliRunLoader* runloader=NULL);

  /**
   * Scan options and load component libraries.
   * The options consist of blank separated tokens. Libraries can be just
   * specified by their name, and can be excluded by adding a '!'-mark in
   * front. <br>
   * Further options
   * <!-- NOTE: ignore the \li. <i> and </i>: it's just doxygen formatting -->
   * \li loglevel=<i>level</i> <br>
   *     logging level for this processing
   * \li frameworklog=<i>level</i> <br>
   *     logging level for framework classes
   * \li alilog=off
   *     disable redirection of log messages to AliLog class
   * \li config=<i>macro</i>
   *     configuration macro
   * \li chains=<i>configuration</i>
   *     comma separated list of configurations to be run during local
   *     reconstruction
   * \li libmode=<i>static,dynamic(default)</i>
   *     libraries are persistent if loaded in mode <i>static</i>, i.e. they
   *     can't be unloaded
   */
  int ScanOptions(const char* options);

  /**
   * Reset the HLT system.
   * Reset is not possible while the system is in running state.
   * @param bForce       force the reset
   * @return neg. error code if failed <br>
   *         -EBUSY      system is in kRunning state <br>
   */
  int Reset(int bForce=0);

  /**
   * Load the configurations specified by the module agents.
   * The runLoader is passed to the agent and allows configuration
   * selection.
   * - AliSimulation: runloader valid, raw reader might be valid
   * - AliReconstruction: runloader always NULL, raw reader valid
   *
   * @param rawReader    instance of the raw reader or NULL
   * @param runloader    optional instance of the AliRunLoader
   * @return neg. error code if failed 
   */
  int LoadConfigurations(AliRawReader* rawReader, AliRunLoader* runloader=NULL);

  /**
   * Get the reconstruction chains from all agents and build the task lists.
   * AliHLTModuleAgent implementations can define reconstruction chains
   * depending on the availibility of AliRunLoader and AliRawReader parameters.
   *
   * @param rawReader    instance of the raw reader or NULL
   * @param runloader    optional instance of the AliRunLoader
   * @return neg. error code if failed 
   */
  int BuildTaskListsFromReconstructionChains(AliRawReader* rawReader, 
					     AliRunLoader* runloader=NULL);

  enum AliHLTSystemState {
    kUninitialized       = 0x0,
    kLibrariesLoaded     = 0x1,
    kConfigurationLoaded = 0x2,
    kTaskListCreated     = 0x4,
    kReady               = 0x7,
    kStarted             = 0x8,
    kRunning             = 0x10,
    kError               = 0x1000
  };

  /**
   * Check status of the system.
   * @param flag          AliHLTSystemState value to check for
   * @return 1 if set, 0 if not
   */
  int CheckStatus(int flag);

  /**
   * Get the current status.
   * @return status flags of @ref AliHLTSystemState
   */
  int GetStatusFlags();

  /**
   * Set logging level for framework classes.
   * This sets the local logging level of this instance and all subsequent
   * framework classes to \em level.
   * @param level     local logging level for the framework classes
   */
  void SetFrameworkLog(AliHLTComponentLogSeverity level);

  /**
   * Customized logging function.
   * The name of the system and pointer is added at the beginning of each
   * message if name was set.
   */
  int LoggingVarargs(AliHLTComponentLogSeverity severity, 
		     const char* originClass, const char* originFunc,
		     const char* file, int line, ... ) const;

 protected:
 
 private:
  /** copy constructor prohibited */
  AliHLTSystem(const AliHLTSystem&);
  /** assignment operator prohibited */
  AliHLTSystem& operator=(const AliHLTSystem&);

  /**
   * Build task list from a configuration object. 
   * This method implements the configuration parsing and transformation into
   * a list of AliHLTTask objects. It has been made private in April 2007. 
   * Use BuildTaskList(const char*) instead.
   *
   * @param pConf    pointer to configuration to build the task list from
   */
  int BuildTaskList(AliHLTConfiguration* pConf);

  /**
   * Set status flags.
   */
  int SetStatusFlags(int flags);

  /**
   * clear status flags.
   */
  int ClearStatusFlags(int flags);

  /// Pointer to an instance of @ref AliHLTComponentHandler.
  AliHLTComponentHandler* fpComponentHandler;                      //! transient

  /// Pointer to an instance of @ref AliHLTConfigurationHandler.
  AliHLTConfigurationHandler* fpConfigurationHandler;              //! transient

  /** list of tasks */
  TList fTaskList;                                                 // see above

  /** the number of instances of AliHLTSystem */
  static int fgNofInstances;                                       // see above

  /** state of the object */
  int fState;                                                      // see above

  /** chains to be run during reconstruction */
  TString fChains;                                                 //!transient

  /** array of stopwatches */
  TObjArray* fStopwatches;                                         //!transient

  /** number of events processed in total */                        
  int fEventCount;                                                 //!transient

  /** number of events processed successfully */
  int fGoodEvents;                                                 //!transient

  /** array of default libraries */
  static const char* fgkHLTDefaultLibs[];                          //!transient

  /** active kChain handlers (AliHLTOUT::AliHLTOUTHandlerListEntryVector*) */
  void* fpChainHandlers;                                           //!transient

  /** active kEsd handlers (AliHLTOUT::AliHLTOUTHandlerListEntryVector*) */
  void* fpEsdHandlers;                                             //!transient

  /** active kProprietary handlers (AliHLTOUT::AliHLTOUTHandlerListEntryVector*) */
  void* fpProprietaryHandlers;                                     //!transient

  /** active HLTOUT task for the reconstruction */
  AliHLTOUTTask* fpHLTOUTTask;                                     //!transient

  /** HLTOUT instance for the current event */
  AliHLTOUT* fpHLTOUT;                                            //!transient

  /** HLTOUT use counter */
  int fHLTOUTUse;                                                  //!transient

  /** special task to publish the control events */
  AliHLTControlTask* fpControlTask;                                //!transient

  /** name of this system instance */
  TString fName;                                                   //!transient

  /// ECS parameter string
  TString fECSParams;                                              //!transient

  /// indicate the argument 'hltout-type'
  bool fUseHLTOUTComponentTypeGlobal;                              //!transient

  /// detector mask
  UInt_t fDetMask;                                                 //!transient

  ClassDef(AliHLTSystem, 0);
};

#endif
 AliHLTSystem.h:1
 AliHLTSystem.h:2
 AliHLTSystem.h:3
 AliHLTSystem.h:4
 AliHLTSystem.h:5
 AliHLTSystem.h:6
 AliHLTSystem.h:7
 AliHLTSystem.h:8
 AliHLTSystem.h:9
 AliHLTSystem.h:10
 AliHLTSystem.h:11
 AliHLTSystem.h:12
 AliHLTSystem.h:13
 AliHLTSystem.h:14
 AliHLTSystem.h:15
 AliHLTSystem.h:16
 AliHLTSystem.h:17
 AliHLTSystem.h:18
 AliHLTSystem.h:19
 AliHLTSystem.h:20
 AliHLTSystem.h:21
 AliHLTSystem.h:22
 AliHLTSystem.h:23
 AliHLTSystem.h:24
 AliHLTSystem.h:25
 AliHLTSystem.h:26
 AliHLTSystem.h:27
 AliHLTSystem.h:28
 AliHLTSystem.h:29
 AliHLTSystem.h:30
 AliHLTSystem.h:31
 AliHLTSystem.h:32
 AliHLTSystem.h:33
 AliHLTSystem.h:34
 AliHLTSystem.h:35
 AliHLTSystem.h:36
 AliHLTSystem.h:37
 AliHLTSystem.h:38
 AliHLTSystem.h:39
 AliHLTSystem.h:40
 AliHLTSystem.h:41
 AliHLTSystem.h:42
 AliHLTSystem.h:43
 AliHLTSystem.h:44
 AliHLTSystem.h:45
 AliHLTSystem.h:46
 AliHLTSystem.h:47
 AliHLTSystem.h:48
 AliHLTSystem.h:49
 AliHLTSystem.h:50
 AliHLTSystem.h:51
 AliHLTSystem.h:52
 AliHLTSystem.h:53
 AliHLTSystem.h:54
 AliHLTSystem.h:55
 AliHLTSystem.h:56
 AliHLTSystem.h:57
 AliHLTSystem.h:58
 AliHLTSystem.h:59
 AliHLTSystem.h:60
 AliHLTSystem.h:61
 AliHLTSystem.h:62
 AliHLTSystem.h:63
 AliHLTSystem.h:64
 AliHLTSystem.h:65
 AliHLTSystem.h:66
 AliHLTSystem.h:67
 AliHLTSystem.h:68
 AliHLTSystem.h:69
 AliHLTSystem.h:70
 AliHLTSystem.h:71
 AliHLTSystem.h:72
 AliHLTSystem.h:73
 AliHLTSystem.h:74
 AliHLTSystem.h:75
 AliHLTSystem.h:76
 AliHLTSystem.h:77
 AliHLTSystem.h:78
 AliHLTSystem.h:79
 AliHLTSystem.h:80
 AliHLTSystem.h:81
 AliHLTSystem.h:82
 AliHLTSystem.h:83
 AliHLTSystem.h:84
 AliHLTSystem.h:85
 AliHLTSystem.h:86
 AliHLTSystem.h:87
 AliHLTSystem.h:88
 AliHLTSystem.h:89
 AliHLTSystem.h:90
 AliHLTSystem.h:91
 AliHLTSystem.h:92
 AliHLTSystem.h:93
 AliHLTSystem.h:94
 AliHLTSystem.h:95
 AliHLTSystem.h:96
 AliHLTSystem.h:97
 AliHLTSystem.h:98
 AliHLTSystem.h:99
 AliHLTSystem.h:100
 AliHLTSystem.h:101
 AliHLTSystem.h:102
 AliHLTSystem.h:103
 AliHLTSystem.h:104
 AliHLTSystem.h:105
 AliHLTSystem.h:106
 AliHLTSystem.h:107
 AliHLTSystem.h:108
 AliHLTSystem.h:109
 AliHLTSystem.h:110
 AliHLTSystem.h:111
 AliHLTSystem.h:112
 AliHLTSystem.h:113
 AliHLTSystem.h:114
 AliHLTSystem.h:115
 AliHLTSystem.h:116
 AliHLTSystem.h:117
 AliHLTSystem.h:118
 AliHLTSystem.h:119
 AliHLTSystem.h:120
 AliHLTSystem.h:121
 AliHLTSystem.h:122
 AliHLTSystem.h:123
 AliHLTSystem.h:124
 AliHLTSystem.h:125
 AliHLTSystem.h:126
 AliHLTSystem.h:127
 AliHLTSystem.h:128
 AliHLTSystem.h:129
 AliHLTSystem.h:130
 AliHLTSystem.h:131
 AliHLTSystem.h:132
 AliHLTSystem.h:133
 AliHLTSystem.h:134
 AliHLTSystem.h:135
 AliHLTSystem.h:136
 AliHLTSystem.h:137
 AliHLTSystem.h:138
 AliHLTSystem.h:139
 AliHLTSystem.h:140
 AliHLTSystem.h:141
 AliHLTSystem.h:142
 AliHLTSystem.h:143
 AliHLTSystem.h:144
 AliHLTSystem.h:145
 AliHLTSystem.h:146
 AliHLTSystem.h:147
 AliHLTSystem.h:148
 AliHLTSystem.h:149
 AliHLTSystem.h:150
 AliHLTSystem.h:151
 AliHLTSystem.h:152
 AliHLTSystem.h:153
 AliHLTSystem.h:154
 AliHLTSystem.h:155
 AliHLTSystem.h:156
 AliHLTSystem.h:157
 AliHLTSystem.h:158
 AliHLTSystem.h:159
 AliHLTSystem.h:160
 AliHLTSystem.h:161
 AliHLTSystem.h:162
 AliHLTSystem.h:163
 AliHLTSystem.h:164
 AliHLTSystem.h:165
 AliHLTSystem.h:166
 AliHLTSystem.h:167
 AliHLTSystem.h:168
 AliHLTSystem.h:169
 AliHLTSystem.h:170
 AliHLTSystem.h:171
 AliHLTSystem.h:172
 AliHLTSystem.h:173
 AliHLTSystem.h:174
 AliHLTSystem.h:175
 AliHLTSystem.h:176
 AliHLTSystem.h:177
 AliHLTSystem.h:178
 AliHLTSystem.h:179
 AliHLTSystem.h:180
 AliHLTSystem.h:181
 AliHLTSystem.h:182
 AliHLTSystem.h:183
 AliHLTSystem.h:184
 AliHLTSystem.h:185
 AliHLTSystem.h:186
 AliHLTSystem.h:187
 AliHLTSystem.h:188
 AliHLTSystem.h:189
 AliHLTSystem.h:190
 AliHLTSystem.h:191
 AliHLTSystem.h:192
 AliHLTSystem.h:193
 AliHLTSystem.h:194
 AliHLTSystem.h:195
 AliHLTSystem.h:196
 AliHLTSystem.h:197
 AliHLTSystem.h:198
 AliHLTSystem.h:199
 AliHLTSystem.h:200
 AliHLTSystem.h:201
 AliHLTSystem.h:202
 AliHLTSystem.h:203
 AliHLTSystem.h:204
 AliHLTSystem.h:205
 AliHLTSystem.h:206
 AliHLTSystem.h:207
 AliHLTSystem.h:208
 AliHLTSystem.h:209
 AliHLTSystem.h:210
 AliHLTSystem.h:211
 AliHLTSystem.h:212
 AliHLTSystem.h:213
 AliHLTSystem.h:214
 AliHLTSystem.h:215
 AliHLTSystem.h:216
 AliHLTSystem.h:217
 AliHLTSystem.h:218
 AliHLTSystem.h:219
 AliHLTSystem.h:220
 AliHLTSystem.h:221
 AliHLTSystem.h:222
 AliHLTSystem.h:223
 AliHLTSystem.h:224
 AliHLTSystem.h:225
 AliHLTSystem.h:226
 AliHLTSystem.h:227
 AliHLTSystem.h:228
 AliHLTSystem.h:229
 AliHLTSystem.h:230
 AliHLTSystem.h:231
 AliHLTSystem.h:232
 AliHLTSystem.h:233
 AliHLTSystem.h:234
 AliHLTSystem.h:235
 AliHLTSystem.h:236
 AliHLTSystem.h:237
 AliHLTSystem.h:238
 AliHLTSystem.h:239
 AliHLTSystem.h:240
 AliHLTSystem.h:241
 AliHLTSystem.h:242
 AliHLTSystem.h:243
 AliHLTSystem.h:244
 AliHLTSystem.h:245
 AliHLTSystem.h:246
 AliHLTSystem.h:247
 AliHLTSystem.h:248
 AliHLTSystem.h:249
 AliHLTSystem.h:250
 AliHLTSystem.h:251
 AliHLTSystem.h:252
 AliHLTSystem.h:253
 AliHLTSystem.h:254
 AliHLTSystem.h:255
 AliHLTSystem.h:256
 AliHLTSystem.h:257
 AliHLTSystem.h:258
 AliHLTSystem.h:259
 AliHLTSystem.h:260
 AliHLTSystem.h:261
 AliHLTSystem.h:262
 AliHLTSystem.h:263
 AliHLTSystem.h:264
 AliHLTSystem.h:265
 AliHLTSystem.h:266
 AliHLTSystem.h:267
 AliHLTSystem.h:268
 AliHLTSystem.h:269
 AliHLTSystem.h:270
 AliHLTSystem.h:271
 AliHLTSystem.h:272
 AliHLTSystem.h:273
 AliHLTSystem.h:274
 AliHLTSystem.h:275
 AliHLTSystem.h:276
 AliHLTSystem.h:277
 AliHLTSystem.h:278
 AliHLTSystem.h:279
 AliHLTSystem.h:280
 AliHLTSystem.h:281
 AliHLTSystem.h:282
 AliHLTSystem.h:283
 AliHLTSystem.h:284
 AliHLTSystem.h:285
 AliHLTSystem.h:286
 AliHLTSystem.h:287
 AliHLTSystem.h:288
 AliHLTSystem.h:289
 AliHLTSystem.h:290
 AliHLTSystem.h:291
 AliHLTSystem.h:292
 AliHLTSystem.h:293
 AliHLTSystem.h:294
 AliHLTSystem.h:295
 AliHLTSystem.h:296
 AliHLTSystem.h:297
 AliHLTSystem.h:298
 AliHLTSystem.h:299
 AliHLTSystem.h:300
 AliHLTSystem.h:301
 AliHLTSystem.h:302
 AliHLTSystem.h:303
 AliHLTSystem.h:304
 AliHLTSystem.h:305
 AliHLTSystem.h:306
 AliHLTSystem.h:307
 AliHLTSystem.h:308
 AliHLTSystem.h:309
 AliHLTSystem.h:310
 AliHLTSystem.h:311
 AliHLTSystem.h:312
 AliHLTSystem.h:313
 AliHLTSystem.h:314
 AliHLTSystem.h:315
 AliHLTSystem.h:316
 AliHLTSystem.h:317
 AliHLTSystem.h:318
 AliHLTSystem.h:319
 AliHLTSystem.h:320
 AliHLTSystem.h:321
 AliHLTSystem.h:322
 AliHLTSystem.h:323
 AliHLTSystem.h:324
 AliHLTSystem.h:325
 AliHLTSystem.h:326
 AliHLTSystem.h:327
 AliHLTSystem.h:328
 AliHLTSystem.h:329
 AliHLTSystem.h:330
 AliHLTSystem.h:331
 AliHLTSystem.h:332
 AliHLTSystem.h:333
 AliHLTSystem.h:334
 AliHLTSystem.h:335
 AliHLTSystem.h:336
 AliHLTSystem.h:337
 AliHLTSystem.h:338
 AliHLTSystem.h:339
 AliHLTSystem.h:340
 AliHLTSystem.h:341
 AliHLTSystem.h:342
 AliHLTSystem.h:343
 AliHLTSystem.h:344
 AliHLTSystem.h:345
 AliHLTSystem.h:346
 AliHLTSystem.h:347
 AliHLTSystem.h:348
 AliHLTSystem.h:349
 AliHLTSystem.h:350
 AliHLTSystem.h:351
 AliHLTSystem.h:352
 AliHLTSystem.h:353
 AliHLTSystem.h:354
 AliHLTSystem.h:355
 AliHLTSystem.h:356
 AliHLTSystem.h:357
 AliHLTSystem.h:358
 AliHLTSystem.h:359
 AliHLTSystem.h:360
 AliHLTSystem.h:361
 AliHLTSystem.h:362
 AliHLTSystem.h:363
 AliHLTSystem.h:364
 AliHLTSystem.h:365
 AliHLTSystem.h:366
 AliHLTSystem.h:367
 AliHLTSystem.h:368
 AliHLTSystem.h:369
 AliHLTSystem.h:370
 AliHLTSystem.h:371
 AliHLTSystem.h:372
 AliHLTSystem.h:373
 AliHLTSystem.h:374
 AliHLTSystem.h:375
 AliHLTSystem.h:376
 AliHLTSystem.h:377
 AliHLTSystem.h:378
 AliHLTSystem.h:379
 AliHLTSystem.h:380
 AliHLTSystem.h:381
 AliHLTSystem.h:382
 AliHLTSystem.h:383
 AliHLTSystem.h:384
 AliHLTSystem.h:385
 AliHLTSystem.h:386
 AliHLTSystem.h:387
 AliHLTSystem.h:388
 AliHLTSystem.h:389
 AliHLTSystem.h:390
 AliHLTSystem.h:391
 AliHLTSystem.h:392
 AliHLTSystem.h:393
 AliHLTSystem.h:394
 AliHLTSystem.h:395
 AliHLTSystem.h:396
 AliHLTSystem.h:397
 AliHLTSystem.h:398
 AliHLTSystem.h:399
 AliHLTSystem.h:400
 AliHLTSystem.h:401
 AliHLTSystem.h:402
 AliHLTSystem.h:403
 AliHLTSystem.h:404
 AliHLTSystem.h:405
 AliHLTSystem.h:406
 AliHLTSystem.h:407
 AliHLTSystem.h:408
 AliHLTSystem.h:409
 AliHLTSystem.h:410
 AliHLTSystem.h:411
 AliHLTSystem.h:412
 AliHLTSystem.h:413
 AliHLTSystem.h:414
 AliHLTSystem.h:415
 AliHLTSystem.h:416
 AliHLTSystem.h:417
 AliHLTSystem.h:418
 AliHLTSystem.h:419
 AliHLTSystem.h:420
 AliHLTSystem.h:421
 AliHLTSystem.h:422
 AliHLTSystem.h:423
 AliHLTSystem.h:424
 AliHLTSystem.h:425
 AliHLTSystem.h:426
 AliHLTSystem.h:427
 AliHLTSystem.h:428
 AliHLTSystem.h:429
 AliHLTSystem.h:430
 AliHLTSystem.h:431
 AliHLTSystem.h:432
 AliHLTSystem.h:433
 AliHLTSystem.h:434
 AliHLTSystem.h:435
 AliHLTSystem.h:436
 AliHLTSystem.h:437
 AliHLTSystem.h:438
 AliHLTSystem.h:439
 AliHLTSystem.h:440
 AliHLTSystem.h:441
 AliHLTSystem.h:442
 AliHLTSystem.h:443
 AliHLTSystem.h:444
 AliHLTSystem.h:445
 AliHLTSystem.h:446
 AliHLTSystem.h:447
 AliHLTSystem.h:448
 AliHLTSystem.h:449
 AliHLTSystem.h:450
 AliHLTSystem.h:451
 AliHLTSystem.h:452
 AliHLTSystem.h:453
 AliHLTSystem.h:454
 AliHLTSystem.h:455
 AliHLTSystem.h:456
 AliHLTSystem.h:457
 AliHLTSystem.h:458
 AliHLTSystem.h:459
 AliHLTSystem.h:460
 AliHLTSystem.h:461
 AliHLTSystem.h:462
 AliHLTSystem.h:463
 AliHLTSystem.h:464
 AliHLTSystem.h:465
 AliHLTSystem.h:466
 AliHLTSystem.h:467
 AliHLTSystem.h:468
 AliHLTSystem.h:469
 AliHLTSystem.h:470
 AliHLTSystem.h:471
 AliHLTSystem.h:472
 AliHLTSystem.h:473
 AliHLTSystem.h:474
 AliHLTSystem.h:475
 AliHLTSystem.h:476
 AliHLTSystem.h:477
 AliHLTSystem.h:478
 AliHLTSystem.h:479
 AliHLTSystem.h:480
 AliHLTSystem.h:481
 AliHLTSystem.h:482
 AliHLTSystem.h:483
 AliHLTSystem.h:484
 AliHLTSystem.h:485
 AliHLTSystem.h:486
 AliHLTSystem.h:487
 AliHLTSystem.h:488
 AliHLTSystem.h:489
 AliHLTSystem.h:490
 AliHLTSystem.h:491
 AliHLTSystem.h:492
 AliHLTSystem.h:493
 AliHLTSystem.h:494
 AliHLTSystem.h:495
 AliHLTSystem.h:496
 AliHLTSystem.h:497
 AliHLTSystem.h:498
 AliHLTSystem.h:499
 AliHLTSystem.h:500
 AliHLTSystem.h:501
 AliHLTSystem.h:502
 AliHLTSystem.h:503
 AliHLTSystem.h:504
 AliHLTSystem.h:505
 AliHLTSystem.h:506
 AliHLTSystem.h:507
 AliHLTSystem.h:508
 AliHLTSystem.h:509
 AliHLTSystem.h:510
 AliHLTSystem.h:511
 AliHLTSystem.h:512
 AliHLTSystem.h:513
 AliHLTSystem.h:514
 AliHLTSystem.h:515
 AliHLTSystem.h:516
 AliHLTSystem.h:517
 AliHLTSystem.h:518
 AliHLTSystem.h:519
 AliHLTSystem.h:520
 AliHLTSystem.h:521
 AliHLTSystem.h:522
 AliHLTSystem.h:523
 AliHLTSystem.h:524
 AliHLTSystem.h:525
 AliHLTSystem.h:526
 AliHLTSystem.h:527
 AliHLTSystem.h:528
 AliHLTSystem.h:529
 AliHLTSystem.h:530
 AliHLTSystem.h:531
 AliHLTSystem.h:532
 AliHLTSystem.h:533
 AliHLTSystem.h:534
 AliHLTSystem.h:535
 AliHLTSystem.h:536
 AliHLTSystem.h:537
 AliHLTSystem.h:538
 AliHLTSystem.h:539
 AliHLTSystem.h:540
 AliHLTSystem.h:541
 AliHLTSystem.h:542
 AliHLTSystem.h:543
 AliHLTSystem.h:544
 AliHLTSystem.h:545
 AliHLTSystem.h:546
 AliHLTSystem.h:547
 AliHLTSystem.h:548
 AliHLTSystem.h:549
 AliHLTSystem.h:550
 AliHLTSystem.h:551
 AliHLTSystem.h:552
 AliHLTSystem.h:553
 AliHLTSystem.h:554
 AliHLTSystem.h:555
 AliHLTSystem.h:556
 AliHLTSystem.h:557
 AliHLTSystem.h:558
 AliHLTSystem.h:559
 AliHLTSystem.h:560
 AliHLTSystem.h:561
 AliHLTSystem.h:562
 AliHLTSystem.h:563
 AliHLTSystem.h:564
 AliHLTSystem.h:565
 AliHLTSystem.h:566
 AliHLTSystem.h:567
 AliHLTSystem.h:568
 AliHLTSystem.h:569
 AliHLTSystem.h:570
 AliHLTSystem.h:571
 AliHLTSystem.h:572
 AliHLTSystem.h:573
 AliHLTSystem.h:574
 AliHLTSystem.h:575
 AliHLTSystem.h:576
 AliHLTSystem.h:577
 AliHLTSystem.h:578
 AliHLTSystem.h:579
 AliHLTSystem.h:580
 AliHLTSystem.h:581
 AliHLTSystem.h:582
 AliHLTSystem.h:583
 AliHLTSystem.h:584
 AliHLTSystem.h:585
 AliHLTSystem.h:586
 AliHLTSystem.h:587
 AliHLTSystem.h:588
 AliHLTSystem.h:589
 AliHLTSystem.h:590
 AliHLTSystem.h:591
 AliHLTSystem.h:592
 AliHLTSystem.h:593
 AliHLTSystem.h:594
 AliHLTSystem.h:595
 AliHLTSystem.h:596
 AliHLTSystem.h:597
 AliHLTSystem.h:598
 AliHLTSystem.h:599
 AliHLTSystem.h:600
 AliHLTSystem.h:601
 AliHLTSystem.h:602
 AliHLTSystem.h:603
 AliHLTSystem.h:604
 AliHLTSystem.h:605
 AliHLTSystem.h:606
 AliHLTSystem.h:607
 AliHLTSystem.h:608
 AliHLTSystem.h:609
 AliHLTSystem.h:610
 AliHLTSystem.h:611
 AliHLTSystem.h:612
 AliHLTSystem.h:613
 AliHLTSystem.h:614
 AliHLTSystem.h:615
 AliHLTSystem.h:616
 AliHLTSystem.h:617
 AliHLTSystem.h:618
 AliHLTSystem.h:619
 AliHLTSystem.h:620
 AliHLTSystem.h:621
 AliHLTSystem.h:622
 AliHLTSystem.h:623
 AliHLTSystem.h:624
 AliHLTSystem.h:625
 AliHLTSystem.h:626
 AliHLTSystem.h:627
 AliHLTSystem.h:628
 AliHLTSystem.h:629
 AliHLTSystem.h:630
 AliHLTSystem.h:631
 AliHLTSystem.h:632
 AliHLTSystem.h:633
 AliHLTSystem.h:634
 AliHLTSystem.h:635
 AliHLTSystem.h:636
 AliHLTSystem.h:637
 AliHLTSystem.h:638
 AliHLTSystem.h:639
 AliHLTSystem.h:640
 AliHLTSystem.h:641
 AliHLTSystem.h:642
 AliHLTSystem.h:643
 AliHLTSystem.h:644
 AliHLTSystem.h:645
 AliHLTSystem.h:646
 AliHLTSystem.h:647
 AliHLTSystem.h:648
 AliHLTSystem.h:649
 AliHLTSystem.h:650
 AliHLTSystem.h:651
 AliHLTSystem.h:652
 AliHLTSystem.h:653
 AliHLTSystem.h:654
 AliHLTSystem.h:655
 AliHLTSystem.h:656
 AliHLTSystem.h:657
 AliHLTSystem.h:658
 AliHLTSystem.h:659
 AliHLTSystem.h:660
 AliHLTSystem.h:661
 AliHLTSystem.h:662
 AliHLTSystem.h:663
 AliHLTSystem.h:664
 AliHLTSystem.h:665
 AliHLTSystem.h:666
 AliHLTSystem.h:667
 AliHLTSystem.h:668
 AliHLTSystem.h:669
 AliHLTSystem.h:670
 AliHLTSystem.h:671
 AliHLTSystem.h:672
 AliHLTSystem.h:673
 AliHLTSystem.h:674
 AliHLTSystem.h:675
 AliHLTSystem.h:676
 AliHLTSystem.h:677
 AliHLTSystem.h:678
 AliHLTSystem.h:679
 AliHLTSystem.h:680
 AliHLTSystem.h:681