Hydra  4.0.1
A header-only templated C++ framework to perform data analysis on massively parallel platforms.
hydra::detail::DecayMothers< N, GRND > Struct Template Reference

#include <DecayMothers.h>

Collaboration diagram for hydra::detail::DecayMothers< N, GRND >:

Public Types

typedef tuple_type< N, hydra::Vector4R >::type particles_tuple_type
 

Public Member Functions

 DecayMothers (const GReal_t(&masses)[N], double maxweight, double ecm, size_t _seed)
 
__hydra_host__ __hydra_device__ DecayMothers (DecayMothers< N, GRND > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
__hydra_host__ __hydra_device__ particles_tuple_type operator() (size_t evt, Vector4R const &mother)
 
__hydra_host__ __hydra_device__ GReal_t process (size_t evt, Vector4R(&particles)[N+1])
 

Static Public Member Functions

__hydra_host__ __hydra_device__ static constexpr size_t hash (const size_t a, const size_t b)
 
__hydra_host__ static __hydra_device__ GReal_t pdk (const GReal_t a, const GReal_t b, const GReal_t c)
 

Data Fields

GReal_t fECM
 
GReal_t fMasses [N]
 
GReal_t fMaxWeight
 
size_t fSeed
 

Detailed Description

template<size_t N, typename GRND>
struct hydra::detail::DecayMothers< N, GRND >

Member Typedef Documentation

◆ particles_tuple_type

template<size_t N, typename GRND >
typedef tuple_type<N, hydra::Vector4R>::type hydra::detail::DecayMothers< N, GRND >::particles_tuple_type

Constructor & Destructor Documentation

◆ DecayMothers() [1/2]

template<size_t N, typename GRND >
hydra::detail::DecayMothers< N, GRND >::DecayMothers ( const GReal_t(&)  masses[N],
double  maxweight,
double  ecm,
size_t  _seed 
)
inline

◆ DecayMothers() [2/2]

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ hydra::detail::DecayMothers< N, GRND >::DecayMothers ( DecayMothers< N, GRND > const &  other)
inline

Member Function Documentation

◆ bbsort()

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ void hydra::detail::DecayMothers< N, GRND >::bbsort ( GReal_t array,
GInt_t  n 
)
inline

◆ hash()

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ static constexpr size_t hydra::detail::DecayMothers< N, GRND >::hash ( const size_t  a,
const size_t  b 
)
inlinestatic

◆ operator()()

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ particles_tuple_type hydra::detail::DecayMothers< N, GRND >::operator() ( size_t  evt,
Vector4R const &  mother 
)
inline

◆ pdk()

template<size_t N, typename GRND >
__hydra_host__ static __hydra_device__ GReal_t hydra::detail::DecayMothers< N, GRND >::pdk ( const GReal_t  a,
const GReal_t  b,
const GReal_t  c 
)
inlinestatic

◆ process()

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ GReal_t hydra::detail::DecayMothers< N, GRND >::process ( size_t  evt,
Vector4R(&)  particles[N+1] 
)
inline

Field Documentation

◆ fECM

template<size_t N, typename GRND >
GReal_t hydra::detail::DecayMothers< N, GRND >::fECM

◆ fMasses

template<size_t N, typename GRND >
GReal_t hydra::detail::DecayMothers< N, GRND >::fMasses[N]

◆ fMaxWeight

template<size_t N, typename GRND >
GReal_t hydra::detail::DecayMothers< N, GRND >::fMaxWeight

◆ fSeed

template<size_t N, typename GRND >
size_t hydra::detail::DecayMothers< N, GRND >::fSeed

The documentation for this struct was generated from the following file: