Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Properties
_
a
c
d
e
f
l
m
o
p
s
t
u
v
+
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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