19 # include <AliAnalysisManager.h>
20 # include <AliVEventHandler.h>
86 fOptions.
Add(
"trackref",
"For MC input, check TrackRef.root presence");
87 fOptions.
Add(
"scan",
"Scan for number of events in chain");
89 fOptions.
Add(
"pattern",
"GLOB",
"File name pattern",
"*.root");
110 if (&o ==
this)
return *
this;
126 fUrl.SetProtocol(
"lite");
139 if (!
fChain)
return false;
155 while ((obj = next2())) {
158 Info(
"LoadExtraSrcs",
"Will load %s", full.Data());
159 Int_t ret = gProof->Load(Form(
"%s+g", full.Data()),
true,
true);
161 Error(
"ProofRailway::PostSetup",
"Failed to compile %s",obj->GetName());
177 gProof->SetLogLevel(TMath::Max(
fVerbose-2,0),
184 TProofDebug::kPackage);
188 Warning(
"Run",
"Number of events %lld < offset (%lld), stopping",
195 TProof::Mgr(
fUrl.GetUrl())->GetSessionLogs()->Save(
"*",
"lite.log");
208 AliVEventHandler* outH = mgr->GetOutputEventHandler();
209 if (!outH)
return "";
212 outH->GetOutputFileName());
221 return "lite://<datadir_or_list>[?<options>][#<treeName]";
226 virtual const char*
Desc()
const {
return "PROOF-lite"; }
ProofRailway & operator=(const ProofRailway &o)
LiteRailway & operator=(const LiteRailway &o)
virtual Bool_t LoadExtraSrcs()
Long64_t AsLong(const TString &name, Long64_t def=0) const
virtual Bool_t PreSetup()
virtual Long64_t Run(Long64_t nEvents=-1)
virtual const char * Desc() const
virtual Bool_t PostSetup()
virtual Bool_t PreSetup()
Option * Add(const TString &name, const TString &arg, const TString &desc, const TString &val="")
virtual TString OutputPath() const
virtual const Char_t * UrlHelp() const
LiteRailway(const LiteRailway &o)
void Remove(const TString &name)
virtual Bool_t PostSetup()
LiteRailway(const TUrl &url, Int_t verbose)