src
PhysicsTools
Utilities
interface
SimplifyMinus.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_Utilities_SimplifyMinus_h
2
#define PhysicsTools_Utilities_SimplifyMinus_h
3
4
#include "
PhysicsTools/Utilities/interface/Simplify_begin.h
"
5
#include "
PhysicsTools/Utilities/interface/Operations.h
"
6
namespace
funct
{
7
8
// - - a = a
9
MINUS_RULE
(
TYPT1
,
MINUS_S
(
A
),
A
,
_
._);
10
11
// -( a + b ) = ( - a ) + ( -b )
12
MINUS_RULE
(
TYPT2
,
SUM_S
(
A
,
B
),
SUM
(
MINUS
(
A
),
MINUS
(
B
)), (-
_
._1) + (-
_
._2));
13
14
}
// namespace funct
15
16
#include "
PhysicsTools/Utilities/interface/Simplify_end.h
"
17
18
#endif
funct
Definition:
Abs.h:5
TYPT2
#define TYPT2
Definition:
Simplify_begin.h:7
crabWrapper._
_
Definition:
crabWrapper.py:19
Operations.h
MINUS
#define MINUS(A)
Definition:
Simplify_begin.h:54
funct::MINUS_S
typedef MINUS_S(A) arg
funct::B
TEMPL(T2) struct Divides B
Definition:
Factorize.h:24
SUM_S
#define SUM_S(A, B)
Definition:
Simplify_begin.h:37
MINUS_RULE
#define MINUS_RULE(TMPL, T, RES, COMB)
Definition:
Simplify_begin.h:74
Simplify_begin.h
SUM
#define SUM(A, B)
Definition:
Simplify_begin.h:52
Simplify_end.h
funct::A
A
Definition:
Factorize.h:45
TYPT1
#define TYPT1
Definition:
Simplify_begin.h:6
Generated for CMSSW Reference Manual by
1.8.14