Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
)),
13
(- _._1) + (- _._2));
14
15
}
16
17
#include "
PhysicsTools/Utilities/interface/Simplify_end.h
"
18
19
#endif
TYPT2
#define TYPT2
Definition:
Simplify_begin.h:7
funct::MINUS_S
MINUS_S(B)>
Definition:
Factorize.h:99
Operations.h
MINUS
#define MINUS(A)
Definition:
Simplify_begin.h:54
funct::SUM
typedef SUM(SUM(PROD(NUM(n-p), SIN2(A)), PROD(NUM(m-p), COS2(A))), NUM(p)) type
funct::SUM_S
SUM_S(B, A)>
Definition:
SimplifyRatio.h:102
double_binary
Definition:
DDStreamer.cc:227
funct::MINUS_RULE
MINUS_RULE(TYPT1, MINUS_S(A), A, _._)
Simplify_begin.h
Simplify_end.h
funct::A
A
Definition:
Factorize.h:54
TYPT1
#define TYPT1
Definition:
Simplify_begin.h:6
Generated for CMSSW Reference Manual by
1.8.5