// $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> *
- * Timm Steinbeck <timm@kip.uni-heidelberg.de> *
- * for The ALICE Off-line Project. *
+ * 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 *
* provided "as is" without express or implied warranty. *
**************************************************************************/
-///////////////////////////////////////////////////////////////////////////////
-// //
-// a sample processing component for the HLT //
-// //
-///////////////////////////////////////////////////////////////////////////////
+/** @file AliHLTSampleComponent2.cxx
+ @author Matthias Richter, Timm Steinbeck
+ @date
+ @brief Another sample processing component for the HLT. */
#if __GNUC__== 3
using namespace std;
#endif
-#include "AliL3StandardIncludes.h"
#include "AliHLTSampleComponent2.h"
-// this is a global object used for automatic component registration, do not use this
-AliHLTSampleComponent2 gAliHLTSampleComponent2;
-
ClassImp(AliHLTSampleComponent2)
-const AliHLTComponent_DataType AliHLTSampleComponent2::inputDataTypes[]={{0,0}, {0,0}}; //'zero' terminated array
-const AliHLTComponent_DataType AliHLTSampleComponent2::outputDataType={0,0};
-
AliHLTSampleComponent2::AliHLTSampleComponent2()
{
+ // see header file for class documentation
}
AliHLTSampleComponent2::~AliHLTSampleComponent2()
{
+ // see header file for class documentation
}
int AliHLTSampleComponent2::DoInit( int argc, const char** argv ){
+ // see header file for class documentation
Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoInit");
+ if (argc==0 && argv==NULL) {
+ // this is just to get rid of the warning "unused parameter"
+ }
return 0;
}
int AliHLTSampleComponent2::DoDeinit(){
+ // see header file for class documentation
Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoDeinit");
return 0;
}
-int AliHLTSampleComponent2::DoEvent( AliHLTComponent_EventData evtData, AliHLTComponent_BlockData* blocks,
- AliHLTComponent_TriggerData trigData, AliHLTUInt8_t* outputPtr,
- AliHLTUInt32_t* size, vector<AliHLTComponent_BlockData>& outputBlocks ) {
+int AliHLTSampleComponent2::DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
+ AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
+ AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ) {
+ // see header file for class documentation
Logging(kHLTLogInfo, "HLT", "Sample", "Sample component2, DoEvent");
+ if (evtData.fStructSize==0 && blocks==NULL && trigData.fStructSize==0 &&
+ outputPtr==0 && size==0)
+ {
+ outputBlocks.clear();
+ // this is just to get rid of the warning "unused parameter"
+ }
return 0;
}