AliPhysics  cdeda5a (cdeda5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MakeDeltas.C
Go to the documentation of this file.
1 
20 void
21 MakeDeltas(const char* realFileName,
22  const char* simFileName,
23  Int_t dimen=2,
24  Bool_t scaleToTail=true)
25 {
26  gSystem->AddIncludePath("-I${ALICE_ROOT}/include "
27  "-I${ALICE_PHYSICS}/include "
28  "-I${ANA_SRC}/dndeta/tracklets3");
29  gROOT->SetMacroPath(Form("${ANA_SRC}/dndeta/tracklets3:%s",
30  gROOT->GetMacroPath()));
31  gROOT->LoadMacro("AliAODTracklet.C+g");
32  gROOT->LoadMacro("AliTrackletWeights.C+g");
33  gROOT->LoadMacro("AliTrackletAODUtils.C+g");
34  gROOT->LoadMacro("MakeDeltaWeights.C+g");
35 
36  TCanvas* c1 = new TCanvas("c1","c1");
38  AliTrackletBaseWeights* w = mdw->Run(realFileName,simFileName,
39  dimen, scaleToTail);
40  TCanvas* c2 = new TCanvas("c2","c2");
41  w->Draw();
42 }
43 //
44 // EOF
45 //
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:21