]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloRawAnalyzerCrude.cxx
Reimplemented the AliHLTCaloConstants class
[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
4f4b7ba4 24ClassImp(AliHLTCaloRawAnalyzerCrude);
178dd351 25
178dd351 26AliHLTCaloRawAnalyzerCrude::AliHLTCaloRawAnalyzerCrude():AliHLTCaloRawAnalyzer()
27{
28
29}
30
31
178dd351 32AliHLTCaloRawAnalyzerCrude::~AliHLTCaloRawAnalyzerCrude()
33{
34
35} //end AliHLTCaloRawAnalyzerCrude
36
37
178dd351 38void
39AliHLTCaloRawAnalyzerCrude::Evaluate(int start, int length)
40{
e8d13b89 41 fDAmpl =0;
42 fDTof = 0;
43 int i=0;
44
45 for(i=start; i<length; ++i)
46 {
47 if(fShortDataPtr[i] > fDAmpl )
48 {
49 fDAmpl = fShortDataPtr[i];
50 fDTof = i;
51 }
52 }
178dd351 53} //end Crude
54