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 (I assume your current directory to be /offlineSWTest/CMSSW_3_1_1/src) 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
21700000 T2 PADS
77700000 T2 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

Edit | Attach | Watch | Print version | History: r16 | r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r8 - 2011-02-23 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TOTEM All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback