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
23
#include "
delphi_edm4hep/CollectionWriter.h
"
24
25
namespace
delphi_edm4hep::emca
{
26
27
class
EmcaWriter
:
public
CollectionWriter
{
28
public
:
29
using
CollectionWriter::CollectionWriter
;
30
void
emit
()
override
;
31
};
32
33
}
// namespace delphi_edm4hep::emca
CollectionWriter.h
delphi_edm4hep::CollectionWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::emca::EmcaWriter
Definition
Emca.h:27
delphi_edm4hep::emca::EmcaWriter::emit
void emit() override
Definition
Emca.cpp:44
delphi_edm4hep::emca::EmcaWriter::CollectionWriter
CollectionWriter(podio::Frame &frame, EventContext &ctx, bank::Pass pass)
Definition
CollectionWriter.h:118
delphi_edm4hep::emca
Definition
Emca.h:25
delphi_edm4hep
include
delphi_edm4hep
Calorimeter
Emca.h
Generated by
1.15.0