Simple helper class for defining track parameters for neutral particles.
More...
#include <Neutral.h>
Simple helper class for defining track parameters for neutral particles.
- Author
- Christian Gumpert chris.nosp@m.tian.nosp@m..gump.nosp@m.ert@.nosp@m.cern..nosp@m.ch
Definition at line 21 of file Neutral.h.
◆ Neutral() [1/4]
| Trk::Neutral::Neutral |
( |
| ) |
|
|
default |
◆ Neutral() [2/4]
| Trk::Neutral::Neutral |
( |
const double & | | ) |
|
|
inline |
◆ Neutral() [3/4]
| Trk::Neutral::Neutral |
( |
const Neutral & | | ) |
|
|
default |
◆ Neutral() [4/4]
| Trk::Neutral::Neutral |
( |
Neutral && | | ) |
|
|
default |
◆ ~Neutral()
| Trk::Neutral::~Neutral |
( |
| ) |
|
|
default |
◆ charge()
| double Trk::Neutral::charge |
( |
| ) |
const |
|
inline |
Charge for neutral particles is always 0.
Definition at line 46 of file Neutral.h.
◆ operator!=()
| bool Trk::Neutral::operator!= |
( |
const Neutral & | rhs | ) |
const |
|
inline |
Inequality operator.
Definition at line 58 of file Neutral.h.
59 {
60 return !(*this == rhs);
61 }
◆ operator=() [1/2]
◆ operator=() [2/2]
Move assignment operator.
◆ operator==()
| bool Trk::Neutral::operator== |
( |
const Neutral & | | ) |
const |
|
inline |
Equality operator yields always true.
Definition at line 52 of file Neutral.h.
53 {
54 return true;
55 }
◆ setCharge()
| void Trk::Neutral::setCharge |
( |
double | | ) |
|
|
inline |
Setting the charge for a neutral particle has no effect.
Definition at line 49 of file Neutral.h.
The documentation for this class was generated from the following file: