FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairEventManager Class Reference

#include <FairEventManager.h>

Inheritance diagram for FairEventManager:

Public Member Functions

 FairEventManager ()
 
virtual ~FairEventManager ()
 
virtual void SetXMLConfig (TString xml_config)
 
virtual void Open ()
 
virtual void GotoEvent (Int_t event)
 
virtual void NextEvent ()
 
virtual void PrevEvent ()
 
virtual void Close ()
 
virtual void DisplaySettings ()
 
virtual Int_t Color (Int_t pdg)
 
void AddTask (FairTask *t)
 
virtual void Init (Int_t visopt=1, Int_t vislvl=3, Int_t maxvisnds=10000)
 
virtual Int_t GetCurrentEvent ()
 
virtual void SetRPhiPlane (Double_t a, Double_t b, Double_t c, Double_t d, TGLViewer::ECameraType camtype)
 
virtual void SetRhoZPlane (Double_t a, Double_t b, Double_t c, Double_t d, TGLViewer::ECameraType camtype)
 
void UpdateEditor ()
 
void SetTimeLimits (Double_t min, Double_t max)
 
void GetTimeLimits (Double_t &min, Double_t &max)
 
virtual void AddParticlesToPdgDataBase (Int_t pdg=0)
 
virtual void SetTransparency (Bool_t use_xml, Int_t trans)
 
virtual void SwitchBackground (Bool_t light)
 
virtual void SetPriOnly (Bool_t Pri)
 
virtual Bool_t IsPriOnly ()
 
virtual void SelectPDG (Int_t PDG)
 
virtual Int_t GetCurrentPDG ()
 
virtual void SetMaxEnergy (Float_t max)
 
virtual void SetMinEnergy (Float_t min)
 
virtual void SetEvtMaxEnergy (Float_t max)
 
virtual void SetEvtMinEnergy (Float_t min)
 
virtual void SetEvtTime (Float_t time)
 
virtual void SetEvtTimeText (Double_t time)
 
virtual void SetEvtNumberText (Int_t evtNumber)
 
void SetUseTimeOfEvent (Bool_t val)
 
void SetAnimatedTracks (Bool_t val)
 
void SetClearHandler (Bool_t val)
 
virtual Float_t GetEvtMaxEnergy ()
 
virtual Float_t GetEvtMinEnergy ()
 
virtual Float_t GetMaxEnergy ()
 
virtual Float_t GetMinEnergy ()
 
TVector3 GetWorldSize () const
 
Float_t GetEvtTime ()
 current time in ns to display in the event display. Either set value or event time taken from FairRootManager. Controlled via fUseTimeOfEvent More...
 
Bool_t GetUseTimeOfEvent () const
 
Bool_t GetDrawAnimatedTracks () const
 
Bool_t GetClearHandler () const
 
void MakeScreenshot (FairEveAnimationControl::eScreenshotType screen, TString def_path="")
 
 ClassDef (FairEventManager, 1)
 

Static Public Member Functions

static FairEventManagerInstance ()
 

Protected Member Functions

TEveViewer * GetRPhiView () const
 
TEveViewer * GetRhoZView () const
 
TEveViewer * GetMultiView () const
 
TEveViewer * GetMultiRPhiView () const
 
TEveViewer * GetMultiRhoZView () const
 
TEveScene * GetRhoZScene () const
 
TEveScene * GetRPhiScene () const
 
TEveProjectionManager * GetRhoZProjManager () const
 
TEveProjectionManager * GetRPhiProjManager () const
 
TEveProjectionAxes * GetRPhiAxes () const
 
TEveProjectionAxes * GetRhoZAxes () const
 
virtual void LoadXMLSettings ()
 
void LoadXMLDetector (TGeoNode *node, FairXMLNode *xml, Int_t depth=0)
 
Int_t StringToColor (TString color) const
 

Detailed Description

Definition at line 37 of file FairEventManager.h.

Constructor & Destructor Documentation

FairEventManager::FairEventManager ( )

Definition at line 48 of file FairEventManager.cxx.

FairEventManager::~FairEventManager ( )
virtual

Definition at line 237 of file FairEventManager.cxx.

Member Function Documentation

void FairEventManager::AddParticlesToPdgDataBase ( Int_t  pdg = 0)
virtual

Definition at line 277 of file FairEventManager.cxx.

void FairEventManager::AddTask ( FairTask t)
inline

Definition at line 51 of file FairEventManager.h.

