delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
TruthData.h
Go to the documentation of this file.
1
// TruthData.h — value types passed through EventContext.
2
// Separate from Truth.h so CollectionWriter.h (which holds EventContext)
3
// can include this without pulling in the writer classes (avoids
4
// include cycle, since the writers inherit from CollectionWriter).
5
6
#pragma once
7
8
#include <edm4hep/MutableMCParticle.h>
9
10
#include <vector>
11
12
namespace
delphi_edm4hep::truth
{
13
14
// Output of TruthGenWriter::emit(): per-LU-index MutableMCParticle
15
// handles (0-indexed; handles[i] ↔ LU(i+1) in PSCLUJ). Handles remain
16
// valid after the collection has been moved into the Frame because
17
// podio object handles wrap a stable pointer into per-collection
18
// storage. Consumed by TruthRecoLinkWriter (uses PSCTBL exact tables
19
// to bind each handle to a tracking::Output Particle handle).
20
struct
GenParticleResult
{
21
std::vector<edm4hep::MutableMCParticle>
handles
;
22
// MCParticle of each simulated track, by track number (entry 0 unused):
23
// its generator line's particle, or the particle DELSIM created.
24
std::vector<edm4hep::MutableMCParticle>
particleOfSimulatedTrack
;
25
};
26
27
}
// namespace delphi_edm4hep::truth
delphi_edm4hep::truth
Definition
DelphiParticleCode.h:13
delphi_edm4hep::truth::GenParticleResult
Definition
TruthData.h:20
delphi_edm4hep::truth::GenParticleResult::handles
std::vector< edm4hep::MutableMCParticle > handles
Definition
TruthData.h:21
delphi_edm4hep::truth::GenParticleResult::particleOfSimulatedTrack
std::vector< edm4hep::MutableMCParticle > particleOfSimulatedTrack
Definition
TruthData.h:24
delphi_edm4hep
include
delphi_edm4hep
Truth
TruthData.h
Generated by
1.15.0