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

#include <AverageMothers.h>

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

Public Member Functions

 AverageMothers (const GReal_t(&masses)[N], double maxweight, double ecm, size_t seed, FUNCTOR const &functor)
 
__hydra_host__ __hydra_device__ AverageMothers (AverageMothers< N, GRND, FUNCTOR > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
template<typename Tuple >
__hydra_host__ __hydra_device__ StatsPHSP operator() (Tuple particles)
 
__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
 
FUNCTOR fFunctor
 
GReal_t fMasses [N]
 
GReal_t fMaxWeight
 
size_t fSeed
 

Detailed Description

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

Constructor & Destructor Documentation

◆ AverageMothers() [1/2]

template<size_t N, typename GRND , typename FUNCTOR >
hydra::detail::AverageMothers< N, GRND, FUNCTOR >::AverageMothers ( const GReal_t(&)  masses[N],
double  maxweight,
double  ecm,
size_t  seed,
FUNCTOR const &  functor 
)
inline

◆ AverageMothers() [2/2]

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

Member Function Documentation

◆ bbsort()

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

◆ hash()

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

◆ operator()()

template<size_t N, typename GRND , typename FUNCTOR >
template<typename Tuple >
__hydra_host__ __hydra_device__ StatsPHSP hydra::detail::AverageMothers< N, GRND, FUNCTOR >::operator() ( Tuple  particles)
inline

◆ pdk()

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

◆ process()

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

Field Documentation

◆ fECM

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

◆ fFunctor

template<size_t N, typename GRND , typename FUNCTOR >
FUNCTOR hydra::detail::AverageMothers< N, GRND, FUNCTOR >::fFunctor

◆ fMasses

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

◆ fMaxWeight

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

◆ fSeed

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

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