delphi-edm4hep
DELPHI SDST/FDST -> EDM4hep converter
Loading...
Searching...
No Matches
Emca.h
Go to the documentation of this file.
1// Emca domain — runs in both passes: PA.EMCA is on the XSDST as well as the
2// fullDST.
3//
4// Walks fDST PA chain, reads PA.EMCA (the fDST-only per-cluster bank
5// — distinct from PA.EMNC, which is the sDST shower summary). Each
6// EMCA shower contains either HPC barrel data (idet=9, per-pad PXHGET-
7// packed 3-word records) or FEMC endcap data (idet=26, per-LAYER 2-word
8// records). We emit:
9//
10// <tag>_EMCA_HPCClusters CalorimeterHitCollection — per HPC pad
11// decoded via PXHGET
12// <tag>_EMCA_FEMCLayers CalorimeterHitCollection — per FEMC
13// layer (energy + packed layer/nhits)
14//
15// The shower→hit cascade (fDST_EMNC_Showers.addToHits → these
16// collections) is done by the shower hybrid writer; we emit the hits in
17// canonical PA-walk + shower-index + cluster-index order so it can
18// re-walk and link.
19//
20
21#pragma once
22
24
26
28public:
30 void emit() override;
31};
32
33} // namespace delphi_edm4hep::emca
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)