MCBooster
1.0.1
Tool to generate MC phase space samples in parallel.
|
Flags generated events as accepted (1) or rejected (0). More...
#include <FlagAcceptReject.h>
Public Member Functions | |
FlagAcceptReject (const GReal_t _wmax) | |
FlagAcceptReject constructor. More... | |
__host__ __device__ GUInt_t | hash (GUInt_t a) |
hash function. More... | |
__host__ __device__ GBool_t | operator() (GLong_t idx, GReal_t weight) |
operator(). More... | |
Public Attributes | |
GReal_t | wmax |
maximum weight More... | |
Definition at line 44 of file FlagAcceptReject.h.
|
inline |
It is initialized with the value of the maximum weight with which event weights will be compared.
Definition at line 52 of file FlagAcceptReject.h.
Generate hashs to be used in random number generation initialization
Definition at line 59 of file FlagAcceptReject.h.
Referenced by operator()().
|
inline |
Takes the events index and weight and so flag it as accepted and rejected
Definition at line 73 of file FlagAcceptReject.h.
References hash().
GReal_t MCBooster::FlagAcceptReject::wmax |
Definition at line 47 of file FlagAcceptReject.h.