Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create RecHit and PFRecHit SoA formats and PFRecHitProducerAlpaka #9

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
442 commits
Select commit Hold shift + click to select a range
8fb27fc
Remove simulated SC jet from sequence and event content.
EmyrClement Dec 19, 2022
665f3dd
Update L1T sum branches in downstream modules.
EmyrClement Jan 9, 2023
ce302aa
Update L1T jets consumed by HLT modules from 9x9 to 9x9trimmed.
EmyrClement Jan 18, 2023
3738af9
Fix clang warnings
aandvalenzuela Jan 20, 2023
e414800
Remove a seemingly useless vector definition
perrotta Jan 20, 2023
eeb2746
Update the validity test of partial wafers of V16 geometry as well as…
Jan 23, 2023
2b5b646
Code check
Jan 23, 2023
b9e225c
Update the test scripts in Geometry/HGCalCommonData and Geometry/HGCa…
Jan 23, 2023
e413821
Fix N-dimensional strided loops
fwyzard Jan 23, 2023
4f083a3
Extend the alpaka vector add tests
fwyzard Jan 23, 2023
f3f927d
Refactor the workdiv generation and optimise the loops
fwyzard Jan 23, 2023
b40f829
guard against no L1T uGT digis in L1TriggerResultsConverter
missirol Jan 16, 2023
ffbe4fa
Remove obsolete cfi's used for pre-V16 geometry versions of HGCal
Jan 24, 2023
8dd6cd5
Make the 6-inch geometry working again which could be used for HGCal …
Jan 24, 2023
10ce2d0
Code check
Jan 24, 2023
abee0d3
Fix of the L1uGTTreeProducer to handle exceptions in case of a missin…
elfontan Jan 23, 2023
76aa541
Make RZLine with one point consistent
Dr15Jones Jan 24, 2023
4bb53ac
Fix possible bad behaviour
perrotta Jan 23, 2023
f536ba5
remove memory-churn
VinInn Jan 16, 2023
d32ce42
Modify defaults to some of the AlCaReco and calibration scripts of HC…
Nov 24, 2022
928e62d
removed old and unused configs linked to reco muon duplicate mitigation
Jan 23, 2023
cc3eb37
restructure the primary-vertex validation related unit tests
mmusich Jan 25, 2023
95c8c42
get rid of Phase2TrackerRecHit1D::CluRef
mmusich Jan 16, 2023
942072a
Add test for cross-site catalog access
makortel Jan 13, 2023
5ba3c12
Organize SiteLocalConfig test files better
makortel Jan 26, 2023
acfdf12
New CLCT sorting for ALCT-CLCT match
tahuang1991 Sep 30, 2022
e6a5169
code format change
tahuang1991 Oct 5, 2022
d189364
minor changes to improve the coding
tahuang1991 Jan 25, 2023
19f9908
Make service system available in testCUDAService
makortel Jan 26, 2023
4ef797d
Add tests for ResourceInformationService being filled by CUDAService
makortel Jan 26, 2023
a90dfcd
Fix clang14 warnings about unused vars
aandvalenzuela Jan 13, 2023
d75c164
Try to add toplogy class for HGCal TB application
Jan 24, 2023
8639662
Code check
Jan 24, 2023
9f980b1
Take advice from Chris and add the builder class
Jan 25, 2023
1701734
Remove clang error
Jan 25, 2023
667f0f9
Remove unnecessary constructor
Jan 26, 2023
f041895
Take Chris's suggestion
Jan 26, 2023
926f471
Built at last
Jan 26, 2023
2cbc9b9
Code check
Jan 26, 2023
5c2bd1e
Effect of renaming the topology builder file for HGCal
Jan 25, 2023
d6f7ea0
Fix bitwise warnings
aandvalenzuela Jan 19, 2023
aa75457
Update the ERA association to the scripts in Validation/HGCalValidati…
Jan 23, 2023
7f47866
update json files for DMD tag
malbouis Jan 13, 2023
d8f9d62
reduce verbosity of reHLT customisation in SKIM step
missirol Jan 29, 2023
c91c1c7
Make small changes to a few scripts
Jan 28, 2023
6761bd9
silence static analyzer warning about std::isnan / std::isinf not wor…
mmusich Jan 25, 2023
975d125
Use the right HGCalTopology builder
Jan 28, 2023
cea9e9b
cmsDriver.py: flush stdout buffer before call to os.execvpe
missirol Jan 29, 2023
bcbcbd9
replace singularity with apptainer
kpedro88 Jan 27, 2023
d4b0de0
HLT menu development for 13_0_X
missirol Jan 30, 2023
b86c9b4
Update the scripts to help debug the V17 geometry with cassette shifts
Jan 30, 2023
e56e8e8
Add a test for the cudaCheck() macro
fwyzard Jan 26, 2023
037674b
Add a test for requireDevices() for CUDA devices
fwyzard Jan 26, 2023
7eebb62
Implement the hipCheck() macro
fwyzard Jan 26, 2023
76f4521
Implement requireDevices() for ROCm devices
fwyzard Jan 26, 2023
0be5405
Implement rocmIsEnabled and rocmComputeCapabilities
fwyzard Jan 26, 2023
3f81ebf
Implement fallback for ROCm utilities
fwyzard Jan 30, 2023
89a0f51
Move CUDA utilities and implement fallbacks
fwyzard Jan 30, 2023
fad0ccd
Add a test for CUDA libraries and build rules
fwyzard Jan 24, 2023
bf5a671
Add documentation about the CUDA tests
fwyzard Jan 31, 2023
c879438
Add ProcessAcceleratorAlpaka and AlpakaModuleTypeResolver
makortel Sep 9, 2022
b94a9d4
Use collection size to ensure the expected backend is run
makortel Oct 27, 2022
a860a8c
Generate only one cfi file for each Alpaka module
makortel Oct 27, 2022
d060fb2
Allow multiple PSet description filler registration variables to be u…
makortel Jan 25, 2023
770cb5d
Enable back the cfi generation for module definitions with explicit b…
makortel Jan 25, 2023
23ae365
First working version of the alternative JetMathing for Pythia8.3 and…
Cvico Nov 4, 2022
a4a1196
Applied code-checks and formats for CMSSW coding rules compliance
Cvico Nov 7, 2022
be65523
Put the debug printout within a MATCHINGDEBUG block
Cvico Dec 13, 2022
cc44121
Code-formats
Cvico Dec 13, 2022
c21faee
Fixed typos in some conditionals. Re run tests with the sample produc…
Cvico Jan 11, 2023
c03a029
Addressed comment from reviewer. No need to recompute the sqrt(qCutSq…
Cvico Jan 11, 2023
17f0de3
Make WriteBuffer delete all its temp files in /dev/shm
wddgit Jan 31, 2023
ef6f977
improve check on size of L1-uGT digis in HLTL1TSeed plugin
missirol Jan 31, 2023
6f70282
remove duplicate plugins left by #38761 and #40264
missirol Jan 31, 2023
3fb56a7
add pixelCPEFastESProducerPhase2_cfi to TTRHBuilders_cff
missirol Jan 31, 2023
5e5bfe2
demote LogError about "L1GlobalDecision" in HLTPrescaleProvider
missirol Jan 31, 2023
e3bc46e
Implement a first draft of the ROCmService
fwyzard Jan 30, 2023
113fea1
Add a test for ROCm libraries and build rules
fwyzard Jan 29, 2023
ed755ba
Add documentation about the ROCm tests
fwyzard Jan 31, 2023
06b4b98
enable Phase2 HLT
Dec 29, 2022
51ca1f4
Add function to refine FastSim DeepJet discriminators
wolfmor Jan 17, 2023
13cf5a0
add nanoAOD to run2 FS matrix workflows
kpedro88 Jan 20, 2023
31c9104
add test 2016 workflow for fastsim refinement
kpedro88 Jan 21, 2023
9bd955d
fix to HLTDoubletDZ filter against invalid track refs
missirol Jan 31, 2023
bb71460
Take care of invalid HGCal scintillator DetIDs
Feb 2, 2023
9ce1414
Code check
Feb 2, 2023
3c1a0d5
Test the TB topology for HGCal
Jan 30, 2023
f254f72
Code check
Jan 30, 2023
0a0eb09
Changes made as suggested by Andrea
Jan 31, 2023
a2f4cfa
fix JetHTAnalyzer::fillDescriptions
mmusich Feb 2, 2023
b43129a
update testTrackAnalyzers catch2 unit tests
mmusich Feb 2, 2023
34f4a65
Add VtxSmearing scenario for 2022 EOY MC
francescobrivio Feb 1, 2023
1cacd17
Add JeProfService for dumping Jemalloc heap profiles
gartung Jan 26, 2023
e96c54d
Check for jemalloc heap profiling
gartung Jan 26, 2023
458e5e0
Add cmsDriver options for heap profiling
gartung Jan 26, 2023
dedea45
Add customization for JeProfService so it dumps in the middle ala Igp…
gartung Jan 26, 2023
12fa316
Add ,prof_prefix:jeprof.out to MALLOC_CONF
gartung Jan 26, 2023
b0bc42c
code checks
gartung Jan 26, 2023
ecf7f22
Fix service module name
gartung Jan 26, 2023
50df766
Jemalloc heap profiling output name does not use pipes
gartung Jan 26, 2023
78bad76
Use prof.active options to see if heap profiling enabled.
gartung Jan 26, 2023
fc2360d
Add prof_accum:true to MALLOC_CONF
gartung Jan 27, 2023
6c4738b
Use .heap extension
gartung Jan 27, 2023
b5253cc
Move JeProfService.h file into JeProfService.cc file
gartung Jan 28, 2023
ea68457
Migrate consumesMany to GetterOfProducts
jeongeun Jan 27, 2023
4e415b9
fix code-format
jeongeun Jan 31, 2023
c503054
add SiPixelCalCosmics to the ExpressCosmics key
mmusich Feb 1, 2023
feea947
define a workflow to test PCL in comsics
mmusich Feb 1, 2023
6c137ff
Adding code to process Phase 2 DeepTau v2p5
DennRoy Jan 12, 2023
3fb3803
Fix variable declaration
DennRoy Jan 17, 2023
45e641b
Small fix
DennRoy Jan 17, 2023
a79c227
Add recipe for testing Phase2 DeepTau
DennRoy Jan 18, 2023
099b2a0
Update testing configurations
DennRoy Jan 19, 2023
7da30df
Fix name of electron merger
DennRoy Jan 24, 2023
d60ecd5
Integrate Phase2 DeepTau in MiniAOD
DennRoy Jan 24, 2023
740e880
Fix geometry for Phase2
DennRoy Jan 24, 2023
a1078ba
Common merged collection of phase-2 electrons for tauID
mbluj Jan 24, 2023
9459551
Fix phase2 tauIDs for miniAOD
mbluj Jan 26, 2023
0ba2c08
code-format fixes
mbluj Jan 26, 2023
806c288
bug fix in error filling
fabferro Jan 23, 2023
3118548
adding comment
fabferro Feb 1, 2023
5ab2744
CorrPlotsforCMTforRun3
zhokin2 Jan 31, 2023
426e80a
HCAL: update of DPGAnalysis/HcalTools for 2023 Run3
zhokin2 Feb 1, 2023
438c7ba
Adding Tracker T32 - same active volumes as T25 but new OT/MTD boundary
emiglior Jan 26, 2023
6de9d4b
Simplify Alpaka ESProducer model by making the data copies to device …
makortel Dec 2, 2022
25ff2dc
Add helper variables to simplify use-product-directly checks
makortel Jan 12, 2023
cd43dc8
Change data copy functions (back) to class template specialization
makortel Jan 18, 2023
539f64a
TrackingRecHitSoA classes clean up
Jan 20, 2023
802923f
Add support for HIP/ROCm
fwyzard Feb 2, 2023
5f4860d
Add or improve support for HIP/ROCm
fwyzard Feb 2, 2023
626e3d4
Update code for Alpaka devel as of 2023.02.1
fwyzard Feb 2, 2023
9ad011a
Fixing part of issue 38059 about CalibratedPFCluster
valsdav Jan 9, 2023
fdd5a5f
Revome trigger evaluation in ExoticaDQM module and related variables
CeliaFernandez Jan 31, 2023
a4b6c33
Apply code format suggested changes
CeliaFernandez Feb 1, 2023
876fe4d
fix DQM sequence name for TkAlCosmicsDuringCollisions0T track collect…
mmusich Feb 3, 2023
fba168a
remove the hook for MC/Data specific configuration
vlimant Feb 3, 2023
0ba0f58
Initial update of fireworks geometry to add MTD
fabiocos Nov 11, 2022
4b3241c
Fill MTD geometry info, like pixels
fabiocos Nov 14, 2022
4498bcd
Added the MTD topology.
casarsa Dec 2, 2022
b7b71f8
Added ProxyBuilder plugins for the BTL and ETL clusters
casarsa Dec 2, 2022
af191fe
Added ProxyBuilder plugins for the BTL and ETL RecHits
casarsa Dec 7, 2022
4ca1711
Added BTL and ETL visualization in the 3D, RhoPhi, and RhoZ views
casarsa Jan 25, 2023
5d73b91
Moved the TEvePointSet definition outside the loop
casarsa Jan 25, 2023
9d0c2f4
Simplified visualization of the MTD endcap disks in the Rho-Z view
casarsa Feb 1, 2023
4607ff1
Set default entries for MTD tables
casarsa Feb 2, 2023
b4368dc
Changed MTD subdetector name to Forward, for consistency with the usu…
casarsa Feb 2, 2023
6aff792
Fixed issue with the MTD cluster displaying
casarsa Feb 2, 2023
26acb59
Fixed issue with the MTD RecHit visualization
casarsa Feb 2, 2023
99e0c3c
Fixed code formatting
casarsa Feb 2, 2023
006dc03
Add tests to investigate cassette shift
Feb 3, 2023
c1171a1
Code check
Feb 3, 2023
840770e
Fix a few things
Feb 4, 2023
aa19444
New selection windows, optionally separate backward params.
osschar Jan 24, 2023
c816727
reduce comments
leonardogiannini Feb 2, 2023
5a00799
Correct the order of the xml files in defining a scenario - it is a m…
Feb 6, 2023
96f5abe
use auto-generated cfi from fillDescriptions in all-in-one configurat…
mmusich Feb 4, 2023
f80cb01
provide fillDescriptions for TrackerOfflineValidation and use it in t…
mmusich Feb 4, 2023
2233b1c
supply fillDescriptions for GCP plugins and use it in the all-in-one …
mmusich Feb 4, 2023
cfac5a7
add fillDescriptions to PixelBaryCentreAnalyzer and use it in the con…
mmusich Feb 4, 2023
905923a
add fillDescriptions to TrackerOfflineValidationSummary and use it in…
mmusich Feb 4, 2023
084ba5f
implement fillDescriptions for miscellaneous un-tested modules
mmusich Feb 4, 2023
106cee6
add a unit test for the cosmic track splitting validation
mmusich Feb 5, 2023
1253fd0
pps error plots
fabferro Feb 3, 2023
5821e75
config file fix
fabferro Feb 6, 2023
f17c8ac
Rename name of a Phase2 Era to match calorimeter scenario name
Feb 4, 2023
89784a0
[GENERATORS] [CLANG] Fixes warnings reported by clang 14
smuzaffar Jan 13, 2023
ff725c3
[GENERATORS] [CLANG] Fixed unused-but-set-variable warnings
smuzaffar Dec 22, 2022
1a29f5e
Change scripts to study new Phase2 scenarios in the context of usage …
Feb 6, 2023
b01f55a
add fillPSetDescription to TrackerHitAssociator
mmusich Feb 5, 2023
df8b3e1
add fillDescriptions to OverlapValidation
mmusich Feb 5, 2023
0ba6eef
add fillPSetDescription to TrackAssociatorParameters
mmusich Feb 5, 2023
6d69979
improve fillDescriptions of EopTreeWriter
mmusich Feb 5, 2023
8afaa35
Update PPS HPTDC PCL for additional station
Feb 5, 2023
2a77445
Make _relval GTs symbolic
tvami Feb 4, 2023
c212e44
Fix clang llvm14 warnings
cmsbuild Jan 25, 2023
f33291c
[RECONSTRUCTION] [CLANG] Fixes warnings reported by clang 14
smuzaffar Jan 13, 2023
bd8b222
code cleanup: remove unnecessary code
smuzaffar Jan 31, 2023
8c7835e
Provide the geometry for HGCal Test Beam application
Feb 7, 2023
1889101
Code check
Feb 7, 2023
0ed9676
Take care of clang error
Feb 7, 2023
c3444e3
Check overlap testing for geometries with HFNose
Feb 7, 2023
8b67ace
Code check
Feb 7, 2023
b959174
RobustParTAK4 in DataFormats/BTauReco
AnnikaStein Feb 6, 2023
c3a99bf
style (formatting end of file)
AnnikaStein Feb 6, 2023
d3a69ac
format ChargedCandidateFeatures.h
AnnikaStein Feb 6, 2023
9780ddb
feat: 4-vectors in cartesian coordinates for faster model evaluation
AnnikaStein Feb 7, 2023
3fda6e7
fix ClassVersions
AnnikaStein Feb 7, 2023
2ee62dc
fix: remove commented-out lines and simplify classes_def.xml without …
AnnikaStein Feb 7, 2023
0c811b5
code-format
AnnikaStein Feb 7, 2023
4f09be0
Fix unit conversion in PPS Reco LUT shift
Feb 5, 2023
ffcf1bc
add a unit test for the JetHT validation
mmusich Feb 6, 2023
5d11322
use raw pointers instead of smart pointers to avoid segmentation faul…
mmusich Feb 6, 2023
a4cc9d4
fix jetHtPlotter to use emd::FileInPath and improve unit tests with m…
mmusich Feb 8, 2023
3e3341d
fix mistake in cfi file inclusion
mmusich Feb 8, 2023
17e71f6
code check patch
jsamudio Feb 7, 2023
8db7d6d
diphoton_hlt_filters_added
Feb 7, 2023
83232d6
Fix a memory leak
makortel Jan 11, 2023
5f36273
Fix a memory leak
Jan 19, 2023
44ec197
Correct the order of Tracker files in some of the scenarios which is …
Feb 8, 2023
cf7caf7
Moved Rail3 to fix overlaps with the tray volume at a 10-um tollerance
casarsa Feb 7, 2023
ebc1683
Update the scripts in SimG4Core/PrintGeomInfo/test/python
Feb 8, 2023
23e1b44
Add filldescription to one class in SimG4CMS/ShowerLibraryProducer
Feb 8, 2023
b08fadd
[MkFit] Consolidate nan checks and filtering, expose propagation fail…
osschar Dec 2, 2022
2f9b8d5
Add stub of Forward Pixel Phase 1 Lorentz Angle PCL
tsusa Jan 31, 2023
472aee1
add SiPixelLorentzAngle for forward Pixel PCL workflows in runTheMatrix
mmusich Feb 1, 2023
7247e5b
fix record name + missing stuff
tsusa Feb 2, 2023
f92825a
L1T: Add jet quality and isolation data emu comparison, and fix objec…
bundocka Jan 13, 2023
471894c
L1T: code-checks
bundocka Jan 13, 2023
2799d22
Remove comments
bundocka Jan 16, 2023
3cbbcc3
Fix whitespace
bundocka Jan 16, 2023
c939ca5
L1T: Tidy code, fix mismatch histos for emu objects
bundocka Feb 7, 2023
1c318b3
L1T: code format
bundocka Feb 7, 2023
b1eb137
L1T: Bugfix to emulated object iterator
bundocka Feb 8, 2023
1285d21
Fix unused vars warnings
aandvalenzuela Feb 8, 2023
4742019
Allow ProcessAccelerators to delete Services
makortel Feb 9, 2023
26efa18
Modify to use constituent weights from ValueMap. Add option to comput…
nurfikri89 Feb 1, 2023
58331e4
Update QGTagger for puppi jets. Add missing pfDeepCSVJetTags:probudsg…
nurfikri89 Feb 1, 2023
927a533
Fine-tune nanojmeDQM
nurfikri89 Feb 1, 2023
fdb824e
Apply patches for code-checks and code-format
nurfikri89 Feb 2, 2023
4ad796e
Add ValueMap header file
nurfikri89 Feb 2, 2023
e00e5bb
Delete QGTagger_cfi.py. Let QGTagger module to generate one with defa…
nurfikri89 Feb 7, 2023
7222acb
Add QGTagger module directly into task
nurfikri89 Feb 7, 2023
91c77bf
Apply code-format patch
nurfikri89 Feb 7, 2023
16b33a9
Fix runTheMatrix interactive and add tests.
rovere Jan 23, 2023
bbb9438
2 planes reco
fabferro Feb 3, 2023
7d8bafe
cosmetics
fabferro Feb 3, 2023
3621399
clang fixes
fabferro Feb 6, 2023
b202b14
code improvements
fabferro Feb 8, 2023
5820739
code format
fabferro Feb 8, 2023
d748bf4
bug fix in vector index
fabferro Feb 9, 2023
c0e9830
variable name change
fabferro Feb 9, 2023
4b943ed
reverting config parameter
fabferro Feb 9, 2023
f78fc0f
add try/catch in OnlineBeamMonitor plugin
francescobrivio Feb 7, 2023
4d71169
Fix imports
fllor Feb 20, 2023
1b99a06
Remove depthHE and depthHB arrays
fllor Feb 20, 2023
389e73d
Add simple RecHitSoA
fllor Feb 22, 2023
57fe5bc
Start adding RecHitSoAProducer
fllor Feb 22, 2023
d4896fe
Merge DataFormats/ParticleFlowReco classes 1 and 2
fllor Feb 22, 2023
7b14deb
Rename RecHitSoA -> CaloRecHitSoA; remove namespace
fllor Feb 22, 2023
dfa3309
Add configuration to test CaloRecHitSoAProducer
fllor Feb 22, 2023
69d6d35
Code format
fllor Feb 22, 2023
9475172
Merged PFRecHitAndCluster_GPU_13_0_0_pre4 from repository jsamudio wi…
fllor Feb 22, 2023
620d025
Less printout
fllor Feb 22, 2023
af7cc9d
Add PFRecHitSoA
fllor Feb 22, 2023
c44df00
Add dummy PFRecHitProducerAlpaka, that reads RecHits and writes PFRec…
fllor Feb 22, 2023
a41d2a0
Add PFRecHitProducer kernel, that applied dummy filtering of recHits
fllor Feb 23, 2023
d5c74c6
Add validation tool for PFRecHits CPU vs Alpaka
fllor Feb 23, 2023
7c7542a
Use hard-coded thresholds in PFRecHitProducer kernel
fllor Feb 23, 2023
29912c7
Make PFRecHit CPU/Alpaka comparion more rigorous
fllor Feb 23, 2023
50fc428
Cleanup
fllor Feb 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion DQM/DTMonitorModule/src/DTDataIntegrityTask.cc
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,6 @@ void DTDataIntegrityTask::processFED(DTuROSFEDData& data, int fed) {
//Divide by 2 for egde FEDs to normalize per wheel
sumNotOKFlag = sumNotOKFlag / ((wheel != 0) ? 2. : 1.);
sumTDC = sumTDC / ((wheel != 0) ? 2. : 1.);

if (sumNotOKFlag > nLinksForFatal || sumTDC > nLinksForFatal)
hFEDFatal->Fill(fed);
}
Expand Down
9 changes: 7 additions & 2 deletions DataFormats/ParticleFlowReco/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@
<use name="FWCore/MessageLogger"/>
<use name="rootcore"/>
<use name="rootmath"/>
<flags LCG_DICT_HEADER="classes_1.h classes_2.h"/>
<flags LCG_DICT_XML="classes_def_1.xml classes_def_2.xml"/>
<use name="eigen"/>
<use name="DataFormats/Portable"/>
<use name="DataFormats/SoATemplate"/>
<use name="HeterogeneousCore/AlpakaInterface"/>
<flags ALPAKA_BACKENDS="1"/>
<export>
<lib name="1"/>
</export>


Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef ParticleFlowReco_CaloRecHitHostCollection_h
#define ParticleFlowReco_CaloRecHitHostCollection_h

#include "DataFormats/Portable/interface/PortableHostCollection.h"
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h"

using CaloRecHitHostCollection = PortableHostCollection<CaloRecHitSoA>;

#endif
17 changes: 17 additions & 0 deletions DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#ifndef ParticleFlowReco_CaloRecHitSoA_h
#define ParticleFlowReco_CaloRecHitSoA_h

#include <cstdint>
#include "DataFormats/SoATemplate/interface/SoACommon.h"
#include "DataFormats/SoATemplate/interface/SoALayout.h"
#include "DataFormats/SoATemplate/interface/SoAView.h"

GENERATE_SOA_LAYOUT(CaloRecHitSoALayout,
SOA_COLUMN(uint32_t, detId),
SOA_COLUMN(float, energy),
SOA_COLUMN(float, time)
)

using CaloRecHitSoA = CaloRecHitSoALayout<>;

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#ifndef ParticleFlowReco_PFRecHitHostCollection_h
#define ParticleFlowReco_PFRecHitHostCollection_h

#include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"
#include "DataFormats/Portable/interface/PortableHostCollection.h"

using PFRecHitHostCollection = PortableHostCollection<PFRecHitSoA>;

#endif
26 changes: 26 additions & 0 deletions DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#ifndef ParticleFlowReco_PFRecHitSoA_h
#define ParticleFlowReco_PFRecHitSoA_h

#include <Eigen/Core>
#include <Eigen/Dense>

#include "DataFormats/SoATemplate/interface/SoACommon.h"
#include "DataFormats/SoATemplate/interface/SoALayout.h"
#include "DataFormats/SoATemplate/interface/SoAView.h"

#include "DataFormats/ParticleFlowReco/interface/PFLayer.h"

using Vec8 = Eigen::Matrix<uint32_t, 8, 1>;
GENERATE_SOA_LAYOUT(PFRecHitSoALayout,
SOA_COLUMN(uint32_t, detId),
SOA_COLUMN(float, energy),
SOA_COLUMN(float, time),
SOA_COLUMN(int, depth),
SOA_COLUMN(PFLayer::Layer, layer),
SOA_EIGEN_COLUMN(Vec8, neighbours),
SOA_SCALAR(uint32_t, size)
)

using PFRecHitSoA = PFRecHitSoALayout<>;

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef ParticleFlowReco_CaloRecHitDeviceCollection_h
#define ParticleFlowReco_CaloRecHitDeviceCollection_h

#include "DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h"
#include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
#include "HeterogeneousCore/AlpakaInterface/interface/config.h"

namespace ALPAKA_ACCELERATOR_NAMESPACE {
using CaloRecHitDeviceCollection = PortableCollection<CaloRecHitSoA>;
} // namespace ALPAKA_ACCELERATOR_NAMESPACE

#endif
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#ifndef ParticleFlowReco_PFRecHitDeviceCollection_h
#define ParticleFlowReco_PFRecHitDeviceCollection_h

#include "DataFormats/Portable/interface/alpaka/PortableCollection.h"
#include "HeterogeneousCore/AlpakaInterface/interface/config.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"

namespace ALPAKA_ACCELERATOR_NAMESPACE {
using PFRecHitDeviceCollection = PortableCollection<PFRecHitSoA>;
} // namespace ALPAKA_ACCELERATOR_NAMESPACE

#endif
7 changes: 7 additions & 0 deletions DataFormats/ParticleFlowReco/src/alpaka/classes_cuda.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "DataFormats/Common/interface/DeviceProduct.h"
#include "DataFormats/Common/interface/Wrapper.h"
#include "DataFormats/Portable/interface/Product.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/alpaka/PFRecHitDeviceCollection.h"
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/alpaka/CaloRecHitDeviceCollection.h"
9 changes: 9 additions & 0 deletions DataFormats/ParticleFlowReco/src/alpaka/classes_cuda_def.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<lcgdict>
<class name="alpaka_cuda_async::CaloRecHitDeviceCollection" persistent="false"/>
<class name="edm::DeviceProduct<alpaka_cuda_async::CaloRecHitDeviceCollection>" persistent="false"/>
<class name="edm::Wrapper<edm::DeviceProduct<alpaka_cuda_async::CaloRecHitDeviceCollection>>" persistent="false"/>

<class name="alpaka_cuda_async::PFRecHitDeviceCollection" persistent="false"/>
<class name="edm::DeviceProduct<alpaka_cuda_async::PFRecHitDeviceCollection>" persistent="false"/>
<class name="edm::Wrapper<edm::DeviceProduct<alpaka_cuda_async::PFRecHitDeviceCollection>>" persistent="false"/>
</lcgdict>
6 changes: 6 additions & 0 deletions DataFormats/ParticleFlowReco/src/alpaka/classes_serial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include "DataFormats/Common/interface/Wrapper.h"
#include "DataFormats/Portable/interface/Product.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHitHostCollection.h"
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitHostCollection.h"
29 changes: 29 additions & 0 deletions DataFormats/ParticleFlowReco/src/alpaka/classes_serial_def.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<lcgdict>
<class name="CaloRecHitHostCollection"/>
<read
sourceClass="CaloRecHitHostCollection"
targetClass="CaloRecHitHostCollection"
version="[1-]"
source="CaloRecHitSoA layout_;"
target="buffer_,layout_,view_"
embed="false">
<![CDATA[
CaloRecHitHostCollection::ROOTReadStreamer(newObj, onfile.layout_);
]]>
</read>
<class name="edm::Wrapper<CaloRecHitHostCollection>" splitLevel="0"/>

<class name="PFRecHitHostCollection"/>
<read
sourceClass="PFRecHitHostCollection"
targetClass="PFRecHitHostCollection"
version="[1-]"
source="PFRecHitSoA layout_;"
target="buffer_,layout_,view_"
embed="false">
<![CDATA[
PFRecHitHostCollection::ROOTReadStreamer(newObj, onfile.layout_);
]]>
</read>
<class name="edm::Wrapper<PFRecHitHostCollection>" splitLevel="0"/>
</lcgdict>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <DataFormats/Common/interface/ClonePolicy.h>
#include "DataFormats/Common/interface/ValueMap.h"

#include "DataFormats/ParticleFlowReco/interface/PFRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/CaloRecHitSoA.h"
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "Math/Cartesian3D.h"
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
Expand Down
54 changes: 0 additions & 54 deletions DataFormats/ParticleFlowReco/src/classes_1.h

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,68 @@
<lcgdict>
<selection>


<class name="reco::PFNuclearInteraction" ClassVersion="10">
<version ClassVersion="10" checksum="1573561360"/>
</class>
<class name="std::vector<reco::PFNuclearInteraction>" />
<class name="edm::Wrapper<std::vector<reco::PFNuclearInteraction> >" />
<class name="edm::Ref<std::vector<reco::PFNuclearInteraction>, reco::PFNuclearInteraction, edm::refhelper::FindUsingAdvance<std::vector<reco::PFNuclearInteraction>, reco::PFNuclearInteraction> >" />
<class name="edm::RefProd<std::vector<reco::PFNuclearInteraction> >" />
<class name="edm::RefVector<std::vector<reco::PFNuclearInteraction>, reco::PFNuclearInteraction, edm::refhelper::FindUsingAdvance<std::vector<reco::PFNuclearInteraction>, reco::PFNuclearInteraction> >" />


<class name="reco::PFDisplacedTrackerVertex" ClassVersion="10">
<version ClassVersion="10" checksum="2059737151"/>
</class>
<class name="std::vector<reco::PFDisplacedTrackerVertex>" />
<class name="edm::Wrapper<std::vector<reco::PFDisplacedTrackerVertex> >" />
<class name="edm::Ref<std::vector<reco::PFDisplacedTrackerVertex>, reco::PFDisplacedTrackerVertex, edm::refhelper::FindUsingAdvance<std::vector<reco::PFDisplacedTrackerVertex>, reco::PFDisplacedTrackerVertex> >" />
<class name="edm::RefProd<std::vector<reco::PFDisplacedTrackerVertex> >" />
<class name="edm::RefVector<std::vector<reco::PFDisplacedTrackerVertex>, reco::PFDisplacedTrackerVertex, edm::refhelper::FindUsingAdvance<std::vector<reco::PFDisplacedTrackerVertex>, reco::PFDisplacedTrackerVertex> >" />

<class name="reco::PFConversion" ClassVersion="10">
<version ClassVersion="10" checksum="2417207933"/>
</class>
<class name="std::vector<reco::PFConversion>"/>
<class name="edm::Wrapper<std::vector<reco::PFConversion> >"/>
<class name="edm::Ref<std::vector<reco::PFConversion>,reco::PFConversion,edm::refhelper::FindUsingAdvance<std::vector<reco::PFConversion>,reco::PFConversion> >"/>
<class name="edm::RefProd<std::vector<reco::PFConversion> >"/>
<class name="edm::RefVector<std::vector<reco::PFConversion>,reco::PFConversion,edm::refhelper::FindUsingAdvance<std::vector<reco::PFConversion>,reco::PFConversion> >"/>
<class name="std::vector<edm::Ref<std::vector<reco::PFRecTrack>,reco::PFRecTrack,edm::refhelper::FindUsingAdvance<std::vector<reco::PFRecTrack>,reco::PFRecTrack> > >"/>

<class name="reco::PFV0" ClassVersion="10">
<version ClassVersion="10" checksum="40832700"/>
</class>
<class name="std::vector<reco::PFV0>" />
<class name="edm::Wrapper<std::vector<reco::PFV0> >" />
<class name="edm::Ref<std::vector<reco::PFV0>, reco::PFV0, edm::refhelper::FindUsingAdvance<std::vector<reco::PFV0>, reco::PFV0> >" />
<class name="edm::RefProd<std::vector<reco::PFV0> >" />
<class name="edm::RefVector<std::vector<reco::PFV0>, reco::PFV0, edm::refhelper::FindUsingAdvance<std::vector<reco::PFV0>, reco::PFV0> >" />
<class name="edm::Ref<std::vector<reco::VertexCompositeCandidate>,reco::VertexCompositeCandidate,edm::refhelper::FindUsingAdvance<std::vector<reco::VertexCompositeCandidate>,reco::VertexCompositeCandidate> >" />


<class name="reco::ConvBremSeed" ClassVersion="12">
<version ClassVersion="10" checksum="2980747190"/>
<version ClassVersion="11" checksum="637662266"/>
<version ClassVersion="12" checksum="2604169839"/>
</class>
<class name="std::vector<reco::ConvBremSeed>"/>
<class name="edm::Ref<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed,edm::refhelper::FindUsingAdvance<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed> >"/>
<class name="edm::RefProd<std::vector<reco::ConvBremSeed> >"/>
<class name="edm::Wrapper<std::vector<reco::ConvBremSeed> >"/>
<class name="edm::RefVector<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed,edm::refhelper::FindUsingAdvance<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed> >"/>
<class name="edm::Wrapper<edm::RefVector<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed,edm::refhelper::FindUsingAdvance<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed> > >"/>
<class name="edm::RefToBase<reco::ConvBremSeed>"/>
<class name="edm::reftobase::BaseHolder<reco::ConvBremSeed>" />
<class name="edm::reftobase::RefHolder<edm::Ref<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed,edm::refhelper::FindUsingAdvance<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed> > >"/>
<class name="edm::reftobase::Holder<reco::ConvBremSeed,edm::Ref<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed,edm::refhelper::FindUsingAdvance<std::vector<reco::ConvBremSeed>,reco::ConvBremSeed> > >"/>

<class name="CaloRecHitSoA"/>
<class name="CaloRecHitSoA::View"/>
<class name="PFRecHitSoA"/>
<class name="PFRecHitSoA::View"/>

<class name="reco::PFCluster" ClassVersion="17">
<version ClassVersion="17" checksum="3021111509"/>
<version ClassVersion="16" checksum="1786894710"/>
Expand Down
64 changes: 0 additions & 64 deletions DataFormats/ParticleFlowReco/src/classes_def_1.xml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,8 @@
for idz, z in enumerate(y.cuts): # convert signed to unsigned
if z.detectorEnum == 1: # HB
z.detectorEnum = cms.uint32( 1 )
z.depth = cms.vuint32( 1, 2, 3, 4 )
if z.detectorEnum == 2: # HE
z.detectorEnum = cms.uint32( 2 )
z.depth = cms.vuint32( 1, 2, 3, 4, 5, 6, 7 )

process.hltParticleFlowRecHitHBHEonGPU = cms.EDProducer("PFHBHERechitProducerGPU", # instead of "PFRecHitProducer"
producers = _pset_hltParticleFlowRecHitHBHE_producers_mod,
Expand Down
Loading