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 126 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

126  {
128  step *= y;
129  return step;
130 }
float x
step
Definition: StallMonitor.cc:83

◆ operator*() [2/3]

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

Definition at line 132 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

132  {
134  step *= y;
135  return step;
136 }
float x
step
Definition: StallMonitor.cc:83

◆ operator*() [3/3]

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

Definition at line 138 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

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

◆ operator+()

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

Definition at line 114 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

114  {
116  step += y;
117  return step;
118 }
float x
step
Definition: StallMonitor.cc:83

◆ operator-()

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

Definition at line 120 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

120  {
122  step -= y;
123  return step;
124 }
float x
step
Definition: StallMonitor.cc:83

◆ operator/()

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

Definition at line 144 of file MaterialAccountingStep.h.

References x, and detailsBasic3DVector::y.

144  {
146  step /= y;
147  return step;
148 }
float x
step
Definition: StallMonitor.cc:83