1 |
querten |
1.3 |
./frogRun -r [Run] -d [Dataset] -D [Dataset]
|
2 |
querten |
1.1 |
Launch Frog visualisation tool on given dataset and run
|
3 |
querten |
1.3 |
v 1.02
|
4 |
querten |
1.1 |
|
5 |
querten |
1.3 |
If no -d or -D given use default run and dataset:
|
6 |
querten |
1.2 |
Dataset: /Cosmics/Commissioning08-PromptReco-v2/RECO
|
7 |
querten |
1.3 |
If no -r given, use the last run with given dataset
|
8 |
querten |
1.1 |
|
9 |
|
|
Script retrieve the list of root files of the dataset from
|
10 |
|
|
dbs server, and launch the CMSSW to produce .vis(gz) file.
|
11 |
|
|
The produced .vis file is analized by Frog visualisation tool.
|
12 |
|
|
Both CMSSW and Frog are launched in separete terminals.
|
13 |
|
|
|
14 |
querten |
1.3 |
The script use apython script get_files.py to retrieve file. The usage is:
|
15 |
|
|
get_files.py -r <Run> -d/-D <dataset> -f <output filename> -cff/-py/-txt
|
16 |
|
|
If no run given, will search for the last run with given dataset
|
17 |
|
|
If no dataset given, will search for default one :
|
18 |
|
|
/Cosmics/Commissioning08-PromptReco-v2/RECO
|
19 |
|
|
If dataset given with option -D, will search for all runs for given dataset
|
20 |
|
|
-cff/-py/-txt options presize in wich format the output file will be given
|
21 |
|
|
If no output filename given, wil use default one:
|
22 |
|
|
<dataset>_Run_<run>_cff.py
|
23 |
|
|
|
24 |
querten |
1.1 |
The production of .vis file can take some time, so don't worry if
|
25 |
|
|
Frog screen remain empty, and you give message that
|
26 |
|
|
file <name> can not be opened.
|
27 |
|
|
|
28 |
|
|
All produced files are saved in Run_<Run>/<Dataset> directory.
|
29 |
|
|
This files will be created:
|
30 |
|
|
<Dataset>_Run_<Run>_cff.py -- contain the list of root files for given Run and Dataset
|
31 |
|
|
<Dataset>_Run_<Run>_cfg.py -- configuration file for CMSSW
|
32 |
querten |
1.2 |
<Dataset>_Run_<Run>.vis(.gz) -- the vis file for Frog
|
33 |
querten |
1.1 |
CMS.geom(.gz) -- geometry file for Frog
|
34 |
|
|
frog_out.log, cmssw_out.log -- the standart and error output from CMSSW and Frog
|
35 |
|
|
|
36 |
|
|
The default configuration files for CMSSW and Frog are in cfg directory.
|
37 |
|
|
DO NOT modifie the lines
|
38 |
|
|
process.load("Visualisation.Frog.files_list_cfi")
|
39 |
|
|
process.frog.OutputFile = 'output.vis'
|
40 |
|
|
|
41 |
querten |
1.2 |
If the files .vis.gz already exist in Run_<Run>/<Dataset>, script will run frog on them and bypass cmssw.
|
42 |
|
|
|
43 |
|
|
The .vis files will be deleted before running cmssw, so be care to backut them if you need them, or alternativly activate option option frog.CompressFiles(True)
|
44 |
|
|
|
45 |
|
|
|
46 |
querten |
1.1 |
Sometimes script get stuck after line
|
47 |
|
|
cfg file to run: Frog_Analyzer_CosmicsFrowRaw_cfg.py
|
48 |
|
|
The reason is that dbs server is not responding, just try a few minuts later.
|
49 |
|
|
|
50 |
|
|
You must close Frog. This will be fixed soon)
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
Please send feedback at nikita.beliy@cern.ch
|
54 |
|
|
|
55 |
querten |
1.3 |
Changings relativly 1.01
|
56 |
|
|
- added -D option wich force use all runs for given dataset
|
57 |
|
|
- complitely rewroted get_files.py, work with -D option, alsa added a possibility to choose the format of output list of files
|
58 |
|
|
- fixed bug wich includded the parents files in filelist
|
59 |
|
|
- added a log filter, wich suppress repeated messages from terminals and log files
|
60 |
|
|
- kill a cmsRun processus if there are no new record in log file for 1 hour
|
61 |
|
|
|
62 |
|
|
Changings relativly 1.00
|
63 |
|
|
- compile frog if needed
|
64 |
|
|
- work with frog_1_106
|
65 |
|
|
- if no run specified, retrieve the last run for given dataset
|
66 |
|
|
- screenschots are saved directly in working directory
|
67 |
querten |
1.1 |
|
68 |
querten |
1.2 |
Changing relativly 0.9
|
69 |
|
|
- use local frog cofiguration file
|
70 |
|
|
- fixed bug occured if the dbs server is down
|
71 |
|
|
- retrieve screenshots
|
72 |
|
|
- clean temporery files
|
73 |
|
|
|
74 |
|
|
Chaning relativly 0.85
|
75 |
|
|
- can work with process.frog.NEventsInVisFile = 10000 option
|
76 |
|
|
- added script to control vis files output, sometimes will put the messages in to terminal
|
77 |
|
|
- if .vis.gz already exist run frog on them
|
78 |
|
|
- delete .vis files before running cmssw
|
79 |
|
|
|
80 |
|
|
Changing relativly 0.8:
|
81 |
|
|
- fixed the bug provoked by a minor chaingings in dbs
|
82 |
|
|
- now the the directory Run_<run>/<dataset> is no more created if dataset isn't found in dbs
|