alice_esd.C File Reference

Go to the source code of this file.

Classes

class  EvNavHandler

Enumerations

enum  ESDTrackFlags

Functions

Bool_t alice_esd_loadlib (const char *file, const char *project)
void make_gui ()
void load_event ()
void alice_esd_read ()
TEveTrackesd_make_track (TEveTrackPropagator *trkProp, Int_t index, AliESDtrack *at, AliExternalTrackParam *tp=0)
Bool_t trackIsOn (AliESDtrack *t, Int_t mask)
void trackGetPos (AliExternalTrackParam *tp, Double_t r[3])
void trackGetMomentum (AliExternalTrackParam *tp, Double_t p[3])
Double_t trackGetP (AliExternalTrackParam *tp)
void alice_esd ()
Bool_t alice_esd_loadlib (const char *project)

Variables

const char * esd_file_name = "http://root.cern.ch/files/alice_ESDs.root"
const char * esd_friends_file_name = 0
const char * esd_geom_file_name
TFileesd_file = 0
TFileesd_friends_file = 0
TTreeesd_tree = 0
AliESDEvent * esd = 0
TListesd_objs = 0
AliESDfriend * esd_friend = 0
Int_t esd_event_id = 0
TEveTrackListgTrackList = 0
TEveGeoShapegGeomGentle = 0
MultiViewgMultiView = 0


Enumeration Type Documentation

enum ESDTrackFlags

Definition at line 404 of file alice_esd.C.


Function Documentation

void alice_esd (  ) 

Definition at line 145 of file alice_esd.C.

References TEveManager::AddGlobalElement(), alice_esd_loadlib(), TFile::Close(), TEveManager::Create(), TEveWindow::CreateWindowInTab(), Error, esd, esd_file, esd_file_name, esd_friends_file, esd_friends_file_name, esd_geom_file_name, esd_objs, esd_tree, fgHtml, fgHtmlSummary, TList::FindObject(), TDirectoryFile::Get(), TTree::GetBranch(), TEveManager::GetBrowser(), TObject::GetName(), TList::GetObjectRef(), TRootBrowser::GetTabRight(), TTree::GetUserInfo(), gEve, gGeomGentle, gMultiView, gROOT, MultiView::ImportGeomRhoZ(), MultiView::ImportGeomRPhi(), TEveGeoShape::ImportShapeExtract(), kTRUE, load_event(), TROOT::LoadMacro(), make_gui(), TFile::Open(), TEveManager::Redraw3D(), TBranch::SetAddress(), TTree::SetBranchStatus(), TFile::SetCacheFileDir(), TEveElementList::SetElementName(), TGTab::SetTab(), and Warning().

Bool_t alice_esd_loadlib ( const char *  project  ) 

Definition at line 278 of file alice_esd.C.

References TSystem::AccessPathName(), esd_file_name, esd_friends_file_name, f2, Form(), TSystem::GetSoExt(), gSystem, kFALSE, kReadPermission, TSystem::Load(), TFile::Open(), and TTree::SetBranchStatus().

Bool_t alice_esd_loadlib ( const char *  file,
const char *  project 
)

Definition at line 237 of file alice_esd_split.C.

References TSystem::AccessPathName(), Form(), TSystem::GetSoExt(), gSystem, kFALSE, kReadPermission, TSystem::Load(), and TFile::Open().

Referenced by alice_esd(), and alice_esd_split().

void alice_esd_read (  ) 

Definition at line 418 of file alice_esd.C.

References TEveElement::AddElement(), TEveManager::AddElement(), TObjArray::At(), esd_make_track(), esd_objs, TList::FindObject(), TObjArray::GetEntriesFast(), TEveTrackList::GetPropagator(), gEve, gTrackList, kITSrefit, kYellow, TEveTrackList::MakeTracks(), n, TEveTrackPropagator::SetMagField(), TEveTrackList::SetMainColor(), TEveTrackList::SetMarkerColor(), TEveTrackList::SetMarkerSize(), TEveTrackList::SetMarkerStyle(), track(), and trackIsOn().

Referenced by load_event().

TEveTrack * esd_make_track ( TEveTrackPropagator trkProp,
Int_t  index,
AliESDtrack *  at,
AliExternalTrackParam *  tp = 0 
)

Definition at line 471 of file alice_esd.C.

References TEveRecTrack::fBeta, TEveRecTrack::fIndex, TEveRecTrack::fLabel, Form(), TEveRecTrack::fP, TEveRecTrack::fSign, TEveRecTrack::fStatus, TEveRecTrack::fV, pbuf, TEveVectorT< TT >::Set(), TMath::Sqrt(), track(), trackGetMomentum(), trackGetP(), and trackGetPos().

Referenced by alice_esd_read().

void load_event (  ) 

Definition at line 300 of file alice_esd.C.

References alice_esd_read(), TEveViewerList::DeleteAnnotations(), TEveElement::DestroyElements(), MultiView::DestroyEventRhoZ(), MultiView::DestroyEventRPhi(), esd_event_id, esd_tree, TEveManager::GetCurrentEvent(), TTree::GetEntry(), TEveManager::GetViewers(), gEve, gMultiView, gTrackList, MultiView::ImportEventRhoZ(), MultiView::ImportEventRPhi(), kFALSE, kTRUE, TEveManager::Redraw3D(), top(), and update_html_summary().

Referenced by alice_esd(), alice_esd_split(), EvNavHandler::Bck(), and EvNavHandler::Fwd().

void make_gui (  ) 

Definition at line 363 of file alice_esd.C.

References TGCompositeFrame::AddFrame(), b, Form(), gClient, TEveManager::GetBrowser(), TSystem::Getenv(), TGClient::GetPicture(), TGClient::GetRoot(), gEve, gSystem, kDeepCleanup, TRootBrowser::kLeft, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), TGFrame::Resize(), TGCompositeFrame::SetCleanup(), TRootBrowser::SetTabTitle(), TGMainFrame::SetWindowName(), TRootBrowser::StartEmbedding(), and TRootBrowser::StopEmbedding().

Referenced by alice_esd(), alice_esd_split(), and alice_vsd().

void trackGetMomentum ( AliExternalTrackParam *  tp,
Double_t  p[3] 
)

Definition at line 526 of file alice_esd.C.

References TMath::Abs(), TMath::Cos(), TMath::Sin(), and TMath::Sqrt().

Referenced by esd_make_track().

Double_t trackGetP ( AliExternalTrackParam *  tp  ) 

Definition at line 539 of file alice_esd.C.

References TMath::Abs(), and TMath::Sqrt().

Referenced by esd_make_track().

void trackGetPos ( AliExternalTrackParam *  tp,
Double_t  r[3] 
)

Definition at line 515 of file alice_esd.C.

References TMath::Cos(), TMath::Sin(), and x.

Referenced by esd_make_track().

Bool_t trackIsOn ( AliESDtrack *  t,
Int_t  mask 
)

Definition at line 507 of file alice_esd.C.

Referenced by alice_esd_read().


Variable Documentation

AliESDEvent* esd = 0

Definition at line 126 of file alice_esd.C.

Referenced by alice_esd(), and alice_esd_split().

Int_t esd_event_id = 0

Definition at line 130 of file alice_esd.C.

Referenced by EvNavHandler::Bck(), EvNavHandler::Fwd(), and load_event().

TFile* esd_file = 0

Definition at line 121 of file alice_esd.C.

Referenced by alice_esd(), and alice_esd_split().

const char* esd_file_name = "http://root.cern.ch/files/alice_ESDs.root"

Definition at line 107 of file alice_esd.C.

Referenced by alice_esd(), alice_esd_loadlib(), and alice_esd_split().

AliESDfriend* esd_friend = 0

Definition at line 128 of file alice_esd.C.

TFile* esd_friends_file = 0

Definition at line 122 of file alice_esd.C.

Referenced by alice_esd(), and alice_esd_split().

const char* esd_friends_file_name = 0

Definition at line 112 of file alice_esd.C.

Referenced by alice_esd(), alice_esd_loadlib(), and alice_esd_split().

const char* esd_geom_file_name

Initial value:

   "http://root.cern.ch/files/alice_ESDgeometry.root"

Definition at line 114 of file alice_esd.C.

Referenced by alice_esd(), alice_esd_split(), geomGentleTPC(), projection(), and projection_prescale().

TList* esd_objs = 0

Definition at line 127 of file alice_esd.C.

Referenced by alice_esd(), and alice_esd_read().

TTree* esd_tree = 0

Definition at line 124 of file alice_esd.C.

Referenced by alice_esd(), alice_esd_split(), and load_event().

TEveGeoShape* gGeomGentle = 0

Definition at line 134 of file alice_esd.C.

Referenced by alice_esd().

MultiView* gMultiView = 0

Definition at line 138 of file alice_esd.C.

Referenced by alice_esd(), alice_vsd(), TVSDReader::GotoEvent(), load_event(), pythia_display(), and pythia_next_event().

TEveTrackList* gTrackList = 0

Definition at line 132 of file alice_esd.C.

Referenced by alice_esd_read(), load_event(), pythia_display(), and pythia_next_event().


Generated on Tue Jul 5 16:09:28 2011 for ROOT_528-00b_version by  doxygen 1.5.1