]>
Commit | Line | Data |
---|---|---|
b3c7c475 | 1 | #ifndef MUONCDB_H |
2 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * See cxx source for full Copyright notice */ | |
4 | ||
5 | /* $Id$ */ | |
6 | ||
7 | /// By Laurent Aphecetche | |
8 | ||
8f7d7575 | 9 | #include "Rtypes.h" |
10 | ||
b3c7c475 | 11 | class TList; |
d29760d6 | 12 | class AliMUONV1DStore; |
8f7d7575 | 13 | class AliMUONV2DStore; |
14 | ||
beb058b1 | 15 | // Use the following for testing the Shuttle preprocessor |
16 | //static const char* CDBPath = "local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB"; | |
17 | // Or this one for "normal" use | |
18 | static const char* CDBPath = "local://$ALICE_ROOT"; | |
d29760d6 | 19 | |
20 | void generateTrigger(const char* cdbpath=CDBPath); | |
21 | ||
5322694c | 22 | void getBoundaries(const AliMUONV2DStore& store, |
23 | Float_t& x0min, Float_t& x0max, | |
24 | Float_t& x1min, Float_t& x1max); | |
8f7d7575 | 25 | |
5322694c | 26 | void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512); |
8f7d7575 | 27 | |
5322694c | 28 | void plotCDB(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0); |
b3c7c475 | 29 | |
5322694c | 30 | AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs"); |
31 | ||
32 | AliMUONV2DStore* read2D(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0); | |
33 | ||
34 | AliMUONV1DStore* read1D(const char* calibType="MUON/Calib/LocalBoardMasks", Int_t runNumber=0); | |
b3c7c475 | 35 | |
8f7d7575 | 36 | void testMakeStores(Int_t readLoop=10); |
b3c7c475 | 37 | |
5322694c | 38 | void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object, |
39 | Int_t startRun, Int_t endRun, Bool_t defaultValues); | |
40 | ||
41 | void writePedestals(const char* cdbpath, Bool_t defaultValues, | |
42 | Int_t startRun, Int_t endRun); | |
43 | ||
44 | void writeGains(const char* cdbpath, Bool_t defaultValues, | |
45 | Int_t startRun, Int_t endRun); | |
46 | ||
47 | void writeDeadChannels(const char* cdbpath, Bool_t defaultValues, | |
48 | Int_t startRun, Int_t endRun); | |
49 | ||
b3c7c475 | 50 | #endif |