pylhe
Modules:
pylhe
pylhe.read_lhe
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
pylhe.write_lhe_string
pylhe.LHEEvent
pylhe.LHEEventInfo
pylhe.LHEFile
pylhe.LHEInit
pylhe.LHEInitInfo
pylhe.LHEParticle
pylhe.LHEProcInfo
pylhe.LHEWeightGroup
pylhe.LHEWeightInfo
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.read_lhe
View page source
pylhe.read_lhe
pylhe.
read_lhe
(
filepath
:
str
|
bytes
|
PathLike
[
str
]
|
PathLike
[
bytes
]
)
→
Iterable
[
LHEEvent
]
[source]
Read and yield the events in the LHE file.