AliPhysics  8d00e07 (8d00e07)
MakeDeltas.C
Go to the documentation of this file.
1 
22 void
23 MakeDeltas(const char* realFileName,
24  const char* simFileName,
25  Int_t dimen=2,
26  Bool_t scaleToTail=true)
27 {
28  gSystem->AddIncludePath("-I${ALICE_ROOT}/include "
29  "-I${ALICE_PHYSICS}/include "
30  "-I${ANA_SRC}/dndeta/tracklets3");
31  gROOT->SetMacroPath(Form("${ANA_SRC}/dndeta/tracklets3:%s",
32  gROOT->GetMacroPath()));
33  gROOT->LoadMacro("AliAODTracklet.C+g");
34  gROOT->LoadMacro("AliTrackletWeights.C+g");
35  gROOT->LoadMacro("AliTrackletAODUtils.C+g");
36  gROOT->LoadMacro("MakeDeltaWeights.C+g");
37 
38  TCanvas* c1 = new TCanvas("c1","c1");
40  AliTrackletBaseWeights* w = mdw->Run(realFileName,simFileName,
41  dimen, scaleToTail);
42  TCanvas* c2 = new TCanvas("c2","c2");
43  w->Draw();
44 }
45 //
46 // EOF
47 //
TSystem * gSystem
int Int_t
Definition: External.C:63
AliTrackletDeltaWeights * Run(const char *realFileName, const char *simFileName, Int_t dimen=2, Bool_t scaleToTail=true)
bool Bool_t
Definition: External.C:53
void MakeDeltas(const char *realFileName, const char *simFileName, Int_t dimen=2, Bool_t scaleToTail=true)
Definition: MakeDeltas.C:23