EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
BeastMagneticField
delphes_EIC
Doxygen_Assist
east
eic-smear
EicRoot
blob
master
base
cbmbase
cbmdata
dbase
eic
eventdisplay
examples
calorimetry
physics
tracking
config.1
config.1a
config.1b
config.2
config.3
config.4
config.77
config.88
config.999
analysis.C
digitization.C
eventDisplay.C
reconstruction.C
simulation.C
tracker.C
analysis-vtx.C
analysis.C
fairtools
field
gconfig
geane
genfit
GenfitTools
geobase
geometry
input
littrack
parbase
passive
pCDR-2018
pid
pnddata
PndTools
rich
trackbase
eicsmear-jetexample
eicsmeardetectors
EicToyModel
estarlight
Fun4All-lmon
fun4all_coresoftware
fun4all_eic_qa
fun4all_eic_tutorials
fun4all_eicdetectors
fun4all_eicmacros
fun4all_g4jleic
fun4all_GenFit
fun4all_macros
fun4all_tutorials
g4exampledetector
g4lblvtx
online_distribution
PEPSI
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
eventDisplay.C
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file eventDisplay.C
1
2
//
3
// Simulated data file browser;
4
//
5
6
void
eventDisplay
()
7
{
8
// Load basic libraries;
9
gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C"
);
10
11
// Create visualization manager;
12
EicEventManager
*fMan =
new
EicEventManager
();
13
fMan->
SetInputFile
(
"simulation.root"
);
14
15
// Define objects to be displayed;
16
fMan->
AddTask
(
new
FairMCTracks
(
"Monte-Carlo Tracks"
));
17
fMan->
AddTask
(
new
FairMCPointDraw
(
"FwdstMoCaPoint"
,kRed, kFullSquare));
18
19
// Initialize and run visualization manager;
20
fMan->
Run
();
21
22
//
23
// Once graphics window starts up, in ROOT browser follow the sequence:
24
// "Fair Event Manager" -> "Info" -> increment "Current Event";
25
//
26
}
// eventDisplay()
27
EicRoot
blob
master
examples
tracking
config.999
eventDisplay.C
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:35
using
1.8.2 with
EIC GitHub integration