]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpCDB.h
c195126792caa41fea8a54acab82d7cb6f7ab672
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpCDB.h
1 #ifndef ALI_MP_CDB_H
2 #define ALI_MP_CDB_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 // $Id$ 
8
9 /// \ingroup management
10 /// \class AliMpCDB
11 /// \brief Manager class for mapping CDB IO
12 ///
13 /// \author Ivana Hrivnacova, IPN Orsay
14
15 #ifndef ROOT_TObject
16 #  include <TObject.h>
17 #endif
18
19 class AliMpSegmentation;
20 class AliMpDDLStore;
21
22 class AliMpCDB : public  TObject {
23
24   public:
25     // static methods
26     static Bool_t LoadMpSegmentation(Bool_t warn = false);
27     static Bool_t LoadDDLStore(Bool_t warn = false);
28     
29     
30     static Bool_t LoadMpSegmentation2(
31                     const char* cdbpath = "local://$ALICE_ROOT",
32                     Int_t runNumber = 0,
33                     Bool_t warn = false);
34     static Bool_t LoadDDLStore2(
35                     const char* cdbpath = "local://$ALICE_ROOT",
36                     Int_t runNumber = 0,
37                     Bool_t warn = false);
38
39     static Bool_t WriteMpSegmentation(Bool_t readData = true);
40     static Bool_t WriteDDLStore(Bool_t readData= true);
41      
42   private:
43     /// Not implemented
44     AliMpCDB();
45     /// Not implemented
46     AliMpCDB(const AliMpCDB& rhs);
47     /// Not implemented
48     AliMpCDB& operator=(const AliMpCDB& rhs);
49     
50   ClassDef(AliMpCDB,0)  // The factory for building mapping segmentations
51 };
52
53 #endif //ALI_MP_CDB_H
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68