]>
Commit | Line | Data |
---|---|---|
e37e3c84 | 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 | ||
33 | class AliCaloRawAnalyzerNN : public AliCaloRawAnalyzer | |
34 | { | |
35 | public: | |
36 | AliCaloRawAnalyzerNN(); | |
37 | virtual ~AliCaloRawAnalyzerNN(); | |
38 | virtual AliCaloFitResults Evaluate( const vector<AliCaloBunchInfo> &bunchvector, | |
39 | const UInt_t altrocfg1, const UInt_t altrocfg2 ); | |
40 | // virtual void SelectSubarray( const Double_t *fData, const int length, const short maxindex, int *const first, int *const last ) const; | |
41 | ||
42 | private: | |
43 | AliCaloRawAnalyzerNN( const AliCaloRawAnalyzerNN & ); | |
44 | AliCaloRawAnalyzerNN & operator = ( const AliCaloRawAnalyzerNN & ); | |
45 | AliCaloNeuralFit *fNeuralNet; // pointer to the class whick actually implements the Neural Network for EMCAL | |
46 | Double_t fNNInput[5]; // The 5 input Neurons to the network ( mix bin + to samples on each side ) | |
47 | ClassDef( AliCaloRawAnalyzerNN, 1 ) | |
48 | ||
49 | }; | |
50 | ||
51 | #endif |