TVSDReader Class Reference

List of all members.

Public Types

enum  ESDTrackFlags

Public Member Functions

 TVSDReader (const char *file_name)
virtual ~TVSDReader ()
void AttachEvent ()
void DropEvent ()
void NextEvent ()
void PrevEvent ()
Bool_t GotoEvent (Int_t ev)
void LoadClusters (TEvePointSet *&ps, const TString &det_name, Int_t det_id)
Bool_t trackIsOn (TEveTrack *t, Int_t mask)
void LoadEsdTracks ()
 ClassDef (TVSDReader, 0)

Public Attributes

TFilefFile
TDirectoryfDirectory
TObjArrayfEvDirKeys
TEveVSDfVSD
Int_t fMaxEv
Int_t fCurEv
TEveTrackListfTrackList
TEvePointSetfITSClusters
TEvePointSetfTPCClusters
TEvePointSetfTRDClusters
TEvePointSetfTOFClusters

Detailed Description

Definition at line 58 of file alice_vsd.C.


Member Enumeration Documentation

enum TVSDReader::ESDTrackFlags

Definition at line 250 of file alice_vsd.C.


Constructor & Destructor Documentation

TVSDReader::TVSDReader ( const char *  file_name  )  [inline]

Definition at line 85 of file alice_vsd.C.

References TObjArray::Add(), Error, TSystem::Exit(), fEvDirKeys, fFile, TList::FirstLink(), fMaxEv, fVSD, TObjArray::GetEntriesFast(), TDirectoryFile::GetListOfKeys(), TObject::GetName(), TObjLink::GetObject(), gSystem, TPMERegexp::Match(), TObjLink::Next(), and TFile::Open().

virtual TVSDReader::~TVSDReader (  )  [inline, virtual]

Definition at line 124 of file alice_vsd.C.

References TFile::Close(), DropEvent(), fEvDirKeys, fFile, and fVSD.


Member Function Documentation

void TVSDReader::AttachEvent (  )  [inline]

Definition at line 137 of file alice_vsd.C.

References fVSD, TEveVSD::LoadTrees(), and TEveVSD::SetBranchAddresses().

Referenced by GotoEvent().

void TVSDReader::DropEvent (  )  [inline]

Definition at line 145 of file alice_vsd.C.

References TEveViewerList::DeleteAnnotations(), TEveVSD::DeleteTrees(), TEveElement::DestroyElements(), fDirectory, fVSD, TEveManager::GetCurrentEvent(), TEveManager::GetViewers(), and gEve.

Referenced by GotoEvent(), and ~TVSDReader().

void TVSDReader::NextEvent (  )  [inline]

Definition at line 165 of file alice_vsd.C.

References fCurEv, and GotoEvent().

void TVSDReader::PrevEvent (  )  [inline]

Definition at line 170 of file alice_vsd.C.

References fCurEv, and GotoEvent().

Bool_t TVSDReader::GotoEvent ( Int_t  ev  )  [inline]

Definition at line 175 of file alice_vsd.C.

References TObjArray::At(), AttachEvent(), MultiView::DestroyEventRhoZ(), MultiView::DestroyEventRPhi(), DropEvent(), fCurEv, fDirectory, fEvDirKeys, fITSClusters, fMaxEv, fTOFClusters, fTPCClusters, fTRDClusters, fVSD, TEveManager::GetCurrentEvent(), gEve, gMultiView, MultiView::ImportEventRhoZ(), MultiView::ImportEventRPhi(), kFALSE, kTRUE, LoadClusters(), LoadEsdTracks(), TEveManager::Redraw3D(), TEveVSD::SetDirectory(), top(), and Warning().

Referenced by alice_vsd(), NextEvent(), and PrevEvent().

void TVSDReader::LoadClusters ( TEvePointSet *&  ps,
const TString det_name,
Int_t  det_id 
) [inline]

Definition at line 222 of file alice_vsd.C.

References TEveManager::AddElement(), TString::Format(), TEveVSD::fTreeC, fVSD, gEve, TEveElement::IncDenyDestroy(), TEvePointSet::Reset(), TEvePointSelector::Select(), TEveElement::SetMainColor(), TEvePointSet::SetMarkerSize(), TEvePointSet::SetMarkerStyle(), TEvePointSet::SetTitle(), and TPolyMarker3D::Size().

Referenced by GotoEvent().

Bool_t TVSDReader::trackIsOn ( TEveTrack t,
Int_t  mask 
) [inline]

Definition at line 264 of file alice_vsd.C.

References t.

void TVSDReader::LoadEsdTracks (  )  [inline]

Definition at line 271 of file alice_vsd.C.

References TEveElement::AddElement(), TEveManager::AddElement(), TEveElement::DestroyElements(), TEveRecTrack::fIndex, Form(), TEveVSD::fR, fTrackList, TEveVSD::fTreeR, fVSD, TTree::GetEntries(), TTree::GetEntry(), TEveTrackList::GetPropagator(), gEve, TEveElement::IncDenyDestroy(), TEveTrackPropagator::kRungeKutta, kYellow, TEveTrackList::MakeTracks(), n, TEveTrackPropagator::SetMagField(), TEveTrackList::SetMainColor(), TEveTrackList::SetMarkerColor(), TEveTrackList::SetMarkerSize(), TEveTrackList::SetMarkerStyle(), TEveTrackPropagator::SetStepper(), and track().

Referenced by GotoEvent().

TVSDReader::ClassDef ( TVSDReader  ,
 
)


Member Data Documentation

TFile* TVSDReader::fFile

Definition at line 65 of file alice_vsd.C.

Referenced by TVSDReader(), and ~TVSDReader().

TDirectory* TVSDReader::fDirectory

Definition at line 66 of file alice_vsd.C.

Referenced by DropEvent(), and GotoEvent().

TObjArray* TVSDReader::fEvDirKeys

Definition at line 68 of file alice_vsd.C.

Referenced by GotoEvent(), TVSDReader(), and ~TVSDReader().

TEveVSD* TVSDReader::fVSD

Definition at line 70 of file alice_vsd.C.

Referenced by AttachEvent(), DropEvent(), GotoEvent(), LoadClusters(), LoadEsdTracks(), TVSDReader(), and ~TVSDReader().

Int_t TVSDReader::fMaxEv

Definition at line 72 of file alice_vsd.C.

Referenced by GotoEvent(), and TVSDReader().

Int_t TVSDReader::fCurEv

Definition at line 72 of file alice_vsd.C.

Referenced by GotoEvent(), NextEvent(), and PrevEvent().

TEveTrackList* TVSDReader::fTrackList

Definition at line 78 of file alice_vsd.C.

Referenced by LoadEsdTracks().

TEvePointSet* TVSDReader::fITSClusters

Definition at line 79 of file alice_vsd.C.

Referenced by GotoEvent().

TEvePointSet* TVSDReader::fTPCClusters

Definition at line 80 of file alice_vsd.C.

Referenced by GotoEvent().

TEvePointSet* TVSDReader::fTRDClusters

Definition at line 81 of file alice_vsd.C.

Referenced by GotoEvent().

TEvePointSet* TVSDReader::fTOFClusters

Definition at line 82 of file alice_vsd.C.

Referenced by GotoEvent().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:49:36 2011 for ROOT_528-00b_version by  doxygen 1.5.1