]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONCDB.h
Fixed memory leak
[u/mrichter/AliRoot.git] / MUON / AliMUONCDB.h
index 9f89395f4ab854090f4d4fc0d4f43717a02e76ee..2e54fb758f7078c743cd595091eabdd21e7fff0d 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <TString.h>
 #include "AliCDBRunRange.h"
+#include <vector>
 
 class AliMUONVStore;
 class TMap;
@@ -24,12 +25,15 @@ class AliMUONRegionalTriggerConfig;
 class AliMUONGlobalCrateConfig;
 class AliMUONRejectList;
 class AliMUONRecoParam;
+class TH1;
 
 namespace AliMUONCDB
 {
   Bool_t CheckOCDB(Bool_t pathOnly = kFALSE);
   Bool_t CheckMapping(Bool_t segmentationOnly = kFALSE);
   
+  void CheckHV(Int_t runNumber, Int_t verbose=0);
+
   Bool_t LoadField();
   Bool_t LoadMapping(Bool_t segmentationOnly = kFALSE);
   AliMUONRecoParam* LoadRecoParam();
@@ -55,8 +59,19 @@ namespace AliMUONCDB
 
   AliMUONVStore* Diff(AliMUONVStore& store1, AliMUONVStore& store2, const char* opt="abs");
   
-  void Plot(const AliMUONVStore& store, const char* name, Int_t nbins=512);
+  TH1** Plot(const AliMUONVStore& store, const char* name, Int_t nbins=512);
+
+  void ReadIntegers(const char* filename, std::vector<int>& integers);
 
+  void ShowConfig(Bool_t withStatusMap=kFALSE);
+  
+  void ShowCapacitances();
+  
+  void ShowFaultyBusPatches(const char* runlist, 
+                            double occLimit=0.1,
+                            const char* outputBaseName="faulty.buspatches",
+                            const char* ocdbPath="raw://");
+  
   void WriteToCDB(const char* calibpath, TObject* object,
                   Int_t startRun, Int_t endRun, Bool_t defaultValues);
   void WriteToCDB(const char* calibpath, TObject* object,