delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
VdHits.h
Go to the documentation of this file.
1
// VdHits domain — pass-1 only.
2
//
3
// Vertex-Detector hits from SKELANA PSCVDU (unassociated) and PSCVDA
4
// (associated to a track). Each hit is a TrackerHit3D. The position is
5
// stored as a **cylindrical-mixed** triple
6
// (R, slot2, slot4), NOT Cartesian — the module→φ table needed for
7
// (x,y) is not in any doc we have, so global-φ conversion is deferred.
8
//
9
// Emits:
10
// sDST_TDVD_VDPoints TrackerHit3DCollection (PSCVDU, unassociated)
11
// sDST_TDVD_VDHits TrackerHit3DCollection (PSCVDA, associated)
12
//
13
// The associated hits are also handed to TrackingWriter through EventContext,
14
// grouped by charged-track ordinal, so each track links its own hits through
15
// Track.trackerHits. That is why this writer runs BEFORE the track writer: a
16
// track can only be given relations while its own writer still holds it.
17
//
18
// Per-hit fields (both commons, 5 each): K(1)=module# with sign of Z,
19
// Q(2)=local X (or Z since '94), Q(3)=R (−R if R-Z measured), Q(4)=RPhi
20
// (or Z since '94), Q(5)=signal/noise. cellID = signed module#; type bit
21
// 0 set when slot-3 (R) is negative (R-Z measurement); eDep carries S/N.
22
23
#pragma once
24
25
#include "
delphi_edm4hep/CollectionWriter.h
"
26
27
namespace
delphi_edm4hep::vd_hits
{
28
29
class
VdHitsWriter
:
public
CollectionWriter
{
30
public
:
31
using
CollectionWriter::CollectionWriter
;
32
void
emit
()
override
;
33
};
34
35
}
// namespace delphi_edm4hep::vd_hits
CollectionWriter.h
delphi_edm4hep::CollectionWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::vd_hits::VdHitsWriter
Definition
VdHits.h:29
delphi_edm4hep::vd_hits::VdHitsWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::vd_hits::VdHitsWriter::emit
void emit() override
Definition
VdHits.cpp:41
delphi_edm4hep::vd_hits
Definition
VdHitData.h:11
delphi_edm4hep
include
delphi_edm4hep
Tracking
VdHits.h
Generated by
1.15.0