]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliCaloRawAnalyzerFastFit.h
adding new sample component for RAW data analysis
[u/mrichter/AliRoot.git] / EMCAL / AliCaloRawAnalyzerFastFit.h
1 #ifndef ALICALORAWANALYZERFASTFIT_H
2 #define ALICALORAWANALYZERFASTFIT_H
3
4 /**************************************************************************
5  * This file is property of and copyright by the Experimental Nuclear     *
6  * Physics Group, Dep. of Physics                                         *
7  * University of Oslo, Norway, 2007                                       *
8  *                                                                        *
9  * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.*
10  * Contributors are mentioned in the code where appropriate.              *
11  * Please report bugs to perthi@fys.uio.no                                *
12  *                                                                        *
13  * Permission to use, copy, modify and distribute this software and its   *
14  * documentation strictly for non-commercial purposes is hereby granted   *
15  * without fee, provided that the above copyright notice appears in all   *
16  * copies and that both the copyright notice and this permission notice   *
17  * appear in the supporting documentation. The authors make no claims     *
18  * about the suitability of this software for any purpose. It is          *
19  * provided "as is" without express or implied warranty.                  *
20  **************************************************************************/
21
22 #include "AliCaloRawAnalyzer.h"
23 #include "Rtypes.h"
24
25 // Extraction of Amplitude and peak
26 // position using specila algorithm
27 // from Alexei Pavlinov
28
29
30 class  AliCaloRawAnalyzerFastFit : public AliCaloRawAnalyzer
31 {
32  public:
33   AliCaloRawAnalyzerFastFit();
34   virtual ~AliCaloRawAnalyzerFastFit();
35   virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, 
36                                       const UInt_t altrocfg1,  const UInt_t altrocfg2 ); 
37  private:
38   Double_t fXAxis[1008]; // Xaxis (time bins) corresponding to the ADC samples
39
40   ClassDef( AliCaloRawAnalyzerFastFit, 1 )
41
42
43 };
44
45 #endif