pylhe
Modules:
pylhe
pylhe.read_lhe
pylhe.read_lhe_file
pylhe.read_lhe_init
pylhe.read_lhe_with_attributes
pylhe.read_num_events
pylhe.write_lhe_file
pylhe.write_lhe_file_path
pylhe.write_lhe_file_string
write_lhe_file_string()
pylhe.write_lhe_string
pylhe.LHEEvent
pylhe.LHEEventInfo
pylhe.LHEFile
pylhe.LHEInit
pylhe.LHEInitInfo
pylhe.LHEParticle
pylhe.LHEProcInfo
pylhe.awkward
Examples:
Z peak example
Filter LHE Events
Simple
\(e^+e^- \to \mu^+ \mu^- \)
Monte Carlo Event Generator example
Awkward Example
Dealing with Multiple LHE Files
Speed Up Analysis Code with Parquet Cache
Links:
GitHub
pylhe
pylhe
pylhe.write_lhe_file_string
View page source
pylhe.write_lhe_file_string
pylhe.
write_lhe_file_string
(
lhefile
:
LHEFile
,
rwgt
:
bool
=
True
,
weights
:
bool
=
False
)
→
str
[source]
Return the LHE file as a string.