+//-*- Mode: C++ -*-
+// $Id$
#ifndef ALIHLTTPCHWCFEMULATOR_H
#define ALIHLTTPCHWCFEMULATOR_H
//* See cxx source for full Copyright notice *
#include "AliHLTTPCHWCFExtractorUnit.h"
+#include "AliHLTTPCHWCFPeakFinderUnit.h"
#include "AliHLTTPCHWCFProcessorUnit.h"
#include "AliHLTTPCHWCFMergerUnit.h"
#include "AliHLTTPCHWCFDivisionUnit.h"
/** initialisation
*/
- void Init( const AliHLTUInt32_t *mapping, AliHLTUInt32_t configWord );
+ void Init( const AliHLTUInt32_t *mapping, AliHLTUInt32_t configWord1, AliHLTUInt32_t configWord2 );
/** Loops over all rows finding the clusters
*/
/** create configuration word
**/
- static AliHLTUInt32_t CreateConfiguration
+ static void CreateConfiguration
( bool doDeconvTime, bool doDeconvPad, bool doFlowControl,
bool doSinglePadSuppression, bool bypassMerger,
- AliHLTUInt32_t clusterLowerLimit,AliHLTUInt32_t singleSeqLimit );
+ AliHLTUInt32_t clusterLowerLimit,AliHLTUInt32_t singleSeqLimit,
+ AliHLTUInt32_t mergerDistance, bool useTimeBinWindow, AliHLTUInt32_t chargeFluctuation,
+ AliHLTUInt32_t &configWord1, AliHLTUInt32_t &configWord2 );
/** create default configuration word
**/
- static AliHLTUInt32_t CreateDefaultConfiguration(){
- return CreateConfiguration(0,0,0,1,0,0,0);
+ static void CreateDefaultConfiguration( AliHLTUInt32_t &configWord1, AliHLTUInt32_t &configWord2 ){
+ CreateConfiguration(0,0,0,1,0,0,0, 3, 1, 0, configWord1, configWord2 );
}
private:
int fDebug; // debug level
const AliHLTUInt32_t *fkMapping; //! mapping array
AliHLTTPCHWCFExtractorUnit fChannelExtractor; //! transient
+ AliHLTTPCHWCFPeakFinderUnit fPeakFinderUnit; //! transient
AliHLTTPCHWCFProcessorUnit fChannelProcessor; //! transient
AliHLTTPCHWCFMergerUnit fChannelMerger; //! transient
AliHLTTPCHWCFDivisionUnit fDivisionUnit; //! transient