delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
Vertex.h
Go to the documentation of this file.
1// Vertex domain: LDTOP-1 chain + V0ID (PSCRV0) + photon conversions
2// (PSCPHC) + beam spot (PSCBSP). VertexWriter reads ctx_.tracking
3// for the V0 / PhotonConv -> Particle relations.
4
5#pragma once
6
8
9#include <cstdint>
10
12
13/// Whether `PV_Tracks_d0PV` / `_z0PV` hold a measurement for this track.
14///
15/// Those two are computed here from the track's `AtIP` perigee and the primary
16/// vertex, because SKELANA's `QTRAC(38,39)` are unfilled on real data. Where
17/// that is not possible both read `-999`, which is a sentinel and not a
18/// position; this flag is the reliable test.
19///
20/// @collection{PV_Tracks_ImpactFlag}
21enum ImpactFlag : std::int32_t {
22 kImpactMissing = 0, ///< no primary vertex, or the track has no AtIP state:
23 ///< d0PV and z0PV are -999
24 kImpactValid = 1 ///< d0PV and z0PV are measured, in mm, LCIO sign
25};
26
28public:
30 void emit() override;
31};
32
33} // namespace delphi_edm4hep::vertex
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
@ kImpactValid
d0PV and z0PV are measured, in mm, LCIO sign
Definition Vertex.h:24