]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloRecoParamHandler.h
Add switch for tail cancelation
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloRecoParamHandler.h
CommitLineData
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"
2618a358 21#include "AliHLTLogging.h"
f05c2d17 22#include "AliCDBPath.h"
09dce353 23
f05c2d17 24class AliDetectorRecoParam;
2618a358 25class AliHLTCaloRecoParamHandler: public AliHLTCaloConstantsHandler, public AliHLTLogging
09dce353 26 {
097e19a7 27 public:
28 /** Constructor, */
09dce353 29 AliHLTCaloRecoParamHandler(TString det); // See above
09dce353 30 /** Destructor */
31 virtual ~AliHLTCaloRecoParamHandler(); // See above
f05c2d17 32 /** Get the parameters from CDB */
33 virtual Int_t GetParametersFromCDB(); // See above
09dce353 34 /** Get the corrected energy, should really be implemented by the child classes */
35 virtual Float_t GetCorrectedEnergy(Float_t e) { return e; }
09dce353 36 /** Get the log weight */
37 Float_t GetLogWeight() { return fLogWeight; }
09dce353 38 /** Get rec point threshold */
39 Float_t GetRecPointThreshold() { return fRecPointThreshold; }
09dce353 40 /** Get rec point member threshold */
41 Float_t GetRecPointMemberThreshold() { return fRecPointMemberThreshold; }
42
43 protected:
f05c2d17 44 /** Fill the parameters */
45 virtual void FillParameters() = 0; //COMMENT
09dce353 46 /** The log weight used in calculating the cluster position */
47 Float_t fLogWeight; //COMMENT
09dce353 48 /** The threshold for adding a digit to a recpoint */
49 Float_t fRecPointMemberThreshold; //COMMENT
09dce353 50 /** The threshold for starting a recpoint */
51 Float_t fRecPointThreshold; //COMMENT
f05c2d17 52 /** A reco param object */
53 AliDetectorRecoParam *fRecoParamPtr; //! transient
f05c2d17 54 /** CDB path to the reco param object */
55 AliCDBPath fRecoParamPath; //COMMENT
09dce353 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
2618a358 68 ClassDef(AliHLTCaloRecoParamHandler, 0);
09dce353 69
70 };
71
72#endif // ALIHLTCALORECOPARAMHANDLER_H