src
PhysicsTools
NanoAODTools
crab
crab_script.py
Go to the documentation of this file.
1
#!/usr/bin/env python3
2
import
os
3
from
PhysicsTools.NanoAODTools.postprocessing.framework.postprocessor
import
*
4
5
# this takes care of converting the input files from CRAB
6
from
PhysicsTools.NanoAODTools.postprocessing.utils.crabhelper
import
inputFiles, runsAndLumis
7
8
from
PhysicsTools.NanoAODTools.postprocessing.examples.exampleModule
import
*
9
p = PostProcessor(
"."
,
10
inputFiles
(),
11
"Jet_pt>200"
,
12
modules=[
exampleModuleConstr
()],
13
provenance=
True
,
14
fwkJobReport=
True
,
15
jsonInput=
runsAndLumis
())
16
p.run()
17
18
print
(
"DONE"
)
exampleModule
edmLumisInFiles.runsAndLumis
runsAndLumis
Definition:
edmLumisInFiles.py:39
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition:
Utilities.cc:47
postprocessor
exampleModule.exampleModuleConstr
exampleModuleConstr
Definition:
exampleModule.py:54
crabTemplate.inputFiles
inputFiles
Definition:
crabTemplate.py:20
Generated for CMSSW Reference Manual by
1.8.14