Event Display

From LHEP Wiki
Revision as of 14:07, 27 October 2008 by Lhep (talk | contribs) (→‎Event Display (eda.C))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Demo

File:Viewer demo.gif

Event Display (eda.C)

location

on lheppc56, /terabig/scan/macros/eda.C

execution

root eda.C   (on lheppc56, at dset_TS folder or equiv.)

input files

linked_tracks.root
lnk.def
(sbt.txt) <- scanback tracks
(rootlogon.C)

software enviroment

OS

Windows
Linux
maybe Mac (never tried)

ROOT

ROOT 5.20, 5.21 or later. 5.18 doesn't work. 

Fedra

? at least Fedra 851 was OK. maybe no problem with older one.

note for X enviroment

Xming 6.9.0.31 (for windows) doesn't support openGL. it will crush.

usage

rotation by mouse

drag the mouse left button and move.
tips : if you use remotely, it will take some time for viewer to response. be patient.

parallel translation

drag the middle button of the mouse and move.
or arrow key of keyboard.

zoom

mouse wheel up and down.
or drag the right button left and right.
or + - key.
or j k key.

select segments or tracks

click the segment by mouse left button.
to select more than 1 segments, Ctrl + left click.
the detail of the selected segments or tracks is shown on the bottom of the window and also on the shell window.

Cuts

- nseg cut            : set minimum nseg to display.
- penetration cut     : set plate number, the tracks starting from upstream of the plate will not be shown.
- Neighor search      : search neighors of the selected segments or tracks with certain cut bellow. 
                        tollerance: theta, minimum distance.
- Angular cut         : cut with the give angle with the angular tollerance above.
- Ignore not selected : ignore not selected tracks. select segments or tracks.
- Remove selected     : remove selected tracks. the selected tracks (not segments) will removed.
                        please select tracks with Selection method as "select track".

Selection

- select segment      : select segments
- select tracks       : select tracks, the detail is shown for the track which is written in linked_tracks.root.
- Extention           : show extention lines. if segments are selected, the lines are drawn for the segments.
                        if tracks are selected, the lines are draw for the tracks.

Analysis

- Minimum distance    : calcurate the minimum distance for the selected segments.
                        so far, if more than 2 segments are selected, show the result for the first 2 segments.

Display

- Color               : show the tracks with color by plate number or the pulse height (eW).
- Camera X, Y, Z, Beam: select projection. beam means the projection seen from the beam. (3.3degree tilted for Y)
- Pick center         : pick rotation center. if you want to change rotation center. 
                        push this button and select a segement. 
                        then after, the rotation center will be the segment.
- TS center           : set the rotation center as the center of Total Scan volume.
- Animation           : automatic rotation start and end.
- Z scale             : by checking this, the z direction is compressed by factor 0.3. it is better to see.
- Scanback            : show scanback tracks if there is sbt.txt
- Axes                : show axes. note that if you put the Z scale option, the Z axes is not correct.
- Write current tracks: write current trancks shown in the display. the output file is "selected_tracks.root".
                        this is almose similar with linked_tracks.root but some information is missing.
                        use this file only for this display.
                        you can show it by execute .x eda.C("selected_tracks.root").

Save a picture

Click "File" on menu bar. File -> Save -> viewer.gif.

Color

File:Color table.png