]>
Commit | Line | Data |
---|---|---|
1 | ||
2 | /************************************************************************** | |
3 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * * | |
5 | * Authors: Oystein Djuvsland <oysteind@ift.uib.no> * | |
6 | * * | |
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 | **************************************************************************/ | |
15 | ||
16 | ||
17 | #ifndef ALIHLTCALORECOPARAMHANDLER_H | |
18 | #define ALIHLTCALORECOPARAMHANDLER_H | |
19 | ||
20 | #include "AliHLTCaloConstantsHandler.h" | |
21 | #include "AliHLTLogging.h" | |
22 | #include "AliCDBPath.h" | |
23 | ||
24 | class AliDetectorRecoParam; | |
25 | class AliHLTCaloRecoParamHandler: public AliHLTCaloConstantsHandler, public AliHLTLogging | |
26 | { | |
27 | public: | |
28 | /** Constructor, */ | |
29 | AliHLTCaloRecoParamHandler(TString det); // See above | |
30 | /** Destructor */ | |
31 | virtual ~AliHLTCaloRecoParamHandler(); // See above | |
32 | /** Get the parameters from CDB */ | |
33 | virtual Int_t GetParametersFromCDB(); // See above | |
34 | /** Get the corrected energy, should really be implemented by the child classes */ | |
35 | virtual Float_t GetCorrectedEnergy(Float_t e) { return e; } | |
36 | /** Get the log weight */ | |
37 | Float_t GetLogWeight() { return fLogWeight; } | |
38 | /** Get rec point threshold */ | |
39 | Float_t GetRecPointThreshold() { return fRecPointThreshold; } | |
40 | /** Get rec point member threshold */ | |
41 | Float_t GetRecPointMemberThreshold() { return fRecPointMemberThreshold; } | |
42 | ||
43 | protected: | |
44 | /** Fill the parameters */ | |
45 | virtual void FillParameters() = 0; //COMMENT | |
46 | /** The log weight used in calculating the cluster position */ | |
47 | Float_t fLogWeight; //COMMENT | |
48 | /** The threshold for adding a digit to a recpoint */ | |
49 | Float_t fRecPointMemberThreshold; //COMMENT | |
50 | /** The threshold for starting a recpoint */ | |
51 | Float_t fRecPointThreshold; //COMMENT | |
52 | /** A reco param object */ | |
53 | AliDetectorRecoParam *fRecoParamPtr; //! transient | |
54 | /** CDB path to the reco param object */ | |
55 | AliCDBPath fRecoParamPath; //COMMENT | |
56 | ||
57 | private: | |
58 | ||
59 | /** Default constructor, inhibited */ | |
60 | AliHLTCaloRecoParamHandler(); // See above | |
61 | ||
62 | /** Copy constructor, not implemented */ | |
63 | AliHLTCaloRecoParamHandler (const AliHLTCaloRecoParamHandler &); //COMMENT | |
64 | ||
65 | /** Assignment operator, not implemented */ | |
66 | AliHLTCaloRecoParamHandler & operator = (const AliHLTCaloRecoParamHandler &); //COMMENT | |
67 | ||
68 | ClassDef(AliHLTCaloRecoParamHandler, 0); | |
69 | ||
70 | }; | |
71 | ||
72 | #endif // ALIHLTCALORECOPARAMHANDLER_H |