]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
index order bug fix - from Paola
authordsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Feb 2010 17:59:25 +0000 (17:59 +0000)
committerdsilverm <dsilverm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Feb 2010 17:59:25 +0000 (17:59 +0000)
EMCAL/AliCaloRawAnalyzerNN.cxx

index 070cc9a18e79c860c2da1830c043d3657476fd42..80edcdab77ca58d8a6e056d897b94199135a9f05 100644 (file)
@@ -124,8 +124,8 @@ AliCaloRawAnalyzerNN::Evaluate( const vector<AliCaloBunchInfo> &bunchvector,
          //      double amp = maxamp*fNeuralNet->Value( 0,  fNNInput[0],  fNNInput[1], fNNInput[2], fNNInput[3], fNNInput[4]);
          //      double tof = (fNeuralNet->Value( 1,  fNNInput[0],  fNNInput[1], fNNInput[2], fNNInput[3], fNNInput[4]) + maxrev )*256 ;
          
-         double amp = maxamp*fNeuralNet->Value( 0,  fNNInput[4],  fNNInput[3], fNNInput[2], fNNInput[1], fNNInput[0]);
-         double tof = (fNeuralNet->Value( 1,  fNNInput[4],  fNNInput[3], fNNInput[2], fNNInput[1], fNNInput[0]) + maxrev )*256 ;
+         double amp = (maxamp - ped)*fNeuralNet->Value( 0,  fNNInput[0],  fNNInput[1], fNNInput[2], fNNInput[3], fNNInput[4]);
+         double tof = (fNeuralNet->Value( 1,  fNNInput[0],  fNNInput[1], fNNInput[2], fNNInput[3], fNNInput[4]) + maxrev )*256 ;
 
 
          //      double tof = fNeuralNet->Value( 1,  fReversed[maxrev-2]/maxamp, fReversed[maxrev -1]/maxamp,  fReversed[maxrev]/maxamp, fReversed[maxrev+1]/maxamp, fReversed[maxrev+2]/maxamp);