+//-*- Mode: C++ -*-
+// $Id$
/**************************************************************************
* This file is property of and copyright by the ALICE HLT Project *
*/
-#include "AliHLTProcessor.h"
-#include "AliHLTCaloDefinitions.h"
+// #include "AliHLTProcessor.h"
+// #include "AliHLTCaloDefinitions.h"
+
#include "AliHLTCaloConstantsHandler.h"
#include "AliHLTCaloProcessor.h"
+#include "AliCaloRawAnalyzer.h"
+
+#include "AliCaloConstants.h"
+using namespace Algo;
class AliHLTCaloMapper;
public:
/** Constructor must be initialized to specific calorimeter */
- AliHLTCaloRawAnalyzerComponentv3(TString det);
+ AliHLTCaloRawAnalyzerComponentv3(TString det, fitAlgorithm algo );
virtual ~AliHLTCaloRawAnalyzerComponentv3();
virtual int DoInit(int argc =0, const char** argv = 0) ;
virtual int DoDeinit();
void PrintDebugInfo();
AliCaloRawAnalyzer *fAnalyzerPtr; //COMMENT
AliHLTCaloMapper *fMapperPtr; //COMMENT
- AliHLTUInt32_t fCurrentSpec;
- bool fDebug;
+ AliHLTUInt32_t fCurrentSpec; // Data specification (RCU)
+ bool fDebug; // Turn on to enable debug info
private:
AliHLTCaloRawAnalyzerComponentv3();
/** Pointer to the raw stream */
AliAltroRawStreamV3* fAltroRawStreamPtr; //!transient
+ /** detector */
+ TString fDetector; // detector string id
+
/** Describing which algorithm we are using */
Short_t fAlgorithm; //COMMENT
/** Should we push all raw data (using the raw data writer) */
Bool_t fDoPushRawData; //COMMENT
- class RawDataWriter
+ class RawDataWriter
{
public:
RawDataWriter(AliHLTCaloConstants* cConst);
RawDataWriter (const RawDataWriter & );
RawDataWriter & operator = (const RawDataWriter &);
void Init();
- UShort_t* fRawDataBuffer;
- int fCurrentChannelSize;
- int fBufferIndex;
- int fBufferSize;
- UShort_t *fCurrentChannelIdPtr;
- UShort_t *fCurrentChannelSizePtr;
- UShort_t *fCurrentChannelDataPtr;
- int fTotalSize;
+ UShort_t* fRawDataBuffer; // Buffer for storing of rawdata
+ int fCurrentChannelSize; //Comment
+ int fBufferIndex; //Position in buffer
+ int fBufferSize; //Comment
+ UShort_t *fCurrentChannelIdPtr; //Channel ID (module, row, column)
+ UShort_t *fCurrentChannelSizePtr; //Comment
+ UShort_t *fCurrentChannelDataPtr; //Comment
+ int fTotalSize; //Comment
};
RawDataWriter *fRawDataWriter;
- ClassDef(AliHLTCaloRawAnalyzerComponentv3, 1)
+ ClassDef(AliHLTCaloRawAnalyzerComponentv3, 0)
};