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

#include <GenerateDecay.h>

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

Public Types

typedef hydra::detail::tuple_cat_type< hydra::thrust::tuple< double >, typename hydra::detail::tuple_type< N, Vector4R >::type >::type result_type
 

Public Member Functions

 GenerateDecay (Vector4R const &mother, const GReal_t(&masses)[N], const GInt_t _seed)
 
 GenerateDecay (Vector4R const &mother, std::array< double, N > const &masses, const GInt_t _seed)
 
__hydra_host__ __hydra_device__ GenerateDecay (GenerateDecay< N, GRND > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
template<typename I >
__hydra_host__ __hydra_device__ result_type operator() (I evt)
 
__hydra_host__ __hydra_device__ GReal_t process (size_t evt, Vector4R(&daugters)[N])
 

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 fBeta0
 
GReal_t fBeta1
 
GReal_t fBeta2
 
GReal_t fMasses [N]
 
GInt_t fSeed
 
GReal_t fTeCmTm
 
GReal_t fWtMax
 

Detailed Description

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

Member Typedef Documentation

◆ result_type

template<size_t N, typename GRND >
typedef hydra::detail::tuple_cat_type< hydra::thrust::tuple<double>, typename hydra::detail::tuple_type<N,Vector4R>::type >::type hydra::detail::GenerateDecay< N, GRND >::result_type

Constructor & Destructor Documentation

◆ GenerateDecay() [1/3]

template<size_t N, typename GRND >
hydra::detail::GenerateDecay< N, GRND >::GenerateDecay ( Vector4R const &  mother,
const GReal_t(&)  masses[N],
const GInt_t  _seed 
)
inline

◆ GenerateDecay() [2/3]

template<size_t N, typename GRND >
hydra::detail::GenerateDecay< N, GRND >::GenerateDecay ( Vector4R const &  mother,
std::array< double, N > const &  masses,
const GInt_t  _seed 
)
inline

◆ GenerateDecay() [3/3]

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

Member Function Documentation

◆ bbsort()

template<size_t N, typename GRND >
__hydra_host__ __hydra_device__ void hydra::detail::GenerateDecay< 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::GenerateDecay< N, GRND >::hash ( const size_t  a,
const size_t  b 
)
inlinestatic

◆ operator()()

template<size_t N, typename GRND >
template<typename I >
__hydra_host__ __hydra_device__ result_type hydra::detail::GenerateDecay< N, GRND >::operator() ( evt)
inline

◆ pdk()

template<size_t N, typename GRND >
__hydra_host__ static __hydra_device__ GReal_t hydra::detail::GenerateDecay< 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::GenerateDecay< N, GRND >::process ( size_t  evt,
Vector4R(&)  daugters[N] 
)
inline

Field Documentation

◆ fBeta0

template<size_t N, typename GRND >
GReal_t hydra::detail::GenerateDecay< N, GRND >::fBeta0

◆ fBeta1

template<size_t N, typename GRND >
GReal_t hydra::detail::GenerateDecay< N, GRND >::fBeta1

◆ fBeta2

template<size_t N, typename GRND >
GReal_t hydra::detail::GenerateDecay< N, GRND >::fBeta2

◆ fMasses

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

◆ fSeed

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

◆ fTeCmTm

template<size_t N, typename GRND >
GReal_t hydra::detail::GenerateDecay< N, GRND >::fTeCmTm

◆ fWtMax

template<size_t N, typename GRND >
GReal_t hydra::detail::GenerateDecay< N, GRND >::fWtMax

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