]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/mapping/AliMpCDB.h
Adding functions LoadMpSegmentation2(), LoadDDLStore2()
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpCDB.h
CommitLineData
3f862c88 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
19class AliMpSegmentation;
20class AliMpDDLStore;
21
22class 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);
d3af4674 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);
3f862c88 38
90bcb4c9 39 static Bool_t WriteMpSegmentation(Bool_t readData = true);
40 static Bool_t WriteDDLStore(Bool_t readData= true);
3f862c88 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