]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTDataSink.cxx
A little task for checking the c*tau of the strange particles
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTDataSink.cxx
index 65acccb3de354cc66f0de6fe1742610ccf7b67fe..31fee56bca3c6fd1fc54d4b2f465674a5170e8c6 100644 (file)
@@ -1,10 +1,11 @@
 // $Id$
 
 /**************************************************************************
- * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * This file is property of and copyright by the ALICE HLT Project        * 
+ * ALICE Experiment at CERN, All rights reserved.                         *
  *                                                                        *
- * Authors: Matthias Richter <Matthias.Richter@ift.uib.no>                *
- *          for The ALICE Off-line Project.                               *
+ * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>        *
+ *                  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   *
@@ -31,14 +32,21 @@ ClassImp(AliHLTDataSink)
 
 AliHLTDataSink::AliHLTDataSink()
 { 
+  // see header file for class documentation
+  // or
+  // refer to README to build package
+  // or
+  // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
 }
 
 AliHLTDataSink::~AliHLTDataSink()
 { 
+  // see header file for class documentation
 }
 
 AliHLTComponentDataType AliHLTDataSink::GetOutputDataType()
 {
+  // see header file for class documentation
   AliHLTComponentDataType dt =
     {sizeof(AliHLTComponentDataType),
      kAliHLTVoidDataTypeID,
@@ -48,28 +56,42 @@ AliHLTComponentDataType AliHLTDataSink::GetOutputDataType()
 
 void AliHLTDataSink::GetOutputDataSize( unsigned long& constBase, double& inputMultiplier )
 {
+  // see header file for class documentation
   constBase=0;
   inputMultiplier=0;
 }
 
 int AliHLTDataSink::DoProcessing( const AliHLTComponentEventData& evtData,
-                                   const AliHLTComponentBlockData* blocks, 
-                                   AliHLTComponentTriggerData& trigData,
-                                   AliHLTUInt8_t* outputPtr, 
-                                   AliHLTUInt32_t& size,
-                                   AliHLTUInt32_t& outputBlockCnt, 
-                                   AliHLTComponentBlockData*& outputBlocks,
-                                   AliHLTComponentEventDoneData*& edd )
+                                 const AliHLTComponentBlockData* blocks, 
+                                 AliHLTComponentTriggerData& trigData,
+                                 AliHLTUInt8_t* outputPtr, 
+                                 AliHLTUInt32_t& size,
+                                 vector<AliHLTComponentBlockData>& outputBlocks,
+                                 AliHLTComponentEventDoneData*& edd )
 {
+  // see header file for class documentation
   int iResult=0;
   if (outputPtr==NULL
       && size==0 
-      && outputBlockCnt==0 
-      && outputBlocks==NULL
       && edd==NULL) {
     // this is currently just to get rid of the warning "unused parameter"
   }
-  vector<AliHLTComponentBlockData> blockData;
+  outputBlocks.clear();
   iResult=DumpEvent(evtData, blocks, trigData);
   return iResult;
 }
+
+int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& evtData,
+                              const AliHLTComponentBlockData* /*blocks*/, 
+                              AliHLTComponentTriggerData& trigData )
+{
+  // we just forward to the high level method, all other parameters already
+  // have been stored internally
+  return DumpEvent(evtData, trigData);
+}
+
+int AliHLTDataSink::DumpEvent( const AliHLTComponentEventData& /*evtData*/, AliHLTComponentTriggerData& /*trigData*/)
+{
+  HLTFatal("no processing method implemented");
+  return -ENOSYS;
+}