Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
e23c826
Introduce compact truth graph data structure
felicepantaleo Mar 5, 2026
1220e28
Add necessary build and dictionary files for TruthGraph
felicepantaleo Mar 5, 2026
27535f2
Implement TruthGraphProducer for event graph construction
felicepantaleo Mar 5, 2026
fdf02ea
Add dumper module for graph visualization and inspection
felicepantaleo Mar 5, 2026
3add5a9
Add plugin build configuration for producer and dumper modules
felicepantaleo Mar 5, 2026
25e3390
Add Python configuration fragment for TruthGraphProducer
felicepantaleo Mar 5, 2026
3024f29
Create standalone truth logical graph
felicepantaleo May 8, 2026
a5a2ddd
Draft README
felicepantaleo May 11, 2026
005afc8
Add possibility to filter mother by pdgid
felicepantaleo May 11, 2026
06d1ed4
Add generator status flags to truth graphs
felicepantaleo May 11, 2026
30478e2
Collapse intermediate same-PDG GEN particle chains
felicepantaleo May 11, 2026
0ffec26
Dump information also as DOT file attributes
tcuisset May 11, 2026
ba2eec6
code format
felicepantaleo May 11, 2026
84f94a1
Quote DOT attributes in truth graph dumper
felicepantaleo May 11, 2026
ef8d9e1
Add extra DOT file labels to TruthLogicalGraphDumper (#64)
tcuisset May 11, 2026
3a145bf
format
felicepantaleo May 11, 2026
664d362
Introduce logical graph post-processing step
felicepantaleo May 11, 2026
4dfadc5
Keep GEN momentum for merged logical truth particles
felicepantaleo May 11, 2026
a556325
Adding a simple standalone cfg
felicepantaleo May 11, 2026
0388260
Process multiple files at same time
felicepantaleo May 12, 2026
696b7c5
Build GEN-SIM particle links only for primary SimTracks
felicepantaleo May 12, 2026
07b437b
Improve TruthLogicalGraph DOT dumping
felicepantaleo May 12, 2026
1f551a7
Label TruthGraph DOT edges with explicit edge types
felicepantaleo May 12, 2026
a9b0a97
Dot simToGen edge
felicepantaleo May 12, 2026
d6f1dde
Add SimHits to SimTracks
felicepantaleo May 12, 2026
1c14deb
code format
felicepantaleo May 12, 2026
e178d63
Add new SimHitToRecHitMap
felicepantaleo May 12, 2026
b791ef4
Add associated rechits and energy to truth particles
felicepantaleo May 12, 2026
4c40757
Update README
felicepantaleo May 12, 2026
6ffb5f7
adding rechits
felicepantaleo May 13, 2026
00a7e0b
adding possibility to hide truth particles with no simhits
felicepantaleo May 13, 2026
c0e6190
add argparser
IzaakWN May 13, 2026
9c2d710
Separate postprocessing
felicepantaleo May 13, 2026
52b592c
code format
felicepantaleo May 13, 2026
ccb99ab
make input file optional (#66)
IzaakWN May 13, 2026
470a299
dump simhits & rechits (#67)
tcuisset May 13, 2026
36c8b20
Add unit tests for TruthLogicalGraphPostProcessor
felicepantaleo May 15, 2026
e03e2a6
make code check happy
felicepantaleo May 15, 2026
806d289
format
felicepantaleo May 15, 2026
558c5e6
Create enableTruth ProcessModifier
felicepantaleo May 15, 2026
9daf9b8
Create enableTruth Run4 workflows
felicepantaleo May 15, 2026
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
3 changes: 3 additions & 0 deletions Configuration/ProcessModifiers/python/enableTruth_cff.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import FWCore.ParameterSet.Config as cms

enableTruth = cms.Modifier()
Original file line number Diff line number Diff line change
Expand Up @@ -1094,6 +1094,33 @@ def condition(self, fragment, stepList, key, hasHarvest):
upgradeWFs['ticlv5_TrackLinkingGNN'].step3 = {'--procModifiers': 'ticlv5_TrackLinkingGNN'}
upgradeWFs['ticlv5_TrackLinkingGNN'].step4 = {'--procModifiers': 'ticlv5_TrackLinkingGNN'}



class UpgradeWorkflow_enableTruth(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
if 'RecoGlobal' in step:
stepDict[stepName][k] = deepcopy(stepDict[step][k])

if '--procModifiers' in stepDict[stepName][k]:
stepDict[stepName][k]['--procModifiers'] += ',enableTruth'
else:
stepDict[stepName][k]['--procModifiers'] = 'enableTruth'

def condition(self, fragment, stepList, key, hasHarvest):
return 'Run4' in key


upgradeWFs['enableTruth'] = UpgradeWorkflow_enableTruth(
steps = [
'RecoGlobal',
],
PU = [
'RecoGlobal',
],
suffix = '_enableTruth',
offset = 0.88,
)

# L3 Tracker Muon Outside-In reconstruction first
class UpgradeWorkflow_phase2L3MuonsOIFirst(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
Expand Down
9 changes: 9 additions & 0 deletions PhysicsTools/TruthInfo/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<use name="FWCore/Framework"/>
<use name="FWCore/Utilities"/>
<use name="DataFormats/Common"/>
<use name="DataFormats/Math"/>
<use name="FWCore/ParameterSet"/>

<export>
<lib name="1"/>
</export>
Loading