1 |
querten |
1.1 |
./frogRun -r [Run] -d [Dataset]
|
2 |
|
|
Launch Frog visualisation tool on given dataset and run
|
3 |
|
|
|
4 |
|
|
If no -r or -d given use default run and dataset:
|
5 |
|
|
Run: 69351
|
6 |
|
|
Dataset: /Cosmics/Commissioning08-v1/RAW
|
7 |
|
|
|
8 |
|
|
Script retrieve the list of root files of the dataset from
|
9 |
|
|
dbs server, and launch the CMSSW to produce .vis(gz) file.
|
10 |
|
|
The produced .vis file is analized by Frog visualisation tool.
|
11 |
|
|
Both CMSSW and Frog are launched in separete terminals.
|
12 |
|
|
|
13 |
|
|
The production of .vis file can take some time, so don't worry if
|
14 |
|
|
Frog screen remain empty, and you give message that
|
15 |
|
|
file <name> can not be opened.
|
16 |
|
|
|
17 |
|
|
All produced files are saved in Run_<Run>/<Dataset> directory.
|
18 |
|
|
This files will be created:
|
19 |
|
|
<Dataset>_Run_<Run>_cff.py -- contain the list of root files for given Run and Dataset
|
20 |
|
|
<Dataset>_Run_<Run>_cfg.py -- configuration file for CMSSW
|
21 |
|
|
<Dataset>_Run_<Run>_cff.vis(.gz) -- the vis file for Frog
|
22 |
|
|
CMS.geom(.gz) -- geometry file for Frog
|
23 |
|
|
frog_out.log, cmssw_out.log -- the standart and error output from CMSSW and Frog
|
24 |
|
|
|
25 |
|
|
The default configuration files for CMSSW and Frog are in cfg directory.
|
26 |
|
|
DO NOT modifie the lines
|
27 |
|
|
process.load("Visualisation.Frog.files_list_cfi")
|
28 |
|
|
process.frog.OutputFile = 'output.vis'
|
29 |
|
|
process.frog.NEventsInVisFile = -1
|
30 |
|
|
process.frog.AddRunInfoInName = cms.bool(False)
|
31 |
|
|
InputVisFile = {../this_file_doesnt_exist.vis};
|
32 |
|
|
|
33 |
|
|
Sometimes script get stuck after line
|
34 |
|
|
cfg file to run: Frog_Analyzer_CosmicsFrowRaw_cfg.py
|
35 |
|
|
The reason is that dbs server is not responding, just try a few minuts later.
|
36 |
|
|
|
37 |
|
|
If option frog.CompressFiles is set to true it provoke a next bug in Frog:
|
38 |
|
|
After CMSSW job is finished, the .vis file moved to .vis.gz and Frog
|
39 |
|
|
send an infinity of error messages:
|
40 |
|
|
The file <name>.vis can not be opened !
|
41 |
|
|
You must close Frog. This will be fixed soon)
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
Please send feedback at nikita.beliy@cern.ch
|
45 |
|
|
|
46 |
|
|
PS. Things to be done:
|
47 |
|
|
- supporting AddRunInfoInName = cms.bool(False) and process.frog.NEventsInVisFile = 1000
|
48 |
|
|
frog options
|
49 |
|
|
|
50 |
|
|
- killing frog after cmssw closes, and rerun frog on zipped output
|
51 |
|
|
|
52 |
|
|
- clean up temporery files from /Visualisation/Frog/pyton
|
53 |
|
|
|
54 |
|
|
- not remplacing config.txt file (once frog will accept a name o config file as parameter)
|
55 |
|
|
|
56 |
|
|
- placing screenshots in correct place
|