![]() |
AmpGen 2.1
|
Encapsulates the final state particles of a single event, or candidate in the language of proton-proton collisions. Typically will store (i) the event kinematics, i.e. four-momenta, (ii). the weight of the given event/candidate, (iii). The probability that the event was generated with, in the case of a simulated event
Public Member Functions | |
Event ()=default | |
Event (const unsigned &N) | |
Event (const real_t *data, const unsigned &N) | |
void | set (const unsigned &i, const std::vector< real_t > &p) |
void | set (const unsigned &i, const real_t *p) |
void | set (const real_t *evt) |
void | set (const unsigned &i, const real_t &p) |
void | swap (const unsigned int &i, const unsigned int &j) |
unsigned | size () const |
real_t * | pWeight () |
real_t * | pGenPdf () |
const real_t * | address (const unsigned &ref=0) const |
real_t * | address (const unsigned &ref=0) |
real_t | weight () const |
real_t | genPdf () const |
real_t | operator[] (const unsigned &i) const |
real_t & | operator[] (const unsigned &i) |
operator const real_t * () const | |
operator real_t * () | |
void | setWeight (const real_t &weight) |
void | setGenPdf (const real_t &genPdf) |
void | extendEvent (const real_t &value) |
void | print () const |
void | setIndex (const unsigned &index) |
unsigned | index () const |
real_t | s (const unsigned &index) const |
real_t | s (const unsigned &index1, const unsigned &index2) const |
real_t | s (const unsigned &index1, const unsigned &index2, const unsigned &index3) const |
real_t | s (const std::vector< unsigned > &indices) const |
void | reorder (const std::vector< unsigned > &addresses) |
const std::vector< real_t > & | data () const |
|
default |
AmpGen::Event::Event | ( | const unsigned & | N | ) |
AmpGen::Event::Event | ( | const real_t * | data, |
const unsigned & | N ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void AmpGen::Event::print | ( | ) | const |
void AmpGen::Event::reorder | ( | const std::vector< unsigned > & | addresses | ) |
real_t AmpGen::Event::s | ( | const std::vector< unsigned > & | indices | ) | const |
real_t AmpGen::Event::s | ( | const unsigned & | index | ) | const |
real_t AmpGen::Event::s | ( | const unsigned & | index1, |
const unsigned & | index2 ) const |
real_t AmpGen::Event::s | ( | const unsigned & | index1, |
const unsigned & | index2, | ||
const unsigned & | index3 ) const |
void AmpGen::Event::set | ( | const real_t * | evt | ) |
void AmpGen::Event::set | ( | const unsigned & | i, |
const real_t & | p ) |
void AmpGen::Event::set | ( | const unsigned & | i, |
const real_t * | p ) |
void AmpGen::Event::set | ( | const unsigned & | i, |
const std::vector< real_t > & | p ) |
|
inline |
|
inline |
|
inline |
void AmpGen::Event::swap | ( | const unsigned int & | i, |
const unsigned int & | j ) |