FairEventManager::ClassDef ( FairEventManager  ,
 
)
void FairEventManager::Close ( )
virtual

Definition at line 265 of file FairEventManager.cxx.

Int_t FairEventManager::Color ( Int_t  pdg)
virtual

Definition at line 269 of file FairEventManager.cxx.

void FairEventManager::DisplaySettings ( )
virtual

Definition at line 267 of file FairEventManager.cxx.

Bool_t FairEventManager::GetClearHandler ( ) const
inline

Definition at line 123 of file FairEventManager.h.

virtual Int_t FairEventManager::GetCurrentEvent ( )
inlinevirtual

Definition at line 53 of file FairEventManager.h.

virtual Int_t FairEventManager::GetCurrentPDG ( )
inlinevirtual

Definition at line 104 of file FairEventManager.h.

Bool_t FairEventManager::GetDrawAnimatedTracks ( ) const
inline

Definition at line 122 of file FairEventManager.h.

virtual Float_t FairEventManager::GetEvtMaxEnergy ( )
inlinevirtual

Definition at line 115 of file FairEventManager.h.

virtual Float_t FairEventManager::GetEvtMinEnergy ( )
inlinevirtual

Definition at line 116 of file FairEventManager.h.

Float_t FairEventManager::GetEvtTime ( )

current time in ns to display in the event display. Either set value or event time taken from FairRootManager. Controlled via fUseTimeOfEvent

Definition at line 570 of file FairEventManager.cxx.

virtual Float_t FairEventManager::GetMaxEnergy ( )
inlinevirtual

Definition at line 117 of file FairEventManager.h.

virtual Float_t FairEventManager::GetMinEnergy ( )
inlinevirtual

Definition at line 118 of file FairEventManager.h.

TEveViewer* FairEventManager::GetMultiRhoZView ( ) const
inlineprotected

Definition at line 139 of file FairEventManager.h.

TEveViewer* FairEventManager::GetMultiRPhiView ( ) const
inlineprotected

Definition at line 138 of file FairEventManager.h.

TEveViewer* FairEventManager::GetMultiView ( ) const
inlineprotected

Definition at line 137 of file FairEventManager.h.

TEveProjectionAxes* FairEventManager::GetRhoZAxes ( ) const
inlineprotected

Definition at line 145 of file FairEventManager.h.

TEveProjectionManager* FairEventManager::GetRhoZProjManager ( ) const
inlineprotected

Definition at line 142 of file FairEventManager.h.

TEveScene* FairEventManager::GetRhoZScene ( ) const
inlineprotected

Definition at line 140 of file FairEventManager.h.

TEveViewer* FairEventManager::GetRhoZView ( ) const
inlineprotected

Definition at line 136 of file FairEventManager.h.

TEveProjectionAxes* FairEventManager::GetRPhiAxes ( ) const
inlineprotected

Definition at line 144 of file FairEventManager.h.

TEveProjectionManager* FairEventManager::GetRPhiProjManager ( ) const
inlineprotected

Definition at line 143 of file FairEventManager.h.

TEveScene* FairEventManager::GetRPhiScene ( ) const
inlineprotected

Definition at line 141 of file FairEventManager.h.

TEveViewer* FairEventManager::GetRPhiView ( ) const
inlineprotected

Definition at line 135 of file FairEventManager.h.

void FairEventManager::GetTimeLimits ( Double_t &  min,
Double_t &  max 
)
inline

Definition at line 83 of file FairEventManager.h.

Bool_t FairEventManager::GetUseTimeOfEvent ( ) const
inline

Definition at line 121 of file FairEventManager.h.

TVector3 FairEventManager::GetWorldSize ( ) const

Definition at line 314 of file FairEventManager.cxx.

void FairEventManager::GotoEvent ( Int_t  event)
virtual

Definition at line 241 of file FairEventManager.cxx.

void FairEventManager::Init ( Int_t  visopt = 1,
Int_t  vislvl = 3,
Int_t  maxvisnds = 10000 
)
virtual

Definition at line 133 of file FairEventManager.cxx.

FairEventManager * FairEventManager::Instance ( )
static

Definition at line 46 of file FairEventManager.cxx.

virtual Bool_t FairEventManager::IsPriOnly ( )
inlinevirtual

Definition at line 102 of file FairEventManager.h.

void FairEventManager::LoadXMLDetector ( TGeoNode *  node,
FairXMLNode xml,
Int_t  depth = 0 
)
protected

Definition at line 391 of file FairEventManager.cxx.

void FairEventManager::LoadXMLSettings ( )
protectedvirtual

Definition at line 367 of file FairEventManager.cxx.

void FairEventManager::MakeScreenshot ( FairEveAnimationControl::eScreenshotType  screen,
TString  def_path = "" 
)
Parameters
namename of file with screenshot
proj0 - 3D view, 1 - RPhi, 2 RhoZ, 3 - all
def_path- default path to screenshot, if empty -user will be asked

Definition at line 524 of file FairEventManager.cxx.

void FairEventManager::NextEvent ( )
virtual

Definition at line 249 of file FairEventManager.cxx.

void FairEventManager::Open ( )
virtual

Definition at line 239 of file FairEventManager.cxx.

void FairEventManager::PrevEvent ( )
virtual

Definition at line 257 of file FairEventManager.cxx.

virtual void FairEventManager::SelectPDG ( Int_t  PDG)
inlinevirtual

Definition at line 103 of file FairEventManager.h.

void FairEventManager::SetAnimatedTracks ( Bool_t  val)
inline

Definition at line 113 of file FairEventManager.h.

void FairEventManager::SetClearHandler ( Bool_t  val)
inline

Definition at line 114 of file FairEventManager.h.

virtual void FairEventManager::SetEvtMaxEnergy ( Float_t  max)
inlinevirtual

Definition at line 107 of file FairEventManager.h.

virtual void FairEventManager::SetEvtMinEnergy ( Float_t  min)
inlinevirtual

Definition at line 108 of file FairEventManager.h.

void FairEventManager::SetEvtNumberText ( Int_t  evtNumber)
virtual

Definition at line 586 of file FairEventManager.cxx.

virtual void FairEventManager::SetEvtTime ( Float_t  time)
inlinevirtual

Definition at line 109 of file FairEventManager.h.

void FairEventManager::SetEvtTimeText ( Double_t  time)
virtual

Definition at line 578 of file FairEventManager.cxx.

virtual void FairEventManager::SetMaxEnergy ( Float_t  max)
inlinevirtual

Definition at line 105 of file FairEventManager.h.

virtual void FairEventManager::SetMinEnergy ( Float_t  min)
inlinevirtual

Definition at line 106 of file FairEventManager.h.

virtual void FairEventManager::SetPriOnly ( Bool_t  Pri)
inlinevirtual

Definition at line 101 of file FairEventManager.h.

void FairEventManager::SetRhoZPlane ( Double_t  a,
Double_t  b,
Double_t  c,
Double_t  d,
TGLViewer::ECameraType  camtype 
)
virtual

set plane on RhoZ-view, first parameters describe plane equation Ax+By+Cz+D=0

Parameters
a
b
c
d
camtypecamera type

Definition at line 358 of file FairEventManager.cxx.

void FairEventManager::SetRPhiPlane ( Double_t  a,
Double_t  b,
Double_t  c,
Double_t  d,
TGLViewer::ECameraType  camtype 
)
virtual

set plane on RPhi-view, first parameters describe plane equation Ax+By+Cz+D=0

Parameters
a
b
c
d
camtypecamera type

Definition at line 349 of file FairEventManager.cxx.

void FairEventManager::SetTimeLimits ( Double_t  min,
Double_t  max 
)
inline

set time limits (used in timeslice animations)

Parameters
min
max

Definition at line 78 of file FairEventManager.h.

void FairEventManager::SetTransparency ( Bool_t  use_xml,
Int_t  trans 
)
virtual

set detector's transparency

Parameters
use_xmluse xml colors if available
transtransparency for detector (if xml not used)

Definition at line 489 of file FairEventManager.cxx.

void FairEventManager::SetUseTimeOfEvent ( Bool_t  val)
inline

Definition at line 112 of file FairEventManager.h.

virtual void FairEventManager::SetXMLConfig ( TString  xml_config)
inlinevirtual

Definition at line 43 of file FairEventManager.h.

Int_t FairEventManager::StringToColor ( TString  color) const
protected

Definition at line 432 of file FairEventManager.cxx.

void FairEventManager::SwitchBackground ( Bool_t  light)
virtual

switch background color

Parameters
lightuse white if true

Definition at line 511 of file FairEventManager.cxx.

void FairEventManager::UpdateEditor ( )

Definition at line 235 of file FairEventManager.cxx.


The documentation for this class was generated from the following files: