1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
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 **************************************************************************/
15 #include "AliHLTPHOSRecoParamHandler.h"
16 #include "AliCDBManager.h"
17 #include "AliCDBEntry.h"
18 #include "AliPHOSRecoParam.h"
21 #include "AliPHOSReconstructor.h"
22 #ifdef HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091
23 #include "AliPHOSPIDv1.h"
24 #endif // HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091
25 #include "TObjArray.h"
27 AliHLTPHOSRecoParamHandler::AliHLTPHOSRecoParamHandler() :
28 AliHLTCaloRecoParamHandler("PHOS")
30 // See header file for class documentation
35 AliHLTPHOSRecoParamHandler::~AliHLTPHOSRecoParamHandler()
37 // See header file for class documentation
40 Float_t AliHLTPHOSRecoParamHandler::GetCorrectedEnergy ( Float_t e )
42 // See header file for class documentation
46 void AliHLTPHOSRecoParamHandler::FillParameters()
48 //See header file for class documentation
49 AliPHOSRecoParam *tmp = dynamic_cast<AliPHOSRecoParam*>(fRecoParamPtr);
52 fLogWeight = tmp->GetEMCLogWeight();
53 fRecPointMemberThreshold = tmp->GetEMCMinE();
54 fRecPointThreshold = tmp->GetEMCClusteringThreshold();