]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/MUONCDB.h
Error messages stored in the global raw-reader error log (Cvetan, Chiara)
[u/mrichter/AliRoot.git] / MUON / MUONCDB.h
index 8092212a382a91dabb73599fb0ecff8c15e11139..4a2d57f27252f22722b16f9a12459253c602de05 100644 (file)
 class TList;
 class AliMUONV1DStore;
 class AliMUONV2DStore;
+class TMap;
 
-static const char* CDBPath = "local://$ALICE_ROOT/";
+// Use the following for testing the Shuttle preprocessor
+//static const char* CDBPath = "local://$ALICE_ROOT/SHUTTLE/TestShuttle/TestCDB";
+// Or this one for "normal" use
+static const char* CDBPath = "local://$ALICE_ROOT";
 
 void generateTrigger(const char* cdbpath=CDBPath);
 
-void generateCalibrations(const char* cdbpath=CDBPath, Bool_t defaultValues = kTRUE);
+void getBoundaries(const AliMUONV2DStore& store,
+                   Float_t& x0min, Float_t& x0max,
+                   Float_t& x1min, Float_t& x1max);
 
-TList* manuList(Bool_t reset=kFALSE);
+void plot(const AliMUONV2DStore& store, const char* name, Int_t nbins=512);
 
-void plotCDB(const char* calibType="MUON/Calib/Pedestals");
-
-AliMUONV2DStore* read2D(const char* calibType="MUON/Calib/Pedestals");
-AliMUONV1DStore* read1D(const char* calibType="MUON/Calib/LocalBoardMasks");
+AliMUONV2DStore* diff(AliMUONV2DStore& store1, AliMUONV2DStore& store2, const char* opt="abs");
 
 void testMakeStores(Int_t readLoop=10);
 
+void writeToCDB(const char* cdbpath, const char* calibpath, TObject* object, 
+                Int_t startRun, Int_t endRun, Bool_t defaultValues);
+
+void writeNeighbours(const char* cdbpath, Int_t startRun=0, Int_t endRun=99999999);
+
+void writeHV(const char* cdbpath, Bool_t defaultValues, 
+             Int_t startRun, Int_t endRun);
+
+void writePedestals(const char* cdbpath, Bool_t defaultValues,
+                    Int_t startRun, Int_t endRun=99999999);
+
+void writeGains(const char* cdbpath, Bool_t defaultValues,
+                Int_t startRun, Int_t endRun=99999999);
+
+void writeCapacitances(const char* cdbpath, Bool_t defaultValues,
+                       Int_t startRun=0, Int_t endRun=99999999);
+
 #endif