]>
Commit | Line | Data |
---|---|---|
09dce353 | 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" | |
f05c2d17 | 21 | #include "AliCDBPath.h" |
09dce353 | 22 | |
f05c2d17 | 23 | class AliDetectorRecoParam; |
09dce353 | 24 | class AliHLTCaloRecoParamHandler: public AliHLTCaloConstantsHandler |
25 | { | |
097e19a7 | 26 | public: |
27 | /** Constructor, */ | |
09dce353 | 28 | AliHLTCaloRecoParamHandler(TString det); // See above |
09dce353 | 29 | /** Destructor */ |
30 | virtual ~AliHLTCaloRecoParamHandler(); // See above | |
f05c2d17 | 31 | /** Get the parameters from CDB */ |
32 | virtual Int_t GetParametersFromCDB(); // See above | |
09dce353 | 33 | /** Get the corrected energy, should really be implemented by the child classes */ |
34 | virtual Float_t GetCorrectedEnergy(Float_t e) { return e; } | |
09dce353 | 35 | /** Get the log weight */ |
36 | Float_t GetLogWeight() { return fLogWeight; } | |
09dce353 | 37 | /** Get rec point threshold */ |
38 | Float_t GetRecPointThreshold() { return fRecPointThreshold; } | |
09dce353 | 39 | /** Get rec point member threshold */ |
40 | Float_t GetRecPointMemberThreshold() { return fRecPointMemberThreshold; } | |
41 | ||
42 | protected: | |
f05c2d17 | 43 | /** Fill the parameters */ |
44 | virtual void FillParameters() = 0; //COMMENT | |
09dce353 | 45 | /** The log weight used in calculating the cluster position */ |
46 | Float_t fLogWeight; //COMMENT | |
09dce353 | 47 | /** The threshold for adding a digit to a recpoint */ |
48 | Float_t fRecPointMemberThreshold; //COMMENT | |
09dce353 | 49 | /** The threshold for starting a recpoint */ |
50 | Float_t fRecPointThreshold; //COMMENT | |
f05c2d17 | 51 | /** A reco param object */ |
52 | AliDetectorRecoParam *fRecoParamPtr; //! transient | |
f05c2d17 | 53 | /** CDB path to the reco param object */ |
54 | AliCDBPath fRecoParamPath; //COMMENT | |
09dce353 | 55 | |
56 | private: | |
57 | ||
58 | /** Default constructor, inhibited */ | |
59 | AliHLTCaloRecoParamHandler(); // See above | |
60 | ||
61 | /** Copy constructor, not implemented */ | |
62 | AliHLTCaloRecoParamHandler (const AliHLTCaloRecoParamHandler &); //COMMENT | |
63 | ||
64 | /** Assignment operator, not implemented */ | |
65 | AliHLTCaloRecoParamHandler & operator = (const AliHLTCaloRecoParamHandler &); //COMMENT | |
66 | ||
67 | ||
68 | }; | |
69 | ||
70 | #endif // ALIHLTCALORECOPARAMHANDLER_H |