AliRoot Core  3dc7879 (3dc7879)
AliEveTree.C File Reference
#include "TFile.h"
#include "TTree.h"
#include "TTreeStream.h"
#include "TPolyMarker3D.h"
#include "TVectorD.h"
#include "AliESDEvent.h"
#include "AliESDtrack.h"
#include "AliESDfriendTrack.h"
#include "AliTrackPointArray.h"
Include dependency graph for AliEveTree.C:

Go to the source code of this file.

Functions

AliTrackPointArrayMakeArray (TPolyMarker3D *pol)
 
void MakeESDTree (AliESDEvent *esd, TTreeSRedirector &cstream)
 
void MakeEveTree ()
 

Detailed Description

.L $ALICE_ROOT/TPC/macros/AliEveTree.C+
TFile fesd("AliESDs.root");
TTree * treeESD = (TTree*)fesd.Get("esdTree");
TFile ftpc("TPCdebug.root");
TFile fits("ITSdebug.root");
TTree * treeTPC = (TTree*)ftpc.Get("Transform");
TTree * treeITS = (TTree*)fits.Get("Clusters");
treeTPC->Draw("gx2/sqrt(gx0^2+gx1^2):sqrt(gx0^2+gx1^2)>>his(100,0,200,100,-1,1)","event==4","")
treeITS->Draw("gz/sqrt(gx^2+gy^2):sqrt(gx^2+gy^2)>>his(100,0,200,100,-1,1)","event==4","same")
treeTPC->Draw("atan2(gx1,gx0):sqrt(gx0^2+gx1^2)>>his(100,0,200,100,-1,1)","event==4","*")
treeITS->Draw("atan2(gy,gx):sqrt(gx^2+gy^2)>>his(100,0,200,100,-1,1)","event==4","same*");

Definition in file AliEveTree.C.

Function Documentation

AliTrackPointArray * MakeArray ( TPolyMarker3D *  pol)

Make a aray of points with errors

Definition at line 118 of file AliEveTree.C.

Referenced by MakeESDTree().

void MakeESDTree ( AliESDEvent esd,
TTreeSRedirector cstream 
)

Definition at line 54 of file AliEveTree.C.

Referenced by MakeEveTree().

void MakeEveTree ( )

Definition at line 37 of file AliEveTree.C.