Line data Source code
1 : #ifndef ALICALORAWANALYZERNN_H
2 : #define ALICALORAWANALYZERNN_H
3 :
4 : /**************************************************************************
5 : * This file is property of and copyright by *
6 : * the Relativistic Heavy Ion Group (RHIG), Yale University, US, 2009 *
7 : * *
8 : * Primary Author: Per Thomas Hille <perthomas.hille@yale.edu> *
9 : * *
10 : * Contributors are mentioned in the code where appropriate. *
11 : * Please report bugs to p.t.hille@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 : // Evaluation of peak position
23 : // and amplitude using Neural Networks (NN)
24 : // ------------------
25 :
26 : #include "AliCaloRawAnalyzer.h"
27 :
28 : class AliCaloBunchInfo;
29 : class AliCaloFitResults;
30 : class AliCaloNeuralFit;
31 :
32 : class AliCaloRawAnalyzerNN : public AliCaloRawAnalyzer
33 : {
34 : friend class AliCaloRawAnalyzerFactory; // self explanatory
35 :
36 : public:
37 :
38 : virtual ~AliCaloRawAnalyzerNN();
39 : virtual AliCaloFitResults Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector,
40 : UInt_t altrocfg1, UInt_t altrocfg2 );
41 :
42 : private:
43 :
44 : AliCaloRawAnalyzerNN();
45 : AliCaloRawAnalyzerNN( const AliCaloRawAnalyzerNN & );
46 : AliCaloRawAnalyzerNN & operator = ( const AliCaloRawAnalyzerNN & );
47 :
48 : AliCaloNeuralFit *fNeuralNet; // pointer to the class whick actually implements the Neural Network for EMCAL
49 : Double_t fNNInput[5]; // The 5 input Neurons to the network ( mix bin + to samples on each side )
50 42 : ClassDef( AliCaloRawAnalyzerNN, 1 )
51 :
52 : };
53 :
54 : #endif
|