@@ -6,15 +6,15 @@ as a typed Python object.
6
6
7
7
8
8
Examples For Each Query Type
9
- ------------------
9
+ -----------------------------
10
10
Examples for each query type (`Uproot-Raw `, `Func_ADL Uproot `, `Python Function `)
11
11
and three different representations (`Python Dictionary `, `Python Typed Object `, and `YAML `).
12
12
Note that all examples extract the same branch of the same tree (``ROOT TTree ``) from
13
13
the same :ref: `dataset <label_dataset >`.
14
14
15
15
16
16
Uproot-Raw Query Example
17
- ~~~~~~~~~~~~~~~~~~~~
17
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
18
18
This example uses the raw uproot query type to extract the ``AnalysisElectronsAuxDyn.pt `` branch
19
19
from the ``CollectionTree `` tree in ATLAS PHYSLITE OpenData Dataset.
20
20
@@ -37,7 +37,7 @@ from the ``CollectionTree`` tree in ATLAS PHYSLITE OpenData Dataset.
37
37
38
38
39
39
Func_ADL Uproot Query Example
40
- ~~~~~~~~~~~~~~~~~~~~
40
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
41
41
This example uses an Func_ADL to extract the ``AnalysisElectronsAuxDyn.pt `` branch
42
42
from the ``CollectionTree `` tree in ATLAS PHYSLITE OpenData Dataset.
43
43
@@ -60,7 +60,7 @@ from the ``CollectionTree`` tree in ATLAS PHYSLITE OpenData Dataset.
60
60
61
61
62
62
Python Function Query Example
63
- ~~~~~~~~~~~~~~~~~~~~
63
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
64
This example uses an uproot python function to extract the ``AnalysisElectronsAuxDyn.pt `` branch
65
65
from the ``CollectionTree `` tree in ATLAS PHYSLITE OpenData Dataset.
66
66
Note that you can specify a python function even in a yaml file.
@@ -84,14 +84,14 @@ Note that you can specify a python function even in a yaml file.
84
84
85
85
86
86
The ServiceX Deliver Function
87
- -----------------------------
87
+ ------------------------------
88
88
The `deliver ` function is used to submit a request to ServiceX. It takes a request in one of the
89
89
three formats and returns a python dictionary with the name of the sample as a key
90
90
and a list of URLs or local file paths as a value.
91
91
92
92
93
93
How to Use YAML Specification
94
- -----------------------------
94
+ ------------------------------
95
95
YAML specification can be consumed by passing it to the ServiceX `deliver ` function.
96
96
You can use the following code:
97
97
@@ -104,8 +104,9 @@ You can use the following code:
104
104
)
105
105
106
106
.. _label_dataset :
107
- The Dataset in Examples
108
- -----------------------
109
- The dataset in the examples is publically accessible ATLAS Open Data
110
- (`ATLAS DAOD PHYSLITE format Run 2 2016 proton-proton collision data
111
- <https://opendata.cern.ch/record/80001> `_).
107
+
108
+ The Dataset in Examples
109
+ -----------------------
110
+ The dataset in the examples is publically accessible ATLAS Open Data
111
+ (`ATLAS DAOD PHYSLITE format Run 2 2016 proton-proton collision data
112
+ <https://opendata.cern.ch/record/80001> `_).
0 commit comments