Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ CONSTANTS = {
#
"AdditionalDropCollectionsREC": [
"BCAL",
"FTDCollection",
"BeamCalCollection",
"EcalEndcapsCollectionGapHits", # NOT EMPTY, encoding missing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remind me where the missing encoding string becomes a problem?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might have been a hotfix for key4hep/k4MarlinWrapper#477. Not sure though

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it still possible to check that easily somehow? IIRC that failed in the event display, right? Might be as quick as removing this from being dropped and trying to run an event display(?).

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is also what I remember. The event display has obviously to be called via the k4MarlinWrapper ...

"FTDCollection",
"FTD_PIXELCollection",
"FTD_STRIPCollection",
"RelationBCalHit",
"FTDPixelTrackerHitRelations",
"FTDPixelTrackerHits",
"FTDSpacePointRelations",
Expand All @@ -111,14 +111,15 @@ CONSTANTS = {
"FTD_STRIPCollection",
"LHCalCollection",
"LHCAL",
"RelationBCalHit",
"RelationLHcalHit",
"SITCollection",
"SITTrackerHitRelations",
"SITTrackerHits",
"SiTracks",
"VXDCollection",
"VXDTrackerHitRelations",
"VXDTrackerHits"
"VXDTrackerHits",
]

}
2 changes: 2 additions & 0 deletions StandardConfig/production/ILDReconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ def get_cms_energy_config(

output_commands = ["keep *"]
output_commands.extend(get_drop_collections(CONSTANTS, True))
# get_drop_collections incorrectly splits "type edm4hep::..." into two separate drops

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe consider renaming get_drop_collections to something that includes calibration since they are there for calibration.

output_commands.append("drop type edm4hep::RecDqdxCollection")
io_handler.add_edm4hep_writer(
f"{reco_args.outputFileBase}_REC.edm4hep.root", output_commands
)
Expand Down
Loading