Logo ROOT   6.18/05
Reference Guide
Functions | Variables
event_demo.C File Reference
#include <vector>
#include <string>
#include <iostream>
#include "TClass.h"
#include "TRandom.h"
#include "TGeoTube.h"
#include "TParticle.h"
#include "TApplication.h"
#include <ROOT/REveGeoShape.hxx>
#include <ROOT/REveScene.hxx>
#include <ROOT/REveViewer.hxx>
#include <ROOT/REveElement.hxx>
#include <ROOT/REveManager.hxx>
#include <ROOT/REveProjectionManager.hxx>
#include <ROOT/REveProjectionBases.hxx>
#include <ROOT/REvePointSet.hxx>
#include <ROOT/REveJetCone.hxx>
#include <ROOT/REveTrack.hxx>
#include <ROOT/REveTrackPropagator.hxx>
Include dependency graph for event_demo.C:

Functions

void addJets ()
 
void addPoints ()
 
void addTracks ()
 
void createProjectionStuff ()
 
void event_demo ()
 
REX::REvePointSet * getPointSet (int npoints=2, float s=2, int color=28)
 
void makeEventScene ()
 
void makeGeometryScene ()
 
void projectScenes (bool geomp, bool eventp)
 

Variables

REX::REveManager * eveMng = nullptr
 
const Double_t kR_max = 250
 
const Double_t kR_min = 240
 
const Double_t kZ_d = 300
 
REX::REveProjectionManager * mngRhoPhi = nullptr
 
REX::REveProjectionManager * mngRhoZ = nullptr
 
const Int_t N_Jets = 20
 
const Int_t N_Tracks = 40
 
REX::REveScene * rhoZEventScene = nullptr
 
REX::REveScene * rhoZGeomScene = nullptr
 
REX::REveViewer * rhoZView = nullptr
 
REX::REveScene * rPhiEventScene = nullptr
 
REX::REveScene * rPhiGeomScene = nullptr
 
REX::REveViewer * rphiView = nullptr
 

Detailed Description

This example display geometry, tracks and hits in web browser.

Definition in file event_demo.C.

Function Documentation

◆ addJets()

void addJets ( )

Definition at line 117 of file event_demo.C.

◆ addPoints()

void addPoints ( )

Definition at line 65 of file event_demo.C.

◆ addTracks()

void addTracks ( )

Definition at line 82 of file event_demo.C.

◆ createProjectionStuff()

void createProjectionStuff ( )

Definition at line 158 of file event_demo.C.

◆ event_demo()

void event_demo ( )

Definition at line 247 of file event_demo.C.

◆ getPointSet()

REX::REvePointSet * getPointSet ( int  npoints = 2,
float  s = 2,
int  color = 28 
)

Definition at line 50 of file event_demo.C.

◆ makeEventScene()

void makeEventScene ( )

Definition at line 138 of file event_demo.C.

◆ makeGeometryScene()

void makeGeometryScene ( )

Definition at line 145 of file event_demo.C.

◆ projectScenes()

void projectScenes ( bool  geomp,
bool  eventp 
)

Definition at line 182 of file event_demo.C.

Variable Documentation

◆ eveMng

REX::REveManager* eveMng = nullptr

Definition at line 34 of file event_demo.C.

◆ kR_max

const Double_t kR_max = 250

Definition at line 43 of file event_demo.C.

◆ kR_min

const Double_t kR_min = 240

Definition at line 42 of file event_demo.C.

◆ kZ_d

const Double_t kZ_d = 300

Definition at line 44 of file event_demo.C.

◆ mngRhoPhi

REX::REveProjectionManager* mngRhoPhi = nullptr

Definition at line 35 of file event_demo.C.

◆ mngRhoZ

REX::REveProjectionManager* mngRhoZ = nullptr

Definition at line 36 of file event_demo.C.

◆ N_Jets

const Int_t N_Jets = 20

Definition at line 47 of file event_demo.C.

◆ N_Tracks

const Int_t N_Tracks = 40

Definition at line 46 of file event_demo.C.

◆ rhoZEventScene

REX::REveScene * rhoZEventScene = nullptr

Definition at line 38 of file event_demo.C.

◆ rhoZGeomScene

REX::REveScene* rhoZGeomScene = nullptr

Definition at line 38 of file event_demo.C.

◆ rhoZView

REX::REveViewer* rhoZView = nullptr

Definition at line 40 of file event_demo.C.

◆ rPhiEventScene

REX::REveScene * rPhiEventScene = nullptr

Definition at line 37 of file event_demo.C.

◆ rPhiGeomScene

REX::REveScene* rPhiGeomScene = nullptr

Definition at line 37 of file event_demo.C.

◆ rphiView

REX::REveViewer* rphiView = nullptr

Definition at line 39 of file event_demo.C.