]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloRawAnalyzerCrude.cxx
Per Thomas: removing cout statement from event loop
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloRawAnalyzerCrude.cxx
CommitLineData
3800a654 1// $Id: AliHLTCALORawAnalyzerCrude.cxx 34622 2009-09-04 13:22:01Z odjuvsla $
178dd351 2
3/**************************************************************************
4 * Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
5 * *
6 * Author: Per Thomas Hille for the ALICE HLT Project. *
7 * Contributors are mentioned in the code where appropriate. *
8 * *
9 * Permission to use, copy, modify and distribute this software and its *
10 * documentation strictly for non-commercial purposes is hereby granted *
11 * without fee, provided that the above copyright notice appears in all *
12 * copies and that both the copyright notice and this permission notice *
13 * appear in the supporting documentation. The authors make no claims *
14 * about the suitability of this software for any purpose. It is *
15 * provided "as is" without express or implied warranty. *
16 **************************************************************************/
17
18#include "AliHLTCaloRawAnalyzerCrude.h"
19
20#include <iostream>
21
22using namespace std;
23
178dd351 24
178dd351 25AliHLTCaloRawAnalyzerCrude::AliHLTCaloRawAnalyzerCrude():AliHLTCaloRawAnalyzer()
26{
27
28}
29
30
178dd351 31AliHLTCaloRawAnalyzerCrude::~AliHLTCaloRawAnalyzerCrude()
32{
33
34} //end AliHLTCaloRawAnalyzerCrude
35
36
178dd351 37void
38AliHLTCaloRawAnalyzerCrude::Evaluate(int start, int length)
39{
e8d13b89 40 fDAmpl =0;
41 fDTof = 0;
42 int i=0;
43
44 for(i=start; i<length; ++i)
45 {
46 if(fShortDataPtr[i] > fDAmpl )
47 {
48 fDAmpl = fShortDataPtr[i];
49 fDTof = i;
50 }
51 }
178dd351 52} //end Crude
53