]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/PHOS/AliHLTPHOSRawAnalyzer.h
Corrected list of libraries and additional files to resolve all symbols
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzer.h
CommitLineData
1b41ab20 1//-*- Mode: C++ -*-
ee7849e6 2#ifndef ALIHLTPHOSRAWANALYZER_H
3#define ALIHLTPHOSRAWANALYZER_H
cbab66dd 4/* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
cbab66dd 6/* $Id$ */
7
9f050726 8#include "Rtypes.h"
68d9caee 9
9f050726 10class AliHLTPHOSRawAnalyzer
cbab66dd 11{
12 public:
2f475e8c 13 AliHLTPHOSRawAnalyzer();
14 virtual ~AliHLTPHOSRawAnalyzer();
996a282d 15 int FindStartIndex(double treshold){return -1;} //not implemented??
153e7c3e 16 float GetTiming() const { return fDTof;}; // peak position in entities of sample indexes
17 float GetEnergy() const { return fDAmpl;}; // amplitude in entities of ADC channels ;
18 void SetData(const UShort_t *data, const int /*length*/) {fShortDataPtr = const_cast<UShort_t *>(data);};
19 void SetStartIndex(int startIndex) {fStartIndex = startIndex;};
d504c864 20 virtual void Evaluate(Int_t start = 0, Int_t lenght = 100) = 0;
cbab66dd 21
1a53578c 22protected:
04751caa 23 double *fDoubleDataPtr; /**<Float representation of data that should be fitted */
87434909 24 UShort_t *fShortDataPtr; /**<data that should be fitted */
cbab66dd 25 double fSampleFrequency; /**<The ADC sample frequency in MHz used under data taking */
26 double fDTofGuess; /**<Initial guess for t0*/
27 double fDAmplGuess; /**<Initial guess for amplitude*/
28 double fTau; /**<The risetime in micro seconds*/
29 double fDTof; /**<Time of flight in entities of sample intervals */
30 double fDAmpl; /**<Amplitude in entities of ADC levels*/
9c9d15d6 31 int fStartIndex; /**<Starindex of the time dependent altro signal*/
2589c3a3 32
153e7c3e 33private:
9c9d15d6 34 AliHLTPHOSRawAnalyzer(const AliHLTPHOSRawAnalyzer & );
35 AliHLTPHOSRawAnalyzer & operator = (const AliHLTPHOSRawAnalyzer &);
cbab66dd 36};
37
38
39#endif