]>
Commit | Line | Data |
---|---|---|
77ea1c6f | 1 | #ifndef ALIPHOSRAWDECODERV1_H |
2 | #define ALIPHOSRAWDECODERV1_H | |
3 | /* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | // This class extracts the PHOS "digits" of current event | |
9 | // (amplitude,time, position,gain) from the raw stream | |
10 | // provided by AliRawReader. See cxx source for use case. | |
11 | ||
12 | #include "AliRawReader.h" | |
13 | #include "AliCaloRawStream.h" | |
14 | #include "AliPHOSRawDecoder.h" | |
15 | ||
16 | ||
17 | class AliPHOSRawDecoderv1 : public AliPHOSRawDecoder { | |
18 | ||
19 | public: | |
20 | ||
21 | AliPHOSRawDecoderv1(); | |
22 | AliPHOSRawDecoderv1(AliRawReader* rawReader, AliAltroMapping **mapping = NULL); | |
23 | AliPHOSRawDecoderv1(const AliPHOSRawDecoderv1& rawDecoder); | |
24 | AliPHOSRawDecoderv1& operator = (const AliPHOSRawDecoderv1& rawDecoder); | |
25 | virtual ~AliPHOSRawDecoderv1(); | |
26 | ||
27 | virtual Bool_t NextDigit(); | |
28 | ||
29 | static Double_t Gamma2(Double_t dt,Double_t p,Double_t en,Double_t a) ; // Shape of correct sample | |
30 | //class member function (not object member function) | |
31 | static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag) ; | |
32 | // Chi^2 of the fit. Should be static to be passed to MINUIT | |
33 | private: | |
34 | ||
35 | ClassDef(AliPHOSRawDecoderv1,1) | |
36 | }; | |
37 | ||
38 | #endif |