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.

References x, and detailsBasic3DVector::y.

136  {
138  step *= y;
139  return step;
140 }
float x
step
Definition: StallMonitor.cc:83

◆ operator*() [2/3]

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

Definition at line 142 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

142  {
144  step *= y;
145  return step;
146 }
float x
step
Definition: StallMonitor.cc:83

◆ operator*() [3/3]

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

Definition at line 148 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

148  {
150  step *= y;
151  return step;
152 }
float x
step
Definition: StallMonitor.cc:83

◆ operator+()

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

Definition at line 124 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

124  {
126  step += y;
127  return step;
128 }
float x
step
Definition: StallMonitor.cc:83

◆ operator-()

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

Definition at line 130 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

130  {
132  step -= y;
133  return step;
134 }
float x
step
Definition: StallMonitor.cc:83

◆ operator/()

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

Definition at line 154 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

154  {
156  step /= y;
157  return step;
158 }
float x
step
Definition: StallMonitor.cc:83