X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FCALO%2FAliHLTCaloRawAnalyzerComponentv3.h;h=2330be251ed568c91ee594c1e3bbf5b225812a7a;hb=734cbb00e5cce2c1c265c43ad398e87fc1b40b6c;hp=189cb984a32bc9f3f6a5303e578a03fc1e8a5bb8;hpb=f9baa0947ff2ec0dad124b6b0b761568123d6281;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/CALO/AliHLTCaloRawAnalyzerComponentv3.h b/HLT/CALO/AliHLTCaloRawAnalyzerComponentv3.h index 189cb984a32..2330be251ed 100644 --- a/HLT/CALO/AliHLTCaloRawAnalyzerComponentv3.h +++ b/HLT/CALO/AliHLTCaloRawAnalyzerComponentv3.h @@ -1,3 +1,5 @@ +//-*- Mode: C++ -*- +// $Id$ /************************************************************************** * This file is property of and copyright by the ALICE HLT Project * @@ -94,11 +96,16 @@ class AliAltroRawStreamV3; */ -#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; @@ -108,7 +115,7 @@ class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloProcessor, protected 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(); @@ -142,8 +149,8 @@ class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloProcessor, protected 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(); @@ -157,6 +164,9 @@ class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloProcessor, protected /** Pointer to the raw stream */ AliAltroRawStreamV3* fAltroRawStreamPtr; //!transient + /** detector */ + TString fDetector; // detector string id + /** Describing which algorithm we are using */ Short_t fAlgorithm; //COMMENT @@ -178,7 +188,7 @@ class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloProcessor, protected /** Should we push all raw data (using the raw data writer) */ Bool_t fDoPushRawData; //COMMENT - class RawDataWriter + class RawDataWriter { public: RawDataWriter(AliHLTCaloConstants* cConst); @@ -195,18 +205,18 @@ class AliHLTCaloRawAnalyzerComponentv3 : public AliHLTCaloProcessor, protected 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) };