2 /**************************************************************************
3 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * Authors: Oystein Djuvsland <oysteind@ift.uib.no> *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 #ifndef ALIHLTCALORECOPARAMHANDLER_H
18 #define ALIHLTCALORECOPARAMHANDLER_H
20 #include "AliHLTCaloConstantsHandler.h"
21 #include "AliCDBPath.h"
23 class AliDetectorRecoParam;
24 class AliHLTCaloRecoParamHandler: public AliHLTCaloConstantsHandler
28 AliHLTCaloRecoParamHandler(TString det); // See above
30 virtual ~AliHLTCaloRecoParamHandler(); // See above
31 /** Get the parameters from CDB */
32 virtual Int_t GetParametersFromCDB(); // See above
33 /** Get the corrected energy, should really be implemented by the child classes */
34 virtual Float_t GetCorrectedEnergy(Float_t e) { return e; }
35 /** Get the log weight */
36 Float_t GetLogWeight() { return fLogWeight; }
37 /** Get rec point threshold */
38 Float_t GetRecPointThreshold() { return fRecPointThreshold; }
39 /** Get rec point member threshold */
40 Float_t GetRecPointMemberThreshold() { return fRecPointMemberThreshold; }
43 /** Fill the parameters */
44 virtual void FillParameters() = 0; //COMMENT
45 /** The log weight used in calculating the cluster position */
46 Float_t fLogWeight; //COMMENT
47 /** The threshold for adding a digit to a recpoint */
48 Float_t fRecPointMemberThreshold; //COMMENT
49 /** The threshold for starting a recpoint */
50 Float_t fRecPointThreshold; //COMMENT
51 /** A reco param object */
52 AliDetectorRecoParam *fRecoParamPtr; //! transient
53 /** CDB path to the reco param object */
54 AliCDBPath fRecoParamPath; //COMMENT
58 /** Default constructor, inhibited */
59 AliHLTCaloRecoParamHandler(); // See above
61 /** Copy constructor, not implemented */
62 AliHLTCaloRecoParamHandler (const AliHLTCaloRecoParamHandler &); //COMMENT
64 /** Assignment operator, not implemented */
65 AliHLTCaloRecoParamHandler & operator = (const AliHLTCaloRecoParamHandler &); //COMMENT
70 #endif // ALIHLTCALORECOPARAMHANDLER_H