]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/corrs/Upload.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / corrs / Upload.C
1 // Generated by ExtractELoss.C
2 TString MakeDest(const TString& dest, const TString& fname)
3 {
4   TString tmp(dest);
5   if (!tmp.IsNull()) {
6     if (!tmp.EndsWith("/")) tmp.Append("/");
7     tmp.Append(fname);
8   }
9   return tmp;
10 }
11
12 void Upload(const TString& dest="")
13 {
14   gROOT->Macro("$ALICE_ROOT/PWGLF/FORWARD/analysis2/scripts/LoadLibs.C");
15   
16   const char* fmdFile = "fmd_corrections.root";
17   TString fdest = MakeDest(dest, fmdFile);
18   
19   AliForwardCorrectionManager::Instance().Append(fmdFile, fdest);
20 }
21 // EOF
22