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
24
#include "
delphi_edm4hep/CollectionWriter.h
"
25
26
namespace
delphi_edm4hep::tdha
{
27
28
class
TdhaWriter
:
public
CollectionWriter
{
29
public
:
30
using
CollectionWriter::CollectionWriter
;
31
void
emit
()
override
;
32
};
33
34
}
// namespace delphi_edm4hep::tdha
CollectionWriter.h
delphi_edm4hep::CollectionWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::tdha::TdhaWriter
Definition
Tdha.h:28
delphi_edm4hep::tdha::TdhaWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::tdha::TdhaWriter::emit
void emit() override
Definition
Tdha.cpp:34
delphi_edm4hep::tdha
Definition
Tdha.h:26
delphi_edm4hep
include
delphi_edm4hep
Calorimeter
Tdha.h
Generated by
1.15.0