#include <Charged.h>
Simple helper class for defining track parameters for charged particles
- Todo:
- Do we really need a
double
for the charge? Would an int
be sufficient?
- Author
- Christian Gumpert chris.nosp@m.tian.nosp@m..gump.nosp@m.ert@.nosp@m.cern..nosp@m.ch
Definition at line 26 of file Charged.h.
◆ Charged() [1/3]
Trk::Charged::Charged |
( |
const double & |
charge = 1. | ) |
|
|
inline |
◆ Charged() [2/3]
◆ Charged() [3/3]
Trk::Charged::Charged |
( |
Charged && |
| ) |
|
|
default |
◆ ~Charged()
Trk::Charged::~Charged |
( |
| ) |
|
|
default |
◆ charge()
double Trk::Charged::charge |
( |
| ) |
const |
|
inline |
Return the charge.
Definition at line 50 of file Charged.h.
◆ operator!=()
Inequality operator.
Definition at line 63 of file Charged.h.
65 return !(*
this == rOther);
◆ operator=() [1/2]
Move assignment operator.
◆ operator=() [2/2]
◆ operator==()
bool Trk::Charged::operator== |
( |
const Charged & |
rOther | ) |
const |
|
inline |
Equality operator.
Definition at line 56 of file Charged.h.
◆ setCharge()
void Trk::Charged::setCharge |
( |
double |
charge | ) |
|
|
inline |
Set the charge.
Definition at line 53 of file Charged.h.
◆ m_charge
double Trk::Charged::m_charge |
|
private |
the charge value
Definition at line 69 of file Charged.h.
The documentation for this class was generated from the following file: