Visualization
This document will explain how to use FROG geometry and event visualization offline software. This guide is for
FROG 1 if you want to use FROG 2 then you can do same steps you do with FROG except you use folder "soft 2" folder instead of "soft".
Assumptions:
- I assume you have installed opengl (GLUT) and curl libraries
- I assume you have checked latest version of offline software from svn
- I assume your current directory is [whatever]/offlineSWTest/CMSSW_3_1_1/src
STEP 0a. (needed for the first time and if frog changes in the repository happened)
Open another terminal (make sure 3rd assumption is checked), change directory to /offlineSWTest/CMSSW_3_1_1/src/Visualisation/Frog_Analyzer/soft and recompile FROG, close terminal
cd Visualisation/Frog_Analyzer/soft
make clean
make
exit
STEP 0b. (needed if svn updated any files)
Compile all software.
source /afs/cern.ch/cms/sw/cmsset_default.sh
scram build
STEP 1.
Prepare cmsRun config file. You can find examples here:
ls /afs/cern.ch/exp/totem/scratch/Release/examples/visualisation
example_cmsRun.py
- an example cmsRun config file (usually you have only to change root file and RP geometry file)
example.root
- an example root file with 20 events for T1 and Roman Pots
STEP 2.
Run cmsRun on cmsRun config file you have created and prepare files for frog
source /afs/cern.ch/cms/sw/cmsset_default.sh
eval `scram runtime -sh`
cmsRun ./example_cmsRun.py
mv TOTEM.geom Visualisation/Frog_Analyzer/soft/Files
mv TOTEM_Events.vis Visualisation/Frog_Analyzer/soft/Files
mv TOTEM_Det_Views_Configuration.txt Visualisation/Frog_Analyzer/soft/Config
STEP 3.
Prepare Frog config file.
ls Visualisation/Frog_Analyzer/soft
If you want to change events displayed add/remove numbers equivalent to events from EventToDisplay in config.txt file, there you can also change colors and marker size
Numbers corresponding to Events:
Number |
Event |
21712000 |
T1 HITS |
21715000 |
T1 TRACKS |
21700000 |
T1 WIRES |
21703000 |
T1 STRIPS TYPE B |
21709000 |
T1 STRIPS TYPE A |
88800000 |
RP TRACKS |
21200000 |
RP SIM HITS |
21500000 |
RP STRIPS |
21600000 |
T2 STRIPS |
77700000 |
T2 TRACKS |
77800000 |
T2 SCALED TRACKS |
STEP 4.
Go to the /offlineSWTest/CMSSW_3_1_1/src/Visualisation/Frog_Analyzer/soft and run frog.
cd Visualisation/Frog_Analyzer/soft
./frog
ADDITIONAL INFORMATIONS.
To get help and find key usage while using frog type F1.
--
TomaszPalus - 18-Aug-2010