#include <PhysicsTools/Utilities/interface/SimplifyRatio.h>
Public Types | |
typedef ::boost::mpl::if_ < prod1, prod1, typename::boost::mpl::if_ < prod2, prod2, prod0 >::type > ::type | prod |
typedef AuxProductRatio< prod > ::type | type |
Static Public Member Functions | |
static type | combine (const PROD_S(F, G)&fg, const H &h) |
Classes | |
struct | prod0 |
struct | prod1 |
struct | prod2 |
Definition at line 172 of file SimplifyRatio.h.
typedef ::boost::mpl::if_<prod1, prod1, typename ::boost::mpl::if_<prod2, prod2, prod0 >::type >::type funct::RatioP1< F, G, H >::prod |
Definition at line 209 of file SimplifyRatio.h.
typedef AuxProductRatio<prod>::type funct::RatioP1< F, G, H >::type |
Definition at line 210 of file SimplifyRatio.h.
static type funct::RatioP1< F, G, H >::combine | ( | const PROD_S(F, G)& | fg, | |
const H & | h | |||
) | [inline, static] |
Definition at line 211 of file SimplifyRatio.h.
References a, funct::A, b, c, funct::C, f, and g.
00211 { 00212 const F& f = fg._1; 00213 const G& g = fg._2; 00214 const typename prod::A & a = prod::a(f, g, h); 00215 const typename prod::B & b = prod::b(f, g, h); 00216 const typename prod::C & c = prod::c(f, g, h); 00217 return AuxProductRatio<prod>::combine(a, b, c); 00218 }