/*
// after running comparison task, read the file, and get component
- gSystem->Load("libPWG1.so");
+ gROOT->LoadMacro("$ALICE_ROOT/PWG1/Macros/LoadMyLibs.C");
+ LoadMyLibs();
+
TFile f("Output.root");
AliComparisonRes * compObj = (AliComparisonRes*)f.Get("AliComparisonRes");
// Author: J.Otwinowski 04/02/2008
//------------------------------------------------------------------------------
-#include "esdTrackCuts/AliESDtrackCuts.h"
+#include "AliESDtrackCuts.h"
class AliRecInfoCuts : public AliESDtrackCuts
{
CheckLoadLibrary("libESD");
CheckLoadLibrary("libSTEER");
CheckLoadLibrary("libANALYSIS");
+ CheckLoadLibrary("libANALYSISalice");
CheckLoadLibrary("libTPCbase");
CheckLoadLibrary("libTPCsim");
CheckLoadLibrary("libTRDbase");
CheckLoadLibrary("libTPCrec");
CheckLoadLibrary("libTRDrec");
- CheckLoadLibrary("libPWG0base");
- CheckLoadLibrary("libPWG0dep");
CheckLoadLibrary("libPWG1");
}
// Run this macro to correlate MC and reconstruction information (PWG1 library).
// Macro must be run in directory containing MC and ESD trees
//
-
RunMakers()
{
// load AliRoot libraries
gSystem->Load("libANALYSIS.so");
-gSystem->Load("libPWG0base.so");
+gSystem->Load("libANALYSISalice.so");
gSystem->Load("libPWG1.so");
// collect MC information
One has to implement the following classes to run its own analysis using PWG1 library:
\begin{itemize}
-\item[1.] Implement comparison object which contains control histograms and its own cut object (if needed).
-\item[2.] Implement (if needed) cut object which contains all cuts which will be applied while filling comparison object. It is recommended to use $IsSelected(TObject*)$ method of the cut object while applying the cuts.
+\item[1.] Implement comparison object which contains control histograms and its own cut object (ex: $PWG1/AliComparisonDCA.h$)
+\item[2.] Implement (if needed) cut object which contains all cuts which will be applied while filling comparison object. It is recommended to use $IsSelected(TObject*)$ method of the cut object while applying the cuts (ex: $PWG1/AliMCInfoCuts.h$).
\end{itemize}
\subsection{Quick Start}
DHDR:= PWG1LinkDef.h
-EINCLUDE:= STEER TPC ITS TRD PWG0
+EINCLUDE:= STEER TPC ITS TRD