CMS 3D CMS Logo

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

#include <SimplifyRatio.h>

Public Types

typedef Product< 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::AuxProductRatio< Prod, simplify >

Definition at line 144 of file SimplifyRatio.h.

Member Typedef Documentation

◆ type

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

Definition at line 145 of file SimplifyRatio.h.

Member Function Documentation

◆ combine()

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

Definition at line 146 of file SimplifyRatio.h.

146  {
147  return (a / b) * c;
148  }

References a, b, and HltBtagPostValidation_cff::c.

Referenced by funct::RatioP1< A, B, Numerical< n > >::combine().

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31