AliPhysics  c7b8e89 (c7b8e89)
MakeTrain.C
Go to the documentation of this file.
1 
11 //====================================================================
23 void MakeTrain(TString name = "aod",
24  TString cls = "",
25  TString url = "help",
26  TString options = "help")
27 {
28  if (cls.IsNull()) Fatal("MakeTrain", "Must specify a class name");
29  if (name.IsNull()) Fatal(cls, "Must specify a name");
30  gROOT->LoadMacro("$ALICE_PHYSICS/PWGLF/FORWARD/trains/RunTrain.C");
31  gROOT->SetMacroPath(Form("%s:$ALICE_PHYSICS/PWGLF/FORWARD/analysis2/trains",
32  gROOT->GetMacroPath()));
33 
34  RunTrain(name, cls, uri, options);
35 }
36 //
37 // EOF
38 //
const char * url
Bool_t RunTrain(const TString &name, const TString &cls, const TUrl &uri, const TString &opts)
Definition: RunTrain.C:111
void MakeTrain(TString name="aod", TString cls="", TString url="help", TString options="help")
Definition: MakeTrain.C:23