Commit c9129be
An alternative implementation of a type for HGCROC output (#116)
### Briefly, what does this PR introduce?
This PR introduces two types to facilitate work with the output of
HGCROC chips:
1. The component, `edm4eic::HGCROCSample`, which defines for a given
sample read out by the a chip
- the ADC,
- the Time of Arrival (TOA),
- the Time over Threshold (TOT),
- and the in-progress/complete relevant flags for TOT;
2. And the datatype, `edm4eic::RawHGCROCHit`, which consolidates for a
given hit
- the geometrical information (cell ID)
- the time information (time stamp and sample phase),
- and the relevant samples organized into a time series (represented as
a vector member).
This PR is intended to supersede #101. It makes two distinct design
choices from #101 informed by experience from the 2024 LFHCAL and
EEEMCal test beams, both of which utilized HGCROC prototypes.
1. Rather than define separate vector members for the ADC, TOA, and TOT
values, these values are collected into a component which are then
stored as a vector. This more closely matches what the HGCROC actually
reads out, where each value is technically read out once per sample
(even if some, such as the TOA and TOT are zero for most).
2. The dual readout ("Type B") chips are intentionally **not** supported
by this type. This is because such chips are currently not available nor
in use. It is assumed that the processing of such a chip would be
significantly different than the current chips actually in use ("Type
A"), and as such would be better supported by a distinct type.
### What kind of change does this PR introduce?
- [ ] Bug fix (issue #__)
- [x] New feature (issue #89 )
- [ ] Documentation update
- [ ] Other: __
### Please check if this PR fulfills the following:
- [ ] Tests for the changes have been added
- [ ] Documentation has been added / updated
- [x] Changes have been communicated to collaborators
### Does this PR introduce breaking changes? What changes might users
need to make to their code?
No.
### Does this PR change default behavior?
No.
---------
Co-authored-by: Dmitry Kalinkin <[email protected]>1 parent 6dca224 commit c9129be
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
194 | 203 | | |
195 | 204 | | |
196 | 205 | | |
| |||
258 | 267 | | |
259 | 268 | | |
260 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
261 | 281 | | |
262 | 282 | | |
263 | 283 | | |
| |||
0 commit comments