2 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * See cxx source for full Copyright notice */
7 /// By Laurent Aphecetche
12 class AliMUONV1DStore;
13 class AliMUONV2DStore;
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";
20 void generateTrigger(const char* cdbpath=CDBPath);
22 void getBoundaries(const AliMUONV2DStore& store,
23 Float_t& x0min, Float_t& x0max,
24 Float_t& x1min, Float_t& x1max);
26 void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512);
28 void plotCDB(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0);
30 AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs");
32 AliMUONV2DStore* read2D(const char* calibType="MUON/Calib/Pedestals", Int_t runNumber=0);
34 AliMUONV1DStore* read1D(const char* calibType="MUON/Calib/LocalBoardMasks", Int_t runNumber=0);
36 void testMakeStores(Int_t readLoop=10);
38 void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object,
39 Int_t startRun, Int_t endRun, Bool_t defaultValues);
41 void writePedestals(const char* cdbpath, Bool_t defaultValues,
42 Int_t startRun, Int_t endRun);
44 void writeGains(const char* cdbpath, Bool_t defaultValues,
45 Int_t startRun, Int_t endRun);
47 void writeDeadChannels(const char* cdbpath, Bool_t defaultValues,
48 Int_t startRun, Int_t endRun);