Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Heed::spin_def Class Reference

Helper class for definition of spin. More...

#include <particle_def.h>

Public Member Functions

 spin_def ()=default
 
 spin_def (float ftotal, float fprojection)
 

Public Attributes

float total = 0.
 
float projection = 0.
 

Detailed Description

Helper class for definition of spin.

Definition at line 11 of file particle_def.h.

Constructor & Destructor Documentation

◆ spin_def() [1/2]

Heed::spin_def::spin_def ( )
default

◆ spin_def() [2/2]

Heed::spin_def::spin_def ( float  ftotal,
float  fprojection 
)

Definition at line 18 of file particle_def.cpp.

19 : total(ftotal), projection(fprojection) {
20 mfunname("spin_def::spin_def(float ftotal, float fprojection)");
23}
#define check_econd11(a, signb, stream)
Definition: FunNameStack.h:155
#define check_econd12(a, sign, b, stream)
Definition: FunNameStack.h:163
#define mfunname(string)
Definition: FunNameStack.h:45
#define mcerr
Definition: prstream.h:128

Member Data Documentation

◆ projection

float Heed::spin_def::projection = 0.

Definition at line 14 of file particle_def.h.

Referenced by Heed::operator<<(), and spin_def().

◆ total

float Heed::spin_def::total = 0.

Definition at line 13 of file particle_def.h.

Referenced by Heed::operator<<(), and spin_def().


The documentation for this class was generated from the following files: