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