]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTOUTTask.h
A little task for checking the c*tau of the strange particles
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTOUTTask.h
index 2a648089f60c811d46a1510014f4f2e2813528fb..2a57f6e171b1cea5c89743c5f5a099aa6ac592b4 100644 (file)
@@ -13,7 +13,7 @@
 */
 
 #include "AliHLTOUT.h"
-#include "AliHLTTask.h"
+#include "AliHLTDumpTask.h"
 
 /**
  * @class AliHLTOUTTask
  * an HLTOUT sub-collection.
  * 
  * The constructor takes the chains as a blank separated list of chain ids.
+ *
+ * @ingroup alihlt_system
  */
-class AliHLTOUTTask : public AliHLTOUT, public AliHLTTask {
+class AliHLTOUTTask : public AliHLTOUT, public AliHLTDumpTask {
  public:
   /** constructor */
   AliHLTOUTTask(const char* chains);
@@ -40,17 +42,6 @@ class AliHLTOUTTask : public AliHLTOUT, public AliHLTTask {
   /** assignment operator prohibited */
   AliHLTOUTTask& operator=(const AliHLTOUTTask&);
 
-  /**
-   * Custom initialization for child tasks.
-   * Create and init the dummy task.
-   */
-  int CustomInit(AliHLTComponentHandler* pCH);
-
-  /**
-   * Custom clean up for child tasks.
-   */
-  int CustomCleanup();
-
   /**
    * Generate the index of the HLTOUT data.
    * Must be implemented by the child classes.
@@ -69,7 +60,7 @@ class AliHLTOUTTask : public AliHLTOUT, public AliHLTTask {
    * @param size    [out] size of the selected data block
    */
   int GetDataBuffer(AliHLTUInt32_t index, const AliHLTUInt8_t* &pBuffer, 
-                           AliHLTUInt32_t& size);
+                   AliHLTUInt32_t& size);
 
   /**
    * Check byte order of data block
@@ -81,15 +72,6 @@ class AliHLTOUTTask : public AliHLTOUT, public AliHLTTask {
    */
   int CheckBlockAlignment(AliHLTUInt32_t index, AliHLTOUT::AliHLTOUTDataType type);
 
-  /** a dummy task to pretend existence of a consumer */
-  AliHLTTask* fpDummyTask; //!transient
-
-  /** the configuration for the dummy task */
-  AliHLTConfiguration* fpDummyConfiguration; //!transient
-
-  /** list of block descriptors of the output */
-  AliHLTComponentBlockDataList fBlockDescList;
-
-  ClassDef(AliHLTOUTTask, 0)
+  ClassDef(AliHLTOUTTask, 1)
 };
 #endif