AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CleanOADB.C
Go to the documentation of this file.
1 void CleanOADB(const TString& dest="tmp.root",
2  Bool_t verb=false,
3  Bool_t all=false)
4 {
5  const char* fwd = "${ALICE_PHYSICS}/PWGLF/FORWARD/analysis2";
6  if (!gROOT->GetClass("AliOADBForward")) {
7  Info("", "Loading libraries");
8  gROOT->Macro(Form("%s/scripts/LoadLibs.C", fwd));
9  }
10 
13  fcm.EnableCorrections(0x7F);
14  // if (!fcm.Init(0,1,900,+5,false,false,0x7F,false)) {
15  // Warning("CleanOADB", "Failed to init");
16  // return;
17  // }
18  fcm.Print("R");
19 
20 
21  Info("", "Cleaning up");
22  fcm.CleanUp(dest, verb, all);
23  Info("", "done");
24 }
void CleanOADB(const TString &dest="tmp.root", Bool_t verb=false, Bool_t all=false)
Definition: CleanOADB.C:1
virtual void EnableCorrections(UInt_t what)
virtual Bool_t CleanUp(const TString &destination, Bool_t verb=false, Bool_t all=false) const
const char * fwd
virtual void Print(Option_t *option="") const
bool Bool_t
Definition: External.C:53
static AliForwardCorrectionManager & Instance()