SelectionTemplate (Python)
The SelectionTemplate Cython class wraps the C++ selection_template.
User selection classes must subclass it and override selection (and
optionally strategy, Postprocessing, merge).
Special Methods
Signature |
Description |
|---|---|
|
Hash derived from the event hash string. |
|
Pickle-serialise or restore the selection object. |
|
Return the per-variable weight maps for the given event hash. |
|
Re-run over a saved selection ROOT output file to populate
|
|
Hook called after all events are processed. Override to produce plots or derived quantities. |
Properties
Property |
Type |
Description |
|---|---|---|
|
|
Map of passed event hashes to their per-variable weight maps. |
|
|
Dictionary of |
C++ Interface
Method / field |
Description |
|---|---|
|
Override: return |
|
Override: additional processing for accepted events. |
|
Override: merge parallel results into |
|
Serialise a list of particle attributes to the output ROOT tree. |