delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
Tdha.h
Go to the documentation of this file.
1// Tdha domain — runs in both passes: PA.TDHA is on the XSDST as well as the
2// fullDST.
3//
4// PA.TDHA (label 11) carries the per-HCAL-layer associated TD ("Time
5// Digitisation") hits along a track's HCAL extrapolation — the input to
6// muon-vs-pion separation. Each TD is a hadron-calorimeter hit with a
7// position + energy, so CalorimeterHit is the proper edm4hep home.
8//
9// Emits:
10// fDST_TDHA_HcalTimeHits CalorimeterHitCollection
11// one hit per associated TD; energy = TD energy, position from the
12// (X/R, Y/Rφ, Z) coords (barrel loc=0 → cylindrical→cartesian, like
13// fDST_TEAD_TOFHits; endcap loc=1 → X/Y/Z direct), type = layer
14// number, cellID = location bit (0=barrel, 1=endcap).
15//
16// Track association is implicit (the bank lives under the track's PA),
17// not stored as a relation — same convention as the other fDST calo-hit
18// collections (CalorimeterHit has no particle relation). No per-hit time
19// is decodable at this DST level (the layer holds extrap coords + energy,
20// not a digitised time), so time is left 0.
21
22#pragma once
23
25
27
29public:
31 void emit() override;
32};
33
34} // namespace delphi_edm4hep::tdha
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)