delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
Tof.h
Go to the documentation of this file.
1
// Tof domain — runs in both passes: PA.TOF is on the XSDST as well as the
2
// fullDST.
3
//
4
// Walks the fDST PA chain, extracts per-track TOF time + sigma from
5
// PA.TOF (module 9), and emits a ParticleID collection linked to the
6
// matching sDST Particle via ctx_.fdst_pa_to_sdst_particle.
7
//
8
// Emits:
9
// <tag>_TOF_TimeOfFlight ParticleIDCollection (algoType=5)
10
// parameters = [time_ns, sigma_ns]
11
// setParticle() -> matched sDST_MAIN_Particles entry
12
//
13
// Raw counter, R, Z, Z_extrap are intentionally NOT surfaced — their
14
// semantics in this DST version need verification (deferred).
15
16
#pragma once
17
18
#include "
delphi_edm4hep/CollectionWriter.h
"
19
20
namespace
delphi_edm4hep::tof
{
21
22
class
TofWriter
:
public
CollectionWriter
{
23
public
:
24
using
CollectionWriter::CollectionWriter
;
25
void
emit
()
override
;
26
};
27
28
}
// namespace delphi_edm4hep::tof
CollectionWriter.h
delphi_edm4hep::CollectionWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::tof::TofWriter
Definition
Tof.h:22
delphi_edm4hep::tof::TofWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::tof::TofWriter::emit
void emit() override
Definition
Tof.cpp:32
delphi_edm4hep::tof
Definition
Tof.h:20
delphi_edm4hep
include
delphi_edm4hep
Pid
Tof.h
Generated by
1.15.0