//-*- Mode: C++ -*- #ifndef ALIHLTPHOSRAWANALYZER_H #define ALIHLTPHOSRAWANALYZER_H /* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ #include "Rtypes.h" class AliHLTPHOSRawAnalyzer { public: AliHLTPHOSRawAnalyzer(); virtual ~AliHLTPHOSRawAnalyzer(); int FindStartIndex(double treshold); float GetTiming() const { return fDTof;}; // peak position in entities of sample indexes float GetEnergy() const { return fDAmpl;}; // amplitude in entities of ADC channels ; void SetData(const UShort_t *data, const int /*length*/) {fShortDataPtr = const_cast(data);}; void SetStartIndex(int startIndex) {fStartIndex = startIndex;}; virtual void Evaluate(Int_t start = 0, Int_t lenght = 100) = 0; protected: double *fDoubleDataPtr; /**