Skip to content
Snippets Groups Projects
Commit d49d2440 authored by Dmitrii Neverov's avatar Dmitrii Neverov
Browse files

some comments

parent 62868169
Branches
No related tags found
No related merge requests found
......@@ -21,6 +21,14 @@
namespace genfit {
/* The PDG code used for the magnetic monopole; somewhat arbitrary.
*
* PDG allocates all code starting with 99 to be
* used for user-defined particles. Some folks weave
* the magnetic charge and mass into the code itself,
* but here we would like to consider them as floats,
* and so we have to store them elsewhere as data members.
*/
const int c_monopolePDGCode = 99666;
}
......@@ -21,9 +21,14 @@
namespace genfit {
/**
* A prototype for monopole track representation.
* For now it would be a minimal modification of RKTrackRep
* with a different equation of motion for monopoles.
* Monopole track representation.
* It is a minimal modification of RKTrackRep
* with a different equations of motion for magnetic charges.
*
* In the current implementation the states on plane are 5-d:
* u, v, u', v', q/p
* except that q in this case is magnetic, and the monopole
* has no electic charge.
*/
class MplTrackRep : public RKTrackRep {
......@@ -41,12 +46,13 @@ namespace genfit {
bool varField = true,
bool calcOnlyLastRowOfJ = false) const override;
// Returns the magnetic charge instead of electric as in the base class.
double getCharge(const StateOnPlane& state) const override;
private:
const double m_magCharge;
const double m_mass;
const double m_magCharge; // the magnitude of magnetic charge in units of e+
const double m_mass; // the mass of the monopole in units of GeV/c^2
public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment