Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
event_demo.C File Reference
#include <vector>
#include <string>
#include <iostream>
#include "TClass.h"
#include "TRandom.h"
#include "TGeoTube.h"
#include "TGeoSphere.h"
#include "TParticle.h"
#include "TApplication.h"
#include "TMatrixDSym.h"
#include "TVector.h"
#include "TMatrixDEigen.h"
#include <ROOT/REveGeoShape.hxx>
#include <ROOT/REveScene.hxx>
#include <ROOT/REveViewer.hxx>
#include <ROOT/REveElement.hxx>
#include <ROOT/REveCompound.hxx>
#include <ROOT/REveManager.hxx>
#include <ROOT/REveUtil.hxx>
#include <ROOT/REveProjectionManager.hxx>
#include <ROOT/REveProjectionBases.hxx>
#include <ROOT/REvePointSet.hxx>
#include <ROOT/REveJetCone.hxx>
#include <ROOT/REveTrans.hxx>
#include <ROOT/REveTrack.hxx>
#include <ROOT/REveTrackPropagator.hxx>
Include dependency graph for event_demo.C:

Classes

class  EventManager
 

Functions

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

Variables

REX::REveManagereveMng = nullptr
 
const Double_t kR_max = 250
 
const Double_t kR_min = 240
 
const Double_t kZ_d = 300
 
REX::REveProjectionManagermngRhoPhi = nullptr
 
REX::REveProjectionManagermngRhoZ = nullptr
 
REX::REveScenerhoZEventScene = nullptr
 
REX::REveScenerhoZGeomScene = nullptr
 
REX::REveViewerrhoZView = nullptr
 
REX::REveScenerPhiEventScene = nullptr
 
REX::REveScenerPhiGeomScene = nullptr
 
REX::REveViewerrphiView = 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 128 of file event_demo.C.

◆ addPoints()

void addPoints ( )

Definition at line 69 of file event_demo.C.

◆ addTracks()

void addTracks ( )

Definition at line 90 of file event_demo.C.

◆ createProjectionStuff()

void createProjectionStuff ( )

Definition at line 177 of file event_demo.C.

◆ event_demo()

void event_demo ( )

Definition at line 328 of file event_demo.C.

◆ getPointSet()

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

Definition at line 54 of file event_demo.C.

◆ makeEventScene()

void makeEventScene ( )

Definition at line 152 of file event_demo.C.

◆ makeGeometryScene()

void makeGeometryScene ( )

Definition at line 159 of file event_demo.C.

◆ projectScenes()

void projectScenes ( bool  geomp,
bool  eventp 
)

Definition at line 203 of file event_demo.C.

Variable Documentation

◆ eveMng

REX::REveManager* eveMng = nullptr

Definition at line 41 of file event_demo.C.

◆ kR_max

const Double_t kR_max = 250

Definition at line 50 of file event_demo.C.

◆ kR_min

const Double_t kR_min = 240

Definition at line 49 of file event_demo.C.

◆ kZ_d

const Double_t kZ_d = 300

Definition at line 51 of file event_demo.C.

◆ mngRhoPhi

REX::REveProjectionManager* mngRhoPhi = nullptr

Definition at line 42 of file event_demo.C.

◆ mngRhoZ

REX::REveProjectionManager* mngRhoZ = nullptr

Definition at line 43 of file event_demo.C.

◆ rhoZEventScene

REX::REveScene * rhoZEventScene = nullptr

Definition at line 45 of file event_demo.C.

◆ rhoZGeomScene

REX::REveScene* rhoZGeomScene = nullptr

Definition at line 45 of file event_demo.C.

◆ rhoZView

REX::REveViewer* rhoZView = nullptr

Definition at line 47 of file event_demo.C.

◆ rPhiEventScene

REX::REveScene * rPhiEventScene = nullptr

Definition at line 44 of file event_demo.C.

◆ rPhiGeomScene

REX::REveScene* rPhiGeomScene = nullptr

Definition at line 44 of file event_demo.C.

◆ rphiView

REX::REveViewer* rphiView = nullptr

Definition at line 46 of file event_demo.C.