CMS 3D CMS Logo

Classes | Functions
MaterialAccountingStep.h File Reference
#include <utility>
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"

Go to the source code of this file.

Classes

class  MaterialAccountingStep
 

Functions

MaterialAccountingStep operator* (const MaterialAccountingStep &x, const MaterialAccountingStep &y)
 
MaterialAccountingStep operator* (const MaterialAccountingStep &x, double y)
 
MaterialAccountingStep operator* (double y, const MaterialAccountingStep &x)
 
MaterialAccountingStep operator+ (const MaterialAccountingStep &x, const MaterialAccountingStep &y)
 
MaterialAccountingStep operator- (const MaterialAccountingStep &x, const MaterialAccountingStep &y)
 
MaterialAccountingStep operator/ (const MaterialAccountingStep &x, double y)
 

Function Documentation

◆ operator*() [1/3]

MaterialAccountingStep operator* ( const MaterialAccountingStep x,
const MaterialAccountingStep y 
)
inline

Definition at line 136 of file MaterialAccountingStep.h.

136  {
138  step *= y;
139  return step;
140 }

References genVertex_cff::x, and detailsBasic3DVector::y.

◆ operator*() [2/3]

MaterialAccountingStep operator* ( const MaterialAccountingStep x,
double  y 
)
inline

Definition at line 142 of file MaterialAccountingStep.h.

142  {
144  step *= y;
145  return step;
146 }

References genVertex_cff::x, and detailsBasic3DVector::y.

◆ operator*() [3/3]

MaterialAccountingStep operator* ( double  y,
const MaterialAccountingStep x 
)
inline

Definition at line 148 of file MaterialAccountingStep.h.

148  {
150  step *= y;
151  return step;
152 }

References genVertex_cff::x, and detailsBasic3DVector::y.

◆ operator+()

MaterialAccountingStep operator+ ( const MaterialAccountingStep x,
const MaterialAccountingStep y 
)
inline

Definition at line 124 of file MaterialAccountingStep.h.

124  {
126  step += y;
127  return step;
128 }

References genVertex_cff::x, and detailsBasic3DVector::y.

◆ operator-()

MaterialAccountingStep operator- ( const MaterialAccountingStep x,
const MaterialAccountingStep y 
)
inline

Definition at line 130 of file MaterialAccountingStep.h.

130  {
132  step -= y;
133  return step;
134 }

References genVertex_cff::x, and detailsBasic3DVector::y.

◆ operator/()

MaterialAccountingStep operator/ ( const MaterialAccountingStep x,
double  y 
)
inline

Definition at line 154 of file MaterialAccountingStep.h.

154  {
156  step /= y;
157  return step;
158 }

References genVertex_cff::x, and detailsBasic3DVector::y.

step
step
Definition: StallMonitor.cc:94
MaterialAccountingStep
Definition: MaterialAccountingStep.h:9
genVertex_cff.x
x
Definition: genVertex_cff.py:12
detailsBasic3DVector::y
float float y
Definition: extBasic3DVector.h:14