CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
funct::AuxProductRatio2< Prod, simplify > Struct Template Reference

#include <SimplifyRatio.h>

Public Types

typedef Ratio< typename Prod::AB, typename Prod::C >::type type
 

Static Public Member Functions

static type combine (const typename Prod::A &a, const typename Prod::B &b, const typename Prod::C &c)
 

Detailed Description

template<typename Prod, bool simplify = Prod::value>
struct funct::AuxProductRatio2< Prod, simplify >

Definition at line 211 of file SimplifyRatio.h.

Member Typedef Documentation

◆ type

template<typename Prod , bool simplify = Prod::value>
typedef Ratio< typename Prod::AB , typename Prod::C >::type funct::AuxProductRatio2< Prod, simplify >::type

Definition at line 212 of file SimplifyRatio.h.

Member Function Documentation

◆ combine()

template<typename Prod , bool simplify = Prod::value>
static type funct::AuxProductRatio2< Prod, simplify >::combine ( const typename Prod::A &  a,
const typename Prod::B &  b,
const typename Prod::C &  c 
)
inlinestatic

Definition at line 213 of file SimplifyRatio.h.

213  {
214  return (b / a) / c;
215  }

References a, b, and c.

Referenced by funct::RatioP2< A, B, ProductStruct< C, D > >::combine().

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56