1 |
nsmirnov |
1.1 |
[CRAB]
|
2 |
|
|
#
|
3 |
|
|
# This section contains the default values for general parameters.
|
4 |
|
|
# They can be set also as a command-line option, i.e.
|
5 |
|
|
#
|
6 |
|
|
# key1 = value1
|
7 |
|
|
# key2 = value2
|
8 |
|
|
#
|
9 |
|
|
# in this section corresponds to
|
10 |
|
|
#
|
11 |
|
|
# crab.py -key1=value1 -key2=value2
|
12 |
|
|
#
|
13 |
|
|
# in the command line.
|
14 |
|
|
#
|
15 |
gutsche |
1.33 |
jobtype = cmssw
|
16 |
|
|
#jobtype = orca
|
17 |
fanzago |
1.23 |
#jobtype = famos
|
18 |
fanzago |
1.30 |
scheduler = edg
|
19 |
nsmirnov |
1.1 |
|
20 |
gutsche |
1.33 |
[CMSSW]
|
21 |
|
|
|
22 |
|
|
###/primarydataset/dattier/processeddataset
|
23 |
|
|
datasetpath=/PreProdR3Minbias/SIM/GEN-SIM
|
24 |
|
|
|
25 |
|
|
###
|
26 |
|
|
pset=readPSetTrivial.cfg
|
27 |
|
|
|
28 |
|
|
###
|
29 |
|
|
total_number_of_events=70000
|
30 |
|
|
|
31 |
|
|
###
|
32 |
|
|
files_per_jobs = 1
|
33 |
|
|
|
34 |
|
|
###
|
35 |
|
|
event_per_job = 10
|
36 |
|
|
###
|
37 |
|
|
output_file = myroot.root,FrameworkJobReport.xml
|
38 |
fanzago |
1.14 |
|
39 |
fanzago |
1.23 |
[ORCA]
|
40 |
fanzago |
1.14 |
###############################
|
41 |
|
|
####### DATA TO ANALYZE #######
|
42 |
|
|
###############################
|
43 |
slacapra |
1.2 |
|
44 |
nsmirnov |
1.1 |
## CERN
|
45 |
fanzago |
1.26 |
#dataset = bt03_qcd50-80_2tauj
|
46 |
|
|
#owner = bt_2x1033PU761_TkMu_g133_CMS
|
47 |
nsmirnov |
1.1 |
|
48 |
|
|
## CNAF
|
49 |
slacapra |
1.32 |
dataset = bt03_ttH120_6j1l
|
50 |
|
|
owner = bt_DST871_2x1033PU_g133_CMS
|
51 |
nsmirnov |
1.1 |
|
52 |
|
|
## PIC
|
53 |
|
|
#dataset = hg03b_hww_2l_140
|
54 |
|
|
#owner = hg_DST871_2x1033PU_g133_CMS
|
55 |
|
|
|
56 |
|
|
## FNAL
|
57 |
slacapra |
1.9 |
# dataset = eg03_tt_2e2mu
|
58 |
|
|
# owner = eg_DST871_2x1033PU_g133_CMS
|
59 |
nsmirnov |
1.1 |
|
60 |
|
|
## LNL
|
61 |
fanzago |
1.20 |
#dataset = mu03_W1mu
|
62 |
|
|
#owner = mu_DST861_2_3_2x1033PU_g132_CMS
|
63 |
nsmirnov |
1.1 |
|
64 |
fanzago |
1.26 |
#dataset = mu03_W1mu
|
65 |
|
|
#owner = mu_DST861_2_3_2x1033PU_g132_CMS
|
66 |
|
|
|
67 |
nsmirnov |
1.1 |
## BA
|
68 |
slacapra |
1.32 |
#dataset = bt03_tt_pureleptonic_etau
|
69 |
|
|
#owner = bt_DST871_2x1033PU_g133_CMS
|
70 |
nsmirnov |
1.1 |
|
71 |
fanzago |
1.26 |
#dataset = mu04_DY2mu_Mll1500
|
72 |
|
|
#owner = mu_DST871_2x1033PU_g133_OSC
|
73 |
nsmirnov |
1.1 |
|
74 |
|
|
### Data Tier to be accessed.
|
75 |
|
|
### Possible candidates are: DST, Digi, Hit (Comma separated list, mind the case!)
|
76 |
fanzago |
1.11 |
#data_tier = DST,Digi,Hit
|
77 |
fanzago |
1.26 |
data_tier = DST
|
78 |
nsmirnov |
1.1 |
|
79 |
slacapra |
1.17 |
### Order of the catalogs on .orcarc : do not change unless you know what you are doing!
|
80 |
|
|
#order_catalogs =
|
81 |
fanzago |
1.14 |
|
82 |
|
|
###############################
|
83 |
|
|
####### ORCA EXECUTABLE #######
|
84 |
|
|
###############################
|
85 |
slacapra |
1.18 |
|
86 |
fanzago |
1.14 |
## User must provide the executable into his personal scram area
|
87 |
|
|
executable = ExDSTStatistics
|
88 |
|
|
|
89 |
|
|
## or the script that calls the executable...
|
90 |
|
|
#script_exe = /home/fanzago/CRAB/UserTools/src/orca_script.sh
|
91 |
slacapra |
1.18 |
|
92 |
fanzago |
1.14 |
## Output files produced by executable: comma separated list, can be empty but mut be present!
|
93 |
fanzago |
1.28 |
output_file = dststatistics.aida
|
94 |
slacapra |
1.18 |
|
95 |
fanzago |
1.14 |
|
96 |
|
|
###############################
|
97 |
|
|
########## ORCA CARD ##########
|
98 |
|
|
###############################
|
99 |
slacapra |
1.18 |
|
100 |
slacapra |
1.17 |
## orcarc card provided by user (if not in current directory, the full path
|
101 |
fanzago |
1.14 |
## must to be provided) NB the file must exist (could be empty)
|
102 |
fanzago |
1.23 |
orcarc_file = orca_orcarc.main
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
[FAMOS]
|
106 |
|
|
|
107 |
|
|
###############################
|
108 |
|
|
###### FAMOS INPUT DATA #######
|
109 |
|
|
###############################
|
110 |
|
|
|
111 |
fanzago |
1.24 |
### LFN of the input file registered into the LFC catalog
|
112 |
fanzago |
1.23 |
input_lfn = georgia/su05_pyt_lm6.ntpl
|
113 |
|
|
|
114 |
fanzago |
1.29 |
### number of events per ntuple
|
115 |
|
|
events_per_ntuple = 250
|
116 |
|
|
|
117 |
|
|
### LFN for the input pile-up ntuples (already registered to LFC)
|
118 |
|
|
input_pu_lfn = gia/mu05b_MBforPU_20200000.ntpl
|
119 |
|
|
|
120 |
|
|
### number of pile-up ntuples accessed per job
|
121 |
|
|
number_pu_ntuples = 2
|
122 |
fanzago |
1.23 |
###############################
|
123 |
|
|
###### FAMOS EXECUTABLE #######
|
124 |
|
|
###############################
|
125 |
|
|
|
126 |
|
|
## User must provide the executable into his personal scram area
|
127 |
|
|
executable = ExRootAnalysisFamos
|
128 |
|
|
|
129 |
|
|
## or the script that calls the executable...
|
130 |
|
|
#script_exe = /home/fanzago/CRAB/UserTools/src/orca_script.sh
|
131 |
|
|
|
132 |
|
|
## Output files produced by executable: comma separated list, can be empty but mut be present!
|
133 |
|
|
output_file = test.root
|
134 |
|
|
|
135 |
|
|
|
136 |
|
|
###############################
|
137 |
|
|
########## FAMOS CARD ##########
|
138 |
|
|
###############################
|
139 |
|
|
|
140 |
|
|
## orcarc card provided by user (if not in current directory, the full path
|
141 |
|
|
## must to be provided) NB the file must exist (could be empty)
|
142 |
|
|
orcarc_file = famos_orcarc.main
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
[USER]
|
146 |
|
|
################################
|
147 |
|
|
#### additional input file #####
|
148 |
|
|
################################
|
149 |
|
|
|
150 |
fanzago |
1.25 |
## files to be put in InputSandBox, with full path: comma separated list
|
151 |
|
|
#additional_input_files = /home_local/fanzago/fede.txt, /home_local/fanzago/fede.prova
|
152 |
fanzago |
1.23 |
|
153 |
|
|
|
154 |
|
|
###############################
|
155 |
|
|
### JOB EVENTS/JOB SPLITTING ##
|
156 |
|
|
###############################
|
157 |
slacapra |
1.18 |
|
158 |
fanzago |
1.14 |
## First event to analyze: default is 0
|
159 |
slacapra |
1.18 |
#first_event = 0
|
160 |
|
|
|
161 |
fanzago |
1.14 |
## Total number of events to analyze: -1==all
|
162 |
|
|
total_number_of_events = 100
|
163 |
slacapra |
1.18 |
|
164 |
fanzago |
1.14 |
## Number of events for each job
|
165 |
|
|
job_number_of_events = 10
|
166 |
slacapra |
1.18 |
|
167 |
slacapra |
1.5 |
### Total number of jobs to be created: incompatible with previous "job_number_of_events"
|
168 |
slacapra |
1.18 |
#total_number_of_jobs = 100
|
169 |
slacapra |
1.5 |
|
170 |
fanzago |
1.14 |
#################################
|
171 |
|
|
######### CRAB DIR ############
|
172 |
|
|
#################################
|
173 |
slacapra |
1.17 |
|
174 |
fanzago |
1.20 |
## Name of UI directory where CRAB will create job to submit (with full path).
|
175 |
fanzago |
1.14 |
## If commented, the default directory will be "crab_0_data_time"
|
176 |
fanzago |
1.20 |
#ui_working_dir = /full_path/mu03_DY2mu
|
177 |
|
|
#ui_working_dir : /full_path/%(dataset)s
|
178 |
nsmirnov |
1.1 |
|
179 |
fanzago |
1.14 |
#################################
|
180 |
|
|
#### JOB OUTPUT MANAGEMENT #####
|
181 |
|
|
#################################
|
182 |
|
|
|
183 |
fanzago |
1.23 |
### RETRIEVE JOB OUTPUT INTO UI ###
|
184 |
|
|
## to have back the job executable output into UI (return_data= 1)
|
185 |
fanzago |
1.14 |
return_data = 1
|
186 |
|
|
|
187 |
|
|
### If return_data = 1 ###
|
188 |
fanzago |
1.23 |
## UI directory where to store the CMS executable output
|
189 |
nsmirnov |
1.1 |
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
190 |
fanzago |
1.20 |
#outputdir=/home/fanzago/CRAB/Crab/python/out_orca
|
191 |
nsmirnov |
1.1 |
|
192 |
fanzago |
1.14 |
### If return_data = 1 ###
|
193 |
|
|
## UI directory where to store the stderr, stdout and .BrokerInfo of submitted jobs
|
194 |
|
|
## FULL path is mandatory. If none <ui_working_dir>/res will be used.
|
195 |
|
|
#logdir=/home/fanzago/CRAB/UserTools/src/grid_job_log
|
196 |
slacapra |
1.18 |
|
197 |
fanzago |
1.23 |
### COPY JOB OUTPUT INTO A SE ###
|
198 |
|
|
## if you want to copy the CMS executable output into a SE (i:e castor)
|
199 |
fanzago |
1.14 |
### WARNING: if the copy fails and return_data = 0, the output is lost
|
200 |
|
|
#copy_data = 1
|
201 |
|
|
|
202 |
|
|
### if copy_data = 1 ###
|
203 |
fanzago |
1.23 |
## name of the SE where to copy the CMS executable output.
|
204 |
fanzago |
1.14 |
#storage_element = castorgrid.cern.ch
|
205 |
|
|
## and the SE directory (or the mountpoint) that has to be writable from all
|
206 |
fanzago |
1.20 |
#storage_path = /castor/cern.ch/user/u/user
|
207 |
slacapra |
1.18 |
|
208 |
fanzago |
1.23 |
### REGISTER JOB OUTPUT IN THE LFC CATALOG ###
|
209 |
|
|
## if you want also to register the CMS executable output into the LFC catalog
|
210 |
fanzago |
1.14 |
## WARNING: to use with copy_data = 1
|
211 |
|
|
#register_data = 1
|
212 |
slacapra |
1.18 |
|
213 |
fanzago |
1.14 |
### if register_data = 1
|
214 |
fanzago |
1.23 |
## If you register the CMS output file into the LFC catalog, this is the first part of LFN
|
215 |
fanzago |
1.14 |
### example LFN="lfn_dir"/"output_file"
|
216 |
fanzago |
1.20 |
#lfn_dir = MyDirLFN
|
217 |
fanzago |
1.14 |
|
218 |
|
|
#################################
|
219 |
|
|
####### JOB MONITORING ### #####
|
220 |
|
|
#################################
|
221 |
nsmirnov |
1.1 |
|
222 |
slacapra |
1.10 |
|
223 |
slacapra |
1.17 |
### Use central BOSS DB instead of one for each task: the DB must be already been setup!
|
224 |
slacapra |
1.19 |
use_central_bossDB = 0
|
225 |
slacapra |
1.15 |
|
226 |
slacapra |
1.17 |
### Use Boss RealTime monitoring
|
227 |
fanzago |
1.20 |
use_boss_rt = 1
|
228 |
slacapra |
1.17 |
|
229 |
fanzago |
1.23 |
|
230 |
nsmirnov |
1.1 |
[EDG]
|
231 |
fanzago |
1.23 |
################################
|
232 |
|
|
###### EDG specific stuff ######
|
233 |
|
|
################################
|
234 |
slacapra |
1.17 |
|
235 |
nsmirnov |
1.1 |
# LCG middleware version installed on testbed
|
236 |
|
|
lcg_version = 2
|
237 |
|
|
|
238 |
fanzago |
1.23 |
## to change the CMS-broker RB (download these files from crab web page)
|
239 |
fanzago |
1.14 |
#config_vo = /home/fanzago/edg_wl_ui.conf.CMS_CERN
|
240 |
|
|
#config = /home/fanzago/edg_wl_ui_cmd_var.conf.CMS_CERN
|
241 |
slacapra |
1.17 |
|
242 |
fanzago |
1.31 |
## to change the CMS-broker RB. The ones available for CMS are "CERN" and "CNAF": the configuration
|
243 |
|
|
## files needed to change the broker will be automatically downloaded from CRAB web page. If the
|
244 |
|
|
## files are already present on the working directory they will be used.
|
245 |
|
|
rb = CERN
|
246 |
|
|
|
247 |
|
|
## CMS myproxy server, to proxy delegation
|
248 |
|
|
proxy_server = myproxy.cern.ch
|
249 |
|
|
|
250 |
|
|
|
251 |
fanzago |
1.14 |
## to add other requirements to jdl file, as example the Operating System
|
252 |
|
|
#requirements = (other.GlueHostOperatingSystemName == "RedHat")
|
253 |
slacapra |
1.17 |
|
254 |
fanzago |
1.14 |
## cpu time and wall_clock_time(=real time) in minutes. Written into the jdl file
|
255 |
|
|
#max_cpu_time = 60
|
256 |
fanzago |
1.26 |
#max_wall_clock_time = 60
|
257 |
slacapra |
1.17 |
|
258 |
slacapra |
1.9 |
## CE Black List: all the CE whose name contains the following strings (comma
|
259 |
|
|
## separated list) will not be considered for submission.
|
260 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
261 |
fanzago |
1.30 |
#ce_black_list = cern,lnl
|
262 |
slacapra |
1.17 |
|
263 |
|
|
## CE White List: only the CE whose name contains the following strings (comma
|
264 |
|
|
## separated list) will be considered for submission.
|
265 |
|
|
## Use the dns domain (eg fnal, cern, ifae, fzk, cnaf, lnl,....)
|
266 |
fanzago |
1.30 |
#ce_white_list = cern,ba,lnl
|
267 |
slacapra |
1.17 |
|
268 |
fanzago |
1.14 |
## fields written into jdl
|
269 |
|
|
virtual_organization = cms
|
270 |
slacapra |
1.17 |
|
271 |
|
|
## number or retry count
|
272 |
fanzago |
1.14 |
retry_count = 0
|
273 |
fanzago |
1.21 |
|
274 |
fanzago |
1.23 |
## LFC catalog parameters
|
275 |
fanzago |
1.22 |
lcg_catalog_type = lfc
|
276 |
fanzago |
1.21 |
lfc_host = lfc-cms-test.cern.ch
|
277 |
|
|
lfc_home = /grid/cms
|