Line data Source code
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"
16 : #include "AliEMCALRecParam.h"
17 : #include "AliCDBManager.h"
18 : #include "AliCDBEntry.h"
19 :
20 : AliHLTEMCALRecoParamHandler::AliHLTEMCALRecoParamHandler() :
21 0 : AliHLTCaloRecoParamHandler("EMCAL")
22 0 : {
23 : // See header file for class documentation
24 :
25 0 : }
26 :
27 0 : AliHLTEMCALRecoParamHandler::~AliHLTEMCALRecoParamHandler()
28 0 : {
29 : // See header file for class documentation
30 :
31 0 : }
32 :
33 : Float_t AliHLTEMCALRecoParamHandler::GetCorrectedEnergy ( Float_t e )
34 : {
35 : // See header file for class documentation
36 0 : return e;
37 : }
38 :
39 :
40 : Int_t
41 : AliHLTEMCALRecoParamHandler::GetParametersFromCDB()
42 : {
43 : // Avoiding linking error in EMCAL
44 0 : return 0;
45 : }
46 :
47 :
48 :
49 : void AliHLTEMCALRecoParamHandler::FillParameters()
50 : {
51 : //See header file for class documentation
52 0 : if(fRecoParamPtr)
53 : {
54 :
55 0 : AliEMCALRecParam *tmp = dynamic_cast<AliEMCALRecParam*>(fRecoParamPtr);
56 0 : if(tmp)
57 : {
58 0 : fLogWeight = tmp->GetW0();
59 0 : fRecPointMemberThreshold = tmp->GetMinECut();
60 0 : fRecPointThreshold = tmp->GetClusteringThreshold();
61 0 : }
62 0 : }
63 0 : }
|