delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
PidExtrasSdst.h
Go to the documentation of this file.
1// PidExtrasSdst domain — pass-1 only.
2//
3// VECP-track-indexed SKELANA PID commons that carry information beyond
4// the four standard pass-1 PID collections. Bound to the Particle via
5// ctx_.tracking->vecp_to_particle (same idiom as ParticleIdWriter).
6//
7// The tag collections are recomputed at conversion time rather than read from
8// the DST, so each is named for the routine that fills it. RPRODO and RPRODE
9// are two generations of the same tagging; the PXDST version word of the event
10// selects one, and only that one is emitted.
11//
12// Emits (ParticleIDCollection, setParticle -> sDST_MAIN_Particles):
13// sDST_XNEWTAG_RichTags (algType=41) RICH ring/veto tags
14// params = KHAIDN(1..4) pion/kaon/proton/heavy tag
15// KHAIDT(1..4) matching track-quality acceptance
16// sDST_XNEWPRO_RichTags (algType=42) RICH RIBMEAN probability tags
17// params = KHAIDR(1..6) pion/kaon/proton/heavy/electron tag, selection flag
18// sDST_RPRODO_DedxTags (algType=43) TPC dE/dx tags, PXDST version < 333
19// sDST_RPRODE_DedxTags (algType=44) TPC dE/dx tags, PXDST version >= 333
20// params = KHAIDE(1..6) pion/kaon/proton/heavy/electron tag, quality flag
21// sDST_RPROCO_CombinedTags (algType=45) combined RICH and dE/dx tags
22// params = KHAIDC(1..6) pion/kaon/proton/heavy/electron tag, selection flag
23// sDST_HAID_dEdxVD (algType=7) VD-only dE/dx (PSCDEX VD slots)
24// params = QDEDX(6) VD dE/dx, KDEDX(7) n VD hits; emitted if nVD > 0
25// sDST_PHOT_Pi0ID (algType=111) π⁰→γγ HPCANA fit (PSCPI0, 26 fields)
26// params = QPI0/KPI0(1..26); emitted if the fit mass QPI0(1) > 0
27//
28// Tag values are -1 for no information and 0..3 for increasing tightness. A tag
29// row is emitted for a track when at least one of its tags is not -1.
30//
31// All are charged-track commons except Pi0, which is scanned over the full
32// VECP range (π⁰ candidates can sit on neutral PAs).
33
34#pragma once
35
37
39
41public:
43 void emit() override;
44};
45
46} // namespace delphi_edm4hep::pid_extras_sdst
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)