Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GenFit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
GenFit
Commits
d49d2440
Commit
d49d2440
authored
5 years ago
by
Dmitrii Neverov
Browse files
Options
Downloads
Patches
Plain Diff
some comments
parent
62868169
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
trackReps/include/MonopoleConstants.h
+8
-0
8 additions, 0 deletions
trackReps/include/MonopoleConstants.h
trackReps/include/MplTrackRep.h
+11
-5
11 additions, 5 deletions
trackReps/include/MplTrackRep.h
with
19 additions
and
5 deletions
trackReps/include/MonopoleConstants.h
+
8
−
0
View file @
d49d2440
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
trackReps/include/MplTrackRep.h
+
11
−
5
View file @
d49d2440
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment