76#include "aliesd/AliESDEvent.h"
77#include "aliesd/AliESDRun.h"
78#include "aliesd/AliESDtrack.h"
104const char*
esd_file_name =
"http://root.cern.ch/files/alice_ESDs.root";
140 printf(
"*** Opening ESD ***\n");
145 printf(
"*** Opening ESD-friends ***\n");
161 if(bname.CompareTo(
"AliESDfriend")==0)
164 esd_tree->SetBranchAddress(
"ESDfriend.",
esd->fESDObjects->GetObjectRef(
el));
168 esd_tree->SetBranchAddress(bname,
esd->fESDObjects->GetObjectRef(
el));
244 gROOT->ProcessLine(
"SplitGLView::UpdateSummary()");
286 printf(
"Already at last event.\n");
297 gTextEntry->SetText(
"Already at first event");
298 printf(
"Already at first event.\n");
308 gROOT->ProcessLine(
".L SplitGLView.C+");
313 browser->ExecPlugin(
"SplitGLView", 0,
"new SplitGLView(gClient->GetRoot(), 600, 450, kTRUE)");
319 frmMain->SetWindowName(
"XX GUI");
331 b->Connect(
"Clicked()",
"EvNavHandler", fh,
"Bck()");
335 b->Connect(
"Clicked()",
"EvNavHandler", fh,
"Fwd()");
354 browser->SetTabTitle(
"Event Control", 0);
443 if (
tp == 0)
tp = at;
445 rt.fLabel = at->fLabel;
447 rt.fStatus = (
Int_t) at->fFlags;
448 rt.fSign = (
tp->fP[4] > 0) ? 1 : -1;
460 track->SetStdTitle();
470 return (t->fFlags &
mask) > 0;
478 r[0] =
tp->fX;
r[1] =
tp->fP[0];
r[2] =
tp->fP[1];
489 p[0] =
tp->fP[4];
p[1] =
tp->fP[2];
p[2] =
tp->fP[3];
ULong_t Pixel_t
Pixel value.
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TEveManager * gEve
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t mask
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
An array of clone (identical) objects.
Specialization of TRootBrowser for Eve.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual void AddElement(TEveElement *el)
Add el to the list of children.
TEveElement * FindChild(const TString &name, const TClass *cls=nullptr)
Find the first child with given name.
Wrapper for TGeoShape with absolute positioning and color attributes allowing display of extracted TG...
static TEveGeoShape * ImportShapeExtract(TEveGeoShapeExtract *gse, TEveElement *parent=nullptr)
Import a shape extract 'gse' under element 'parent'.
void AddElement(TEveElement *element, TEveElement *parent=nullptr)
Add an element.
void AddGlobalElement(TEveElement *element, TEveElement *parent=nullptr)
Add a global element, i.e.
TEveSceneList * GetScenes() const
TEveBrowser * GetBrowser() const
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
TEveEventManager * GetCurrentEvent() const
Axes for non-linear projections.
Manager class for steering of projections and managing projected objects.
A list of tracks supporting change of common attributes and selection based on track parameters.
Holding structure for a number of track rendering parameters.
Visual representation of a track.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.
void MoveResize(Int_t x, Int_t y, UInt_t w=0, UInt_t h=0) override
Move and/or resize the frame.
void Move(Int_t x, Int_t y) override
Move frame.
A composite frame that layout their children in horizontal way.
This class describes layout hints used by the layout classes.
Defines top level windows that interact with the system Window Manager.
A TGTextEntry is a one line text input widget.
The TNamed class is the base class for all named ROOT classes.
Mother of all ROOT objects.
virtual const char * Getenv(const char *env)
Get environment variable.
virtual Bool_t ProcessEvents()
Process pending events (GUI, timers, sockets).
A TTree represents a columnar dataset.
Double_t Sqrt(Double_t x)
Returns the square root of x.
Double_t Cos(Double_t)
Returns the cosine of an angle of x radians.
Double_t Sin(Double_t)
Returns the sine of an angle of x radians.
Short_t Abs(Short_t d)
Returns the absolute value of parameter Short_t d.