Skip to content

Commit 11251bd

Browse files
committed
Add the innitial version of dorothea's documentation
1 parent f702265 commit 11251bd

File tree

1 file changed

+203
-3
lines changed

1 file changed

+203
-3
lines changed

docs/source/dorothea.rst

Lines changed: 203 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,205 @@
11
Dorothea
2-
==========
2+
========
33

4-
.. caution::
5-
This page is currently not created, we are working on it. If you would like to contribute on this documentation, reach `me <[email protected]>`_!
4+
*From ancient Greek, Δωροθέα: gift of God.*
5+
6+
The purpose of *Dorothea* is to process the **PMaps** (outcome of *Irene*) and
7+
reconstruct point-like events. Therefore, all the information included in the S2 peaks
8+
is collapsed into a single x, y, and z deposition with a given E (the area under the S2 peak).
9+
Additionally, some parameters regarding the S1 and S2 peaks are provided as a tool for further selections.
10+
Last, it is worth noting that for events where more than S1 or S2 (or both) are
11+
present in the event, a point is reconstructed for each possible combination.
12+
13+
14+
.. _Dorothea input:
15+
16+
Input
17+
-----
18+
19+
* ``/Run/events``
20+
* ``/Run/runInfo``
21+
* ``/PMAPS/S1``
22+
* ``/PMAPS/S1Pmt``
23+
* ``/PMAPS/S2``
24+
* ``/PMAPS/S2Pmt``
25+
* ``/PMAPS/S2Si``
26+
27+
.. _Dorothea output:
28+
29+
Output
30+
------
31+
32+
* ``/DST/Events``: summary of the reconstructed events and their main properties. Each row represents one combination of an S1 and a S2 identified under the same ``event`` but with its corresponding ``s1_peak`` and ``s2_peak`` identifier. The full list and description of the parameters in the table may be found later.
33+
* ``/Filters/s12_selector``: flag for whether an event passed the S1 and S2 selections
34+
35+
36+
.. _Irene config:
37+
38+
Config
39+
------
40+
41+
Besides the :ref:`Common arguments to every city`, *Dorothea* has the following arguments:
42+
43+
.. list-table::
44+
:widths: 50 40 120
45+
:header-rows: 1
46+
47+
* - **Parameter**
48+
- **Type**
49+
- **Description**
50+
51+
* - ``drift_v``
52+
- ``float``
53+
- Drift velocity of the secondary electrons towards the anode.
54+
55+
* - ``s1|s2_nmin|nmax``
56+
- ``int``
57+
- Lower/upper limits to the number of S1/S2 peaks per event.
58+
59+
* - ``s1|s2_emin|emax``
60+
- ``float``
61+
- Lower/upper limits to the energy (integral under the peak) of each S1/S2 peak (pes).
62+
63+
* - ``s1|s2_wmin|wmax``
64+
- ``float``
65+
- Lower/upper limits to the with (time over threshold) of each S1/S2 peak (ns).
66+
67+
* - ``s1|s2_hmin|hmax``
68+
- ``float``
69+
- Lower/upper limits to the height (maximum amplitude) of each S1/S2 peak (pes).
70+
71+
* - ``s1|s2_ethr``
72+
- ``float``
73+
- Threshold for each bin within each S1/S2 to be considered for the energy computation (pes).
74+
75+
* - ``s2_nsipmmin|nsipmminax``
76+
- ``int``
77+
- Lower/upper limits to the number of SiPM sensors with a recorded signal.
78+
79+
* - ``global_reco_params``
80+
- ``dict``
81+
- Set of parameters for the corona algorithm. Since the desired one is the barycenter reconstruction, the only mandatory elements in the dictionary are:
82+
83+
* ``Qthr``: charge threshold, ignore all SiPMs with less than Qthr pes.
84+
* ``lm_radius=-1``: sets the algorithm to be the barycenter.
85+
86+
87+
.. _Dorothea workflow:
88+
89+
Workflow
90+
--------
91+
92+
The workflow for *Dorothea* is straightforward. After a filter removing all the peaks and events not satisfying the limits provided. Then, it proceeds to perform the point-like reconstruction. Basically, this algorithm collapses the whole S2 information into a single point:
93+
94+
* The *x* and *y* position are determined via a charge-weighted average. This makes use of the so-called ``corona`` `algorithm <https://github.com/next-exp/IC/blob/8be75c65aa2e452eae4ce2e51494a58eab18a0d4/invisible_cities/reco/xy_algorithms.py#L61>`_, with the proper configuration to apply the barycenter computation.
95+
* The *z* coordinate is derived from the time difference between the maximum amplitude of the S1 and S2 considered, corrected by the drift velocity.
96+
* The energy is the integral under the S2 of those bins above the threshold.
97+
98+
Besides, the reconstruction yields a set of useful values regarding the peaks that are also provided in the final table:
99+
100+
.. list-table::
101+
:widths: 50 40 120
102+
:header-rows: 1
103+
104+
* - **Parameter**
105+
- **Type**
106+
- **Description**
107+
108+
* - ``event``
109+
- ``int``
110+
- Event ID. As an event can have several S1 and S2 combinations, each one representing one row, this number identifies all the reconstructed points within the same original waveform.
111+
112+
* - ``time``
113+
- ``float``
114+
- Timestamp of the event.
115+
116+
* - ``s1_peak``
117+
- ``int``
118+
- S1 ID. It identifies the S1 within an event.
119+
120+
* - ``s2_peak``
121+
- ``int``
122+
- S2 ID. It identifies the S2 within an event.
123+
124+
* - ``nS1``
125+
- ``int``
126+
- Number of S1 present in the event.
127+
* - ``nS2``
128+
- ``int``
129+
- Number of S2 present in the event.
130+
131+
* - ``S1w``
132+
- ``float``
133+
- S1 time over threshold (ns).
134+
135+
* - ``s1h``
136+
- ``float``
137+
- S1 maximum amplitude (pes).
138+
139+
* - ``S1e``
140+
- ``float``
141+
- S1 PMT- and time-summed amplitude over threshold (pes).
142+
143+
* - ``S1t``
144+
- ``float``
145+
- Waveform time at maximum S1 amplitude (ns).
146+
147+
* - ``S2w``
148+
- ``float``
149+
- S2 time over threshold (ns).
150+
151+
* - ``s2h``
152+
- ``float``
153+
- S2 maximum amplitude (pes).
154+
155+
* - ``S2e``
156+
- ``float``
157+
- S2 PMT- and time-summed amplitude over threshold (pes).
158+
159+
* - ``S2t``
160+
- ``float``
161+
- Waveform time at maximum S2 amplitude (ns).
162+
163+
* - ``S2q``
164+
- ``float``
165+
- S2 SiPM- and time-summed amplitude over threshold (pes).
166+
167+
* - ``Nsipm``
168+
- ``int``
169+
- Number of SiPMs with signal over threshold.
170+
171+
* - ``DT``
172+
- ``float``
173+
- Drift Time —i.e., time difference between the corresponding S1 and S2— (:math:`\mu s`).
174+
175+
* - ``Z``
176+
- ``float``
177+
- Reconstructed z position coordinate —i.e., the DT times the drift velocity— (mm).
178+
179+
* - ``Zrms``
180+
- ``float``
181+
- Standard deviation of the PMT signal in the z coordinate (mm).
182+
183+
* - ``X``
184+
- ``float``
185+
- Reconstructed x position coordinate using the barycenter algorithm (mm).
186+
187+
* - ``Y``
188+
- ``float``
189+
- Reconstructed y position coordinate using the barycenter algorithm (mm).
190+
191+
* - ``R``
192+
- ``float``
193+
- Reconstructed radial coordinate, :math:`r^2=x^2+y^2` (mm).
194+
195+
* - ``Phi``
196+
- ``float``
197+
- Reconstructed azimuthal coordinate, :math:`\phi=\arctan(y/x)` (rad).
198+
199+
* - ``Xrms``
200+
- ``float``
201+
- Standard deviation of the PMT signal in the x coordinate (mm).
202+
203+
* - ``Yrms``
204+
- ``float``
205+
- Standard deviation of the PMT signal in the y coordinate (mm).

0 commit comments

Comments
 (0)