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