]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CALO/AliHLTCaloConstantsHandler.h
2777e5c58aa562489c24dce9ebb276eae54410c0
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloConstantsHandler.h
1 //-*- Mode: C++ -*-
2 // $Id: AliHLTCALOConstantsHandler.h 34622 2009-09-04 13:22:01Z odjuvsla $
3
4
5 //* This file is property of and copyright by the ALICE HLT Project        * 
6 //* ALICE Experiment at CERN, All rights reserved.                         *
7 //* See cxx source for full Copyright notice                               */
8
9 /// @file   AliHLTCaloConstantsHandler.h
10 /// @author Svein Lindal
11 /// @date   
12 /// @brief  Handler class that helps create an instance of the right 
13 ///         AliHLTCaloConstants child class 
14 ///         (e.g. AliHLTPHOSConstants or AliHLTEMCALConstants)
15
16
17 #ifndef ALIHLTCALOCONSTANTSHANDLER_H
18 #define ALIHLTCALOCONSTANTSHANDLER_H
19
20 class AliHLTCaloConstants;
21 class TString;
22
23 class AliHLTCaloConstantsHandler
24 {
25 public:
26   AliHLTCaloConstantsHandler(TString det);
27   virtual ~AliHLTCaloConstantsHandler();
28
29 protected:
30   AliHLTCaloConstants* fCaloConstants;
31   
32 private:
33   /** Keep the standard constructor private, since we must alway initialize by specific calorimeter**/
34   AliHLTCaloConstantsHandler();
35
36   /** Keep the copy constructor private since it should not be used */
37   AliHLTCaloConstantsHandler(const AliHLTCaloConstantsHandler & );
38
39   /** Keep the assignement operator private since it should not be used */
40     AliHLTCaloConstantsHandler & operator = (const AliHLTCaloConstantsHandler &);
41
42
43   void Initialize(TString det);
44
45 };
46
47 #endif