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

#include <EvalDaughters.h>

Collaboration diagram for hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >:

Public Member Functions

 EvalOnDaughters (FUNCTOR const &functor, Vector4R const &mother, const GReal_t(&masses)[N], const GInt_t _seed)
 
__hydra_host__ __hydra_device__ EvalOnDaughters (EvalOnDaughters< N, BACKEND, FUNCTOR, GRND > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
template<typename I >
__hydra_host__ __hydra_device__ ResultPHSP 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
 
FUNCTOR fFunctor
 
GReal_t fMasses [N]
 
const GInt_t fSeed
 
GReal_t fTeCmTm
 
GReal_t fWtMax
 

Detailed Description

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR, typename GRND>
struct hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >

Constructor & Destructor Documentation

◆ EvalOnDaughters() [1/2]

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

◆ EvalOnDaughters() [2/2]

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
__hydra_host__ __hydra_device__ hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::EvalOnDaughters ( EvalOnDaughters< N, BACKEND, FUNCTOR, GRND > const &  other)
inline

Member Function Documentation

◆ bbsort()

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

◆ hash()

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

◆ operator()()

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
template<typename I >
__hydra_host__ __hydra_device__ ResultPHSP hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::operator() ( evt)
inline

◆ pdk()

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

◆ process()

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
__hydra_host__ __hydra_device__ GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::process ( size_t  evt,
Vector4R(&)  daugters[N] 
)
inline

Field Documentation

◆ fBeta0

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fBeta0

◆ fBeta1

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fBeta1

◆ fBeta2

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fBeta2

◆ fFunctor

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
FUNCTOR hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fFunctor

◆ fMasses

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fMasses[N]

◆ fSeed

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
const GInt_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fSeed

◆ fTeCmTm

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fTeCmTm

◆ fWtMax

template<size_t N, hydra::detail::Backend BACKEND, typename FUNCTOR , typename GRND >
GReal_t hydra::detail::EvalOnDaughters< N, BACKEND, FUNCTOR, GRND >::fWtMax

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