delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
PaPidExtras.h
Go to the documentation of this file.
1// PaPidExtras domain — runs in both passes: PA.MU, PA.EL and PA.TDID are on
2// the XSDST as well as the fullDST.
3//
4// Three thin fDST-only PA diagnostic modules that are genuinely
5// per-particle scalar/quality summaries, so ParticleID is the correct
6// edm4hep home (companions to the corresponding sDST PID collections).
7// Grouped into one writer because each is a handful of words.
8//
9// Emits (all ParticleIDCollection, setParticle -> matched sDST Particle
10// via ctx_.fdst_pa_to_sdst_particle):
11// fDST_MU_MuonChambers (algType=4) PA.MU raw muon-chamber refit
12// params = [det, nlay, ndof, chi2, x_first, y_first, hit_pattern,
13// chi2_alone, x_extrap, y_extrap, theta_extrap, phi_extrap]
14// (positions in cm, angles in rad — native bank units)
15// fDST_EL_ElectronExtra (algType=5) PA.EL electron extra-module hdr
16// params = [detector_id, n_showers]
17// fDST_TDID_DriftCalib (algType=17) PA.TDID ID drift-time calibration
18// params = [jet_sector, n_valid_wires, drift_sum]
19//
20// These correspond to the legacy ParticleID_MU / _EL / _TDID modules.
21
22#pragma once
23
25
27
29public:
31 void emit() override;
32};
33
34} // namespace delphi_edm4hep::pa_pid_extras
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)