|
delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
|
Classes | |
| class | TrackingWriter |
| struct | Output |
Enumerations | |
| enum | DetectorMaskBit : std::int32_t { kDetPrimaryVertex = 1 << 1 , kDetVd = 1 << 3 , kDetId = 1 << 4 , kDetTpc = 1 << 5 , kDetRib = 1 << 6 , kDetOd = 1 << 8 , kDetHpc = 1 << 9 , kDetHab = 1 << 13 , kDetMub = 1 << 14 , kDetStic = 1 << 18 , kDetFca = 1 << 20 , kDetRif = 1 << 21 , kDetHaf = 1 << 22 , kDetFcb = 1 << 25 , kDetEmf = 1 << 26 , kDetMuf = 1 << 30 } |
| enum | TrackStateUse : std::int32_t { kStateAtOther = edm4hep::TrackState::AtOther , kStateAtIp = edm4hep::TrackState::AtIP , kStateAtFirstHit = edm4hep::TrackState::AtFirstHit , kStateAtCalorimeter = edm4hep::TrackState::AtCalorimeter , kStateAtVertex = edm4hep::TrackState::AtVertex } |
| enum | SelectionFlagBit : std::uint32_t { kSelRejected = 0x00000001u , kSelIflvec = 0x80000000u } |
| enum delphi_edm4hep::tracking::DetectorMaskBit : std::int32_t |
Bits of MAIN_Particles_DetectorMask, as masks. DELPHI numbers these bits from 1, so a documented "bit N" is 1 << (N - 1). Read the C way every cut lands one detector off and still returns plausible numbers.
Validated on 1994 data: over high-momentum barrel tracks kDetTpc is set on ~96% and kDetId on ~73%, so an ID fraction above the TPC fraction means the numbering is off by one. kDetOd appears only above theta ~42 deg and kDetFcb only below ~35 deg, which is those detectors' acceptance.
Definition at line 38 of file Tracking.h.
| enum delphi_edm4hep::tracking::SelectionFlagBit : std::uint32_t |
Bits of the MAIN_Particles selection flag (SKELANA's LVLOCK), as masks.
Bit 32 is the sign bit, so a track locked by IFLVEC reads as a large negative number: flag > 0 and a bare if (flag) both mislead. Test against these masks on the value cast to std::uint32_t. -1 is not a bit pattern at all but the converter's sentinel for a particle with no VECP entry.
| Enumerator | |
|---|---|
| kSelRejected | bit 1; failed the track-selection cuts, which IFLSTR = 2 keeps and flags |
| kSelIflvec | bit 32; locked by IFLVEC's class choice – ours is 22, "lock the charged outgoing" |
Definition at line 91 of file Tracking.h.
| enum delphi_edm4hep::tracking::TrackStateUse : std::int32_t |
Which edm4hep::TrackState::location values appear on TRAC_Tracks, and what each is here. Values are taken from EDM4hep, not restated, so this cannot drift from the schema.
Definition at line 65 of file Tracking.h.