CMS 3D CMS Logo

List of all members | Classes | Public Types | Static Public Member Functions
funct::RatioP2< F, G, H > Struct Template Reference

#include <SimplifyRatio.h>

Classes

struct  prod0
 
struct  prod1
 
struct  prod2
 

Public Types

typedef std::conditional< prod1::value, prod1, typename std::conditional< prod2::value, prod2, prod0 >::type >::type prod
 
typedef AuxProductRatio2< prod >::type type
 

Static Public Member Functions

static type combine (const H &h, const ProductStruct< F, G > &fg)
 

Detailed Description

template<typename F, typename G, typename H>
struct funct::RatioP2< F, G, H >

Definition at line 227 of file SimplifyRatio.h.

Member Typedef Documentation

◆ prod

template<typename F, typename G, typename H>
typedef std::conditional<prod1::value, prod1, typename std::conditional<prod2::value, prod2, prod0>::type>::type funct::RatioP2< F, G, H >::prod

Definition at line 263 of file SimplifyRatio.h.

◆ type

template<typename F, typename G, typename H>
typedef AuxProductRatio2<prod>::type funct::RatioP2< F, G, H >::type

Definition at line 264 of file SimplifyRatio.h.

Member Function Documentation

◆ combine()

template<typename F, typename G, typename H>
static type funct::RatioP2< F, G, H >::combine ( const H &  h,
const ProductStruct< F, G > &  fg 
)
inlinestatic

Definition at line 265 of file SimplifyRatio.h.

265  {
266  const F& f = fg._1;
267  const G& g = fg._2;
268  const typename prod::A& a = prod::a(f, g, h);
269  const typename prod::B& b = prod::b(f, g, h);
270  const typename prod::C& c = prod::c(f, g, h);
272  }
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
F
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
Definition: blowfish.cc:163
h
b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119
TtFullHadDaughter::B
static const std::string B
Definition: TtFullHadronicEvent.h:9
MaterialEffects_cfi.A
A
Definition: MaterialEffects_cfi.py:11
gen::C
C
Definition: PomwigHadronizer.cc:78
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
funct::AuxProductRatio2::combine
static type combine(const typename Prod::A &a, const typename Prod::B &b, const typename Prod::C &c)
Definition: SimplifyRatio.h:213
cmssw_cycle_finder.G
G
Definition: cmssw_cycle_finder.py:154
g
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
Definition: Activities.doc:4