]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/EMCAL/AliHLTEMCALRecoParamHandler.cxx
- fixing warnings/coverity
[u/mrichter/AliRoot.git] / HLT / EMCAL / AliHLTEMCALRecoParamHandler.cxx
CommitLineData
09dce353 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
5 * *
6 * Permission to use, copy, modify and distribute this software and its *
7 * documentation strictly for non-commercial purposes is hereby granted *
8 * without fee, provided that the above copyright notice appears in all *
9 * copies and that both the copyright notice and this permission notice *
10 * appear in the supporting documentation. The authors make no claims *
11 * about the suitability of this software for any purpose. It is *
12 * provided "as is" without express or implied warranty. *
13 **************************************************************************/
14
15#include "AliHLTEMCALRecoParamHandler.h"
f05c2d17 16#include "AliEMCALRecParam.h"
09dce353 17#include "AliCDBManager.h"
18#include "AliCDBEntry.h"
19
20AliHLTEMCALRecoParamHandler::AliHLTEMCALRecoParamHandler() :
21AliHLTCaloRecoParamHandler("EMCAL")
22{
23 // See header file for class documentation
24
09dce353 25}
26
09dce353 27AliHLTEMCALRecoParamHandler::~AliHLTEMCALRecoParamHandler()
28{
29 // See header file for class documentation
09dce353 30
31}
32
09dce353 33Float_t AliHLTEMCALRecoParamHandler::GetCorrectedEnergy ( Float_t e )
34{
35 // See header file for class documentation
36 return e;
37}
38
4fad3687 39
40Int_t
41AliHLTEMCALRecoParamHandler::GetParametersFromCDB()
42{
43 // Avoiding linking error in EMCAL
427c373f 44 return 0;
4fad3687 45}
46
47
48
f05c2d17 49void AliHLTEMCALRecoParamHandler::FillParameters()
50{
51 //See header file for class documentation
52 if(fRecoParamPtr)
53 {
b0d62b07 54
55 AliEMCALRecParam *tmp = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr);
56 if(tmp)
57 {
58 fLogWeight = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetW0();
59 fRecPointMemberThreshold = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetMinECut();
60 fRecPointThreshold = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr)->GetClusteringThreshold();
61 }
f05c2d17 62 }
63}