![]() |
JHUGen MELA
JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
|
These functions are factories for datatypes that either need to be created differently in Python bindings or make it much easier to do so. More...

Functions | |
| SimpleParticle_t | particle_initializer (int id, float x, float y, float z, float e, bool ptEtaPhi=false) |
| This function intializes a single SimpleParticle_t in the Python. More... | |
| SimpleParticleCollection_t | collection_initializer_from_column (std::vector< int > ids, std::vector< double > x, std::vector< double > y, std::vector< double > z, std::vector< double > e, bool ptEtaPhi=false) |
| This function initializes a single SimpleParticleCollection_t (or a list of SimpleParticle_t) in the Python from a series of lists. More... | |
| SimpleParticleCollection_t | collection_initializer (py::list listOfParticles) |
| This function initializes a single SimpleParticleCollection_t (or a list of SimpleParticle_t) in the Python from a single list. More... | |
These functions are factories for datatypes that either need to be created differently in Python bindings or make it much easier to do so.
| SimpleParticleCollection_t collection_initializer | ( | py::list | listOfParticles | ) |
This function initializes a single SimpleParticleCollection_t (or a list of SimpleParticle_t) in the Python from a single list.
| listOfParticles | A list of SimpleParticle_t objects |
Definition at line 367 of file mela_binding.cpp.
| SimpleParticleCollection_t collection_initializer_from_column | ( | std::vector< int > | ids, |
| std::vector< double > | x, | ||
| std::vector< double > | y, | ||
| std::vector< double > | z, | ||
| std::vector< double > | e, | ||
| bool | ptEtaPhi = false |
||
| ) |
This function initializes a single SimpleParticleCollection_t (or a list of SimpleParticle_t) in the Python from a series of lists.
| ids | a list of PDG ids |
| x | A list of either the pX or the pT of the vectors |
| y | A list of either the pY or the Eta of the vectors |
| z | A list of either the pZ or the Phi of the Vectors |
| e | A list of either the Energy or the Mass of the vectors |
| ptEtaPhi | if true, interpret the vector using <pT, Eta, Phi, m>. Otherwise, use <pX, pY, pZ, E> |
Definition at line 349 of file mela_binding.cpp.
| SimpleParticle_t particle_initializer | ( | int | id, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | e, | ||
| bool | ptEtaPhi = false |
||
| ) |
This function intializes a single SimpleParticle_t in the Python.
| id | The particle PDG ID |
| x | Either the pX or the pT of the vector |
| y | Either the pY or the Eta of the vector |
| z | Either the pZ or the Phi of the Vector |
| e | Either the Energy or the Mass of the vector |
| ptEtaPhi | if true, interpret the vector using <pT, Eta, Phi, m>. Otherwise, use <pX, pY, pZ, E> |
Definition at line 328 of file mela_binding.cpp.