LCOV - code coverage report
Current view: top level - STEER/CDB - AliOCDBtoolkit.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 3 33.3 %
Date: 2016-06-14 17:26:59 Functions: 1 9 11.1 %

          Line data    Source code
       1             : #ifndef ALIOCDBTOOLKIT_H
       2             : #define ALIOCDBTOOLKIT_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : 
       7             : 
       8             : #include <TObject.h>
       9             : class TStopwatch;
      10             : class TTree;
      11             : class TMemStatManager;
      12             : using std::fstream;
      13             : 
      14           0 : class AliOCDBtoolkit : public TObject {
      15             : public:  
      16             :   static void MakeDiffExampleUseCase();    // example usage
      17             :   static void DumpOCDBAsTxt(const TString fInput,const TString fType, const TString outfile);
      18             :   static void MakeSnapshotFromTxt(const TString fInput,const TString outfile, Bool_t singleKeys); 
      19             :   //
      20             :   static Bool_t   ParseInfoFromOcdbString(TString ocdbString, TString &ocdbPath, Int_t &run0, Int_t &run1, Int_t &version, Int_t &subVersion);   
      21             :   static Bool_t   ParseInfoFromOcdbString(TString ocdbString, AliCDBId &cdbId);
      22             :   static TList  * ConvertListStringToCDBId(const TList */*cdbList0*/);   
      23             :   //
      24             :   // Load OCDB entries 
      25             :   //
      26             :   static void SetStorage(const TMap *cdbMap0);   
      27             :   static void LoadOCDBFromMap(const TMap *cdbMap, const TList *cdbList);
      28             :   static void LoadOCDBFromLog(const char *logName, Int_t verbose);
      29             :   static void LoadOCDBFromESD(const char *fname="AliESDs.root");
      30           0 :   static void LoadOCDBFromList(const char */*ocdbList*/){;} // to be implemented  
      31             : 
      32             :   //
      33             :   // Dump object functionality
      34             :   //  
      35             :   static void DumpOCDB(const TMap *cdbMap0, const TList *cdbList0, const TString outfile);
      36             :   static void DumpObjectRecursive(TObject *obj);
      37             :   static void DumpObjectRecursive(TObject *obj, TString prefix, Int_t &counterRec);
      38             :   static void DumpOCDBFile(const char *finput , const char *foutput, Bool_t dumpMetaData, Bool_t xml);
      39             :   static void MakeDiff(const TMap *cdbMap0, const TList *cdbList0, const TMap *cdbMap1, const TList *cdbList1, Int_t verbose);
      40             :   //
      41             :   // addopt OCDB entry
      42             :   //
      43             :   static Bool_t AddoptOCDBEntry( const char *finput, const char *output,  Int_t ustartRun, Int_t uendRun);
      44             : private:
      45             :   AliOCDBtoolkit(const AliOCDBtoolkit& source);
      46             :   AliOCDBtoolkit& operator= (const AliOCDBtoolkit& rec);
      47             : 
      48         128 :   ClassDef(AliOCDBtoolkit,0)
      49             : };
      50             : 
      51             : #endif

Generated by: LCOV version 1.11