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

#include <EvalMother.h>

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

Public Types

typedef hydra::thrust::tuple< FUNCTOR, FUNCTORS... > functors_tuple_type
 
typedef hydra::detail::tuple_cat_type< hydra::thrust::tuple< GReal_t >, return_tuple_type >::type result_tuple_type
 
typedef hydra::thrust::tuple< typename FUNCTOR::return_type, typename FUNCTORS::return_type... > return_tuple_type
 

Public Member Functions

 EvalMother (Vector4R const &mother, const GReal_t(&masses)[N], double maxweight, double ecm, size_t seed, FUNCTOR const &functor, FUNCTORS const &...functors)
 
__hydra_host__ __hydra_device__ EvalMother (EvalMother< N, GRND, FUNCTOR, FUNCTORS... > const &other)
 
__hydra_host__ __hydra_device__ void bbsort (GReal_t *array, GInt_t n)
 
template<typename I >
__hydra_host__ __hydra_device__ result_tuple_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 fECM
 
functors_tuple_type fFunctors
 
GReal_t fMasses [N]
 
GReal_t fMaxWeight
 
size_t fSeed
 

Detailed Description

template<size_t N, typename GRND, typename FUNCTOR, typename ... FUNCTORS>
struct hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >

Member Typedef Documentation

◆ functors_tuple_type

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
typedef hydra::thrust::tuple<FUNCTOR,FUNCTORS...> hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::functors_tuple_type

◆ result_tuple_type

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
typedef hydra::detail::tuple_cat_type<hydra::thrust::tuple<GReal_t> , return_tuple_type>::type hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::result_tuple_type

◆ return_tuple_type

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
typedef hydra::thrust::tuple<typename FUNCTOR::return_type, typename FUNCTORS::return_type...> hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::return_tuple_type

Constructor & Destructor Documentation

◆ EvalMother() [1/2]

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::EvalMother ( Vector4R const &  mother,
const GReal_t(&)  masses[N],
double  maxweight,
double  ecm,
size_t  seed,
FUNCTOR const &  functor,
FUNCTORS const &...  functors 
)
inline

◆ EvalMother() [2/2]

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

Member Function Documentation

◆ bbsort()

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

◆ hash()

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

◆ operator()()

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
template<typename I >
__hydra_host__ __hydra_device__ result_tuple_type hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::operator() ( evt)
inline

◆ pdk()

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

◆ process()

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

Field Documentation

◆ fBeta0

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
GReal_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fBeta0

◆ fBeta1

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
GReal_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fBeta1

◆ fBeta2

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
GReal_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fBeta2

◆ fECM

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
GReal_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fECM

◆ fFunctors

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
functors_tuple_type hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fFunctors

◆ fMasses

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

◆ fMaxWeight

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
GReal_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fMaxWeight

◆ fSeed

template<size_t N, typename GRND , typename FUNCTOR , typename ... FUNCTORS>
size_t hydra::detail::EvalMother< N, GRND, FUNCTOR, FUNCTORS >::fSeed

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