Skip to content
Draft
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
d49bef6
add histo structure
jackaraz Oct 29, 2025
76f44a4
initialise multiweight
jackaraz Oct 29, 2025
678a657
tmp bugfix
jackaraz Oct 29, 2025
760a359
bugfix
jackaraz Oct 29, 2025
95a85e7
update
jackaraz Oct 29, 2025
80a308e
update setup
jackaraz Oct 30, 2025
754d4e4
bugfix
jackaraz Oct 30, 2025
8d95e0f
Merge branch 'multiweight-light' of https://github.com/MadAnalysis/ma…
jackaraz Oct 30, 2025
6fe7d46
Merge branch 'substructure' into multiweight-light
jackaraz Nov 5, 2025
b511c0a
Merge branch 'substructure' into multiweight-light
jackaraz Nov 10, 2025
0a12237
update delphes recast
jackaraz Nov 17, 2025
34b093d
Merge branch 'substructure' into multiweight-light
jackaraz Nov 17, 2025
ba4b147
improve formatting
jackaraz Nov 17, 2025
dbdae6e
minor bugfixes
jackaraz Nov 17, 2025
6f61970
add a tester
jackaraz Nov 17, 2025
a19ba06
add documentation
jackaraz Nov 18, 2025
9ec94d8
extend tests
jackaraz Nov 18, 2025
996a695
convert weight datastructure from map to vector
jackaraz Nov 19, 2025
02f730e
additional operators
jackaraz Nov 19, 2025
e140bed
update
jackaraz Nov 19, 2025
97884cf
update
jackaraz Nov 19, 2025
b7984a2
Merge branch 'substructure' into multiweight-light
jackaraz Nov 21, 2025
499a292
fix delphes exe in linux
jackaraz Nov 21, 2025
9144900
dont check size if not included
jackaraz Nov 28, 2025
9dfdf0b
simplify
jackaraz Nov 28, 2025
bb20ea5
warning -> debug
jackaraz Nov 28, 2025
e10ce21
modify the pad installation
jackaraz Dec 4, 2025
fbecc27
output fix
jackaraz Dec 4, 2025
76af3f8
fix histo freq initialisation
jackaraz Dec 12, 2025
2042d6b
cosmetics
jackaraz Mar 20, 2026
dff753e
Making the multiweight treatment backward compatible
BFuks Apr 1, 2026
21e3ae5
bug fix: default invisible particles
BFuks Apr 1, 2026
2061457
Rebranding the validation suite
BFuks Apr 2, 2026
97a9d6f
Update of the copyrights + rebranding the validation
BFuks Apr 2, 2026
42c6bb0
new sample for tests
BFuks Apr 2, 2026
a640971
bug in reading the dataset SAF files for multiweight event files
BFuks Apr 2, 2026
7f9a36d
Fixing filling histogram data for event files with multiple weights
BFuks Apr 2, 2026
61d2802
removal of the override of the initialisation of the HistoLogX
BFuks Apr 2, 2026
3b7122f
restoring backward compatibility for multiweighted event files
BFuks Apr 3, 2026
5ca59bd
updating the validation script
BFuks Apr 3, 2026
bb29dec
Bug fix when recasting an analysis with pyhf (logger issues)
BFuks Jun 25, 2026
db8084d
small cleaning
BFuks Jun 25, 2026
7168739
Truly forcing a recast run in 'forced' mode
BFuks Jul 2, 2026
2db67a7
Updating the PAD for the multiweight branch
BFuks Jul 2, 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
6 changes: 4 additions & 2 deletions madanalysis/IOinterface/job_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,9 @@ def CreateMainFct(self, file, analysisName, outputName):
file.write("\n\n /// Setting the random seed\n")
file.write(f" RANDOM->SetSeed({self.main.random_seed});\n\n")

# Add default hadrons and invisible particles for Reco mode
if self.main.mode == MA5RunningType.RECO:
# Add default hadrons and invisible particles for RECO and HADRON mode
# The invisible container may also be changed when runnign the code in HADRON mode.
if self.main.mode in [MA5RunningType.RECO, MA5RunningType.HADRON]:
file.write("\n // Initializing PhysicsService for MC\n")
file.write(" PHYSICS->mcConfig().Reset();\n")
file.write(' // definition of the multiparticle "hadronic"\n')
Expand Down Expand Up @@ -735,6 +736,7 @@ def CreateMainFct(self, file, analysisName, outputName):
file.write(" fastsim1->Execute(mySample,myEvent);\n")
elif self.main.fastsim.package == "delphesMA5tune":
file.write(" fastsim1->Execute(mySample,myEvent);\n")
file.write(" manager.PrepareForExecution(mySample, myEvent);\n")
file.write(" if (!analyzer1->Execute(mySample,myEvent)) continue;\n")
if self.output != "" and not self.output.lower().endswith("root"):
file.write(" writer1->WriteEvent(myEvent,mySample);\n")
Expand Down
Loading