1 #ifndef PhysicsTools_Utilities_SimplifyProduct_h 2 #define PhysicsTools_Utilities_SimplifyProduct_h 8 #include <boost/mpl/if.hpp> 148 template <
typename Prod,
bool simplify = Prod::value>
151 COMBINE(typename Prod::AB, typename Prod::
C, _1* _2);
157 COMBINE(typename Prod::AB, typename Prod::C, type(_1, _2));
168 inline static const B&
b(
const F&
f,
const G&
g,
const H&
h) {
return g; }
169 inline static const C&
c(
const F&
f,
const G&
g,
const H&
h) {
return h; }
179 inline static const B&
b(
const F&
f,
const G&
g,
const H&
h) {
return h; }
180 inline static const C&
c(
const F&
f,
const G&
g,
const H&
h) {
return g; }
190 inline static const B&
b(
const F&
f,
const G&
g,
const H&
h) {
return h; }
191 inline static const C&
c(
const F&
f,
const G&
g,
const H&
h) {
return f; }
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
typedef POWER(A, NUM(n)) arg
static type combine(const typename Prod::AB &_1, const typename Prod::C &_2)
static const B & b(const F &f, const G &g, const H &h)
static const C & c(const F &f, const G &g, const H &h)
#define COMBINE(A, B, RES)
static type combine(const ProductStruct< F, G > &fg, const H &h)
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
static const C & c(const F &f, const G &g, const H &h)
def template(fileName, svg, replaceme="REPLACEME")
static const std::string B
AuxProduct< prod >::type type
static const B & b(const F &f, const G &g, const H &h)
static const C & c(const F &f, const G &g, const H &h)
TEMPL(T1) struct Divides0
typedef PROD(F, SUM(RATIO(A, F), RATIO(B, F))) type
::boost::mpl::if_< prod1, prod1, typename::boost::mpl::if_< prod2, prod2, prod0 >::type >::type prod
#define PROD_RULE(TMPL, T1, T2, RES, COMB)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
static const B & b(const F &f, const G &g, const H &h)
Power< A, B >::type pow(const A &a, const B &b)