![]() |
Hydra
4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
|
Flags generated events as accepted (1) or rejected (0). More...
#include <FlagAcceptReject.h>
Public Member Functions | |
| FlagAcceptReject (const size_t seed, const GReal_t wmax) | |
| FlagAcceptReject constructor. More... | |
| __hydra_host__ __hydra_device__ size_t | hash (size_t a, size_t b) |
| hash function. More... | |
| __hydra_host__ __hydra_device__ GBool_t | operator() (size_t idx, GReal_t weight) |
| operator(). More... | |
Data Fields | |
| size_t | fSeed |
| GReal_t | fWmax |
| maximum weight More... | |
Flags generated events as accepted (1) or rejected (0).
|
inline |
FlagAcceptReject constructor.
It is initialized with the value of the maximum weight with which event weights will be compared.
|
inline |
hash function.
Generate hashs to be used in random number generation initialization
|
inline |
operator().
Takes the events index and weight and so flag it as accepted and rejected
| size_t hydra::detail::FlagAcceptReject::fSeed |
| GReal_t hydra::detail::FlagAcceptReject::fWmax |
maximum weight