/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Authors: Oystein Djuvsland * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ #include "AliHLTPHOSRecoParamHandler.h" #include "AliCDBManager.h" #include "AliCDBEntry.h" #include "AliPHOSRecoParam.h" #include "TMatrixF.h" #include "TVector3.h" #include "AliPHOSPIDv1.h" #include "TObjArray.h" AliHLTPHOSRecoParamHandler::AliHLTPHOSRecoParamHandler() : AliHLTCaloRecoParamHandler("PHOS") ,fPHOSPidPtr(0) { // See header file for class documentation fPHOSPidPtr = new AliPHOSPIDv1(); } AliHLTPHOSRecoParamHandler::~AliHLTPHOSRecoParamHandler() { // See header file for class documentation } Float_t AliHLTPHOSRecoParamHandler::GetCorrectedEnergy ( Float_t e ) { // See header file for class documentation return fPHOSPidPtr->GetCalibratedEnergy(e); } void AliHLTPHOSRecoParamHandler::FillParameters() { //See header file for class documentation if(fRecoParamPtr) { fLogWeight = dynamic_cast(fRecoParamPtr)->GetEMCLogWeight(); fRecPointMemberThreshold = dynamic_cast(fRecoParamPtr)->GetEMCMinE(); fRecPointThreshold = dynamic_cast(fRecoParamPtr)->GetEMCClusteringThreshold(); } }