delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
TrackingData.h
Go to the documentation of this file.
1
// TrackingData.h — value type passed through EventContext.
2
// Separate from Tracking.h so CollectionWriter.h can include this
3
// without pulling in the writer class (avoids include cycle since
4
// TrackingWriter inherits from CollectionWriter).
5
6
#pragma once
7
8
#include <edm4hep/MutableReconstructedParticle.h>
9
10
#include <vector>
11
12
namespace
delphi_edm4hep::tracking
{
13
14
// Output of TrackingWriter::emit():
15
// - particle_handles: one MutableReconstructedParticle handle per
16
// emitted Particle, in PA-walk order. Handles remain valid after
17
// the collection has been moved into the Frame.
18
// - vecp_to_particle: VECP index (1..NVECP, with sk::LVPART=1) ->
19
// 0-based index into the emitted Particle collection. -1 if no
20
// Particle was emitted for that VECP entry. Index 0 unused.
21
// - pa_to_particle: PA-walk index (0-based) -> 0-based Particle
22
// collection index, or -1 if Tracking dropped the PA.
23
struct
Output
{
24
std::vector<edm4hep::MutableReconstructedParticle>
particle_handles
;
25
std::vector<int>
vecp_to_particle
;
26
std::vector<int>
pa_to_particle
;
27
};
28
29
}
// namespace delphi_edm4hep::tracking
delphi_edm4hep::tracking
Definition
Tracking.h:27
delphi_edm4hep::tracking::Output
Definition
TrackingData.h:23
delphi_edm4hep::tracking::Output::pa_to_particle
std::vector< int > pa_to_particle
Definition
TrackingData.h:26
delphi_edm4hep::tracking::Output::particle_handles
std::vector< edm4hep::MutableReconstructedParticle > particle_handles
Definition
TrackingData.h:24
delphi_edm4hep::tracking::Output::vecp_to_particle
std::vector< int > vecp_to_particle
Definition
TrackingData.h:25
delphi_edm4hep
include
delphi_edm4hep
Tracking
TrackingData.h
Generated by
1.15.0