]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliCaloRawAnalyzerLMSOffline.h
245816aadb5fcf89ba7182dba8a7e882b48d701a
[u/mrichter/AliRoot.git] / EMCAL / AliCaloRawAnalyzerLMSOffline.h
1 #ifndef ALICALORAWANALYZERLMSOFFLINE_H
2 #define ALICALORAWANALYZERLMSOFFLINE_H
3 /**************************************************************************
4  * This file is property of and copyright by                              *
5  * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009     *
6  *                                                                        *
7  * Primary Author: Per Thomas Hille <p.t.hille@fys.uio.no>                *
8  *                                                                        *
9  * Contributors are mentioned in the code where appropriate.              *
10  * Please report bugs to p.t.hille@fys.uio.no                             *
11  *                                                                        *
12  * Permission to use, copy, modify and distribute this software and its   *
13  * documentation strictly for non-commercial purposes is hereby granted   *
14  * without fee, provided that the above copyright notice appears in all   *
15  * copies and that both the copyright notice and this permission notice   *
16  * appear in the supporting documentation. The authors make no claims     *
17  * about the suitability of this software for any purpose. It is          *
18  * provided "as is" without express or implied warranty.                  *
19  **************************************************************************/
20 // Extraction of amplitude and peak position
21 // FRom CALO raw data using
22 // Chi square fit
23
24 #include "AliCaloRawAnalyzer.h"
25
26 class AliCaloRawAnalyzerLMS;
27
28
29 class  AliCaloRawAnalyzerLMSOffline : public AliCaloRawAnalyzer
30 {
31   friend class  AliCaloRawAnalyzerFactory;
32
33  public:
34   //  AliCaloRawAnalyzerLMSOffline();
35   virtual ~AliCaloRawAnalyzerLMSOffline();
36   virtual AliCaloFitResults  Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, 
37                                        const UInt_t altrocfg1,  const UInt_t altrocfg2 );
38   Double_t  GetSmearFactor() {  return fSmearFactor; };
39    
40  private:
41   AliCaloRawAnalyzerLMSOffline();
42   AliCaloRawAnalyzerLMSOffline(const AliCaloRawAnalyzerLMSOffline & );
43   AliCaloRawAnalyzerLMSOffline  & operator = (const AliCaloRawAnalyzerLMSOffline  &);
44   Int_t fNoiseThreshold;                // threshold to consider signal or noise
45   AliCaloRawAnalyzer *fRawAnalyzer;
46   Double_t fSmearFactor;
47   ClassDef(AliCaloRawAnalyzerLMSOffline, 2)
48
49 };
50
51 #endif