Commit ed8369d
committed
HGCal raw data handling: Unpacker, Geometry, Local Reco
The following is a squashed commit of the contributions of different people
Co-authored-by: IzaakWN <[email protected]>
Co-authored-by: Lovisa <[email protected]>
Co-authored-by: Matti Kortelainen <[email protected]>
Co-authored-by: Pedro Silva <[email protected]>
Co-authored-by: Yulun Miao <[email protected]>
Co-authored-by: ineuteli <[email protected]>
Co-authored-by: ywkao <[email protected]>
A summary of contents follows. Note this has been edited (ammended by @pfs):
- HGCal Electronics Mapping for alpaka (#161)
- add dense index map for HGCalElectronicsId
- add getMaxDataSize & getMaxERxSize functions
- fix getDenseIndex bug; add typcode map to ModuleIndexer (to retrieve module dense index offset); use regexp for type code
- add getFedAndModuleIndex; rename getDenseIndex -> getIndexForModule(Data) for elecID
- add typecode regexp; pass typecode to modIndexer_.processNewModule
- adding dense index info producer
- adding hgcalmapping customise
- fix misunderstanding in max data size expected from indexer
- remove_if was missing a call to std::vector::erase to effectively remove unused entries
- typecodemap was missing a reset with the final indices
- usage of command line options was missing in module map tester
- do not use moduleLUT in DenseIndexInfoESProducer!! it has the full dimensions before trimming to the actual number of ECON-Ds in a FED
- Add irot to module mapper (#134)
- move variables to private, use getters and move bulky code to .cc in HGCalMappingModuleIndexer / apply code checks
- CondFormats
- add calibrations Alpaka ESProducer
- rename ES_HGCal*Parameter.cc -> HGCal*ParameterHostCollection.cc for clarity
- moving to single record as all conds produced have the same IOV
- add HGCal configuration ESProducers + record + tester
- Record descriptions added
- Re-introducing 1 record per payload, addressing additional code comments
- rename ES_HGCal*Parameter.cc -> HGCal*ParameterHostCollection.cc for clarity
- rename HGCal*ParameterHostCollection.cc -> HGCal*ParameterDeviceCollection.cc for clarity
- rename 'HGCal.*(Device|Host)Collection -> (Device|Host)' for readability; move calib SoAs to CondFormats/HGCalObjects/; move TestHGCalRecHitESProducers to test
- fill HGCal config structs for unpacker (header marks, charMode)
- read HGCal FED & ECON-D configuration from JSON
- Adding digi SoAs
- moving digi soa filler to alpaka and adding extra tools
- rename 'HGCal.*(Device|Host)Collection -> HGCal.*(Device|Host)' for readability
- Refactor unpacker.
- parse arrays of gain-dependent calibration parameters in eRx-blocks (simplified in latter commits to remove explicit gain-dependence)
- add missing Noise attribute
- Convert ECON-D payload to 32b words.
- rebase the unpacker on denseIdx and SoA digis
- Moving emulators to SimCalorimetry/HGCalSimAlgos, adapting paths
- fix undefined left shift in HGCalRawDataPackingTools.cc; remove duplicate line in HGCalMappingTools.h (32 -> 31 to solve undefined left shift)
- SoA format of HGCal ECON-D header
- Unpack header information to HGCalECONDInfoSoA; Add in quality checks for ECON-D
- Update unpacker to use HGCalConfiguration structure
- Add flags for passthrough ECON-Ds
- Fix the number of channel in eRx;Add default flag for digi, representing digi not read in raw data
- Add parsing function for econd flag; renaming HGCalECONDInfo to HGCalECONDPacketInfo
- Add in common mode in ECOND packet information
- enable FED-level Parallelization through config
- Remove change of location when something wrong in S-Link trailer
- Add HGCalRecHit
- add DIGI2RECO calibration algorithms (see https://gitlab.cern.ch/hgcal-dpg/hgcal-comm/-/merge_requests/3)[C; remove detId/elecId from SoAs (should be redundant since common indexer); add HGCROCChannelDataFrame<HGCalDetId> to classes_def.xml
- Move HGCalRawDataDefinitions.h.
- Update and rename HGCalRecHitProducer.cc to HGCalRecHitProducers.cc
- update calibration kernels
- bugfix in the cm Sum
- fill rec hitflags
- update kernel after closure
- swap arguments in tot kernel
- Code formats / checks
- Removing unused includes and delarations
- Re-introducing headers.h file needed for serialization classes
- Remove data and change locations to cms-data folder
- moving to printf, removing unused product, and message logger
- int -> uint32_t; uncomment debugging print out
- Change to LogDebug1 parent 1234e95 commit ed8369d
File tree
98 files changed
+3531
-2238
lines changed- CondFormats
- DataRecord
- interface
- src
- HGCalObjects
- interface
- alpaka
- src
- alpaka
- test
- DataFormats
- HGCalDigi
- interface
- alpaka
- src
- alpaka
- HGCalRecHit
- interface
- alpaka
- src
- alpaka
- EventFilter/HGCalRawToDigi
- interface
- plugins
- src
- test
- Geometry/HGCalMapping
- interface
- plugins
- alpaka
- python
- test
- alpaka
- RecoLocalCalo/HGCalRecAlgos
- interface/alpaka
- plugins
- alpaka
- test
- alpaka
- SimCalorimetry
- HGCalSimAlgos
- interface
- src
- HGCalSimProducers/plugins
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
98 files changed
+3531
-2238
lines changedLines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments