|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKPARAMETERSBASE_CHARGED_H
10 #define TRKPARAMETERSBASE_CHARGED_H 1
65 return !(*
this == rOther);
constexpr double tolerance
double charge() const
Return the charge.
bool operator!=(const Charged &rOther) const
Inequality operator.
~Charged()=default
Destructor.
double m_charge
the charge value
Ensure that the ATLAS eigen extensions are properly loaded.
bool operator==(const Charged &rOther) const
Equality operator.
void setCharge(double charge)
Set the charge.
Charged(const double &charge=1.)
Default constructor.
Charged & operator=(const Charged &)=default
Assignment operator.
Charged(Charged &&)=default
Move constructor.
Charged & operator=(Charged &&)=default
Move assignment operator.
Charged(const Charged &)=default
Copy constructor.