Main Page
Namespaces
Classes
Package Documentation
SimG4Core
Physics
interface
Monopole.h
Go to the documentation of this file.
1
#ifndef SimG4Core_Physics_Monopole_h
2
#define SimG4Core_Physics_Monopole_h 1
3
4
#include "G4ParticleDefinition.hh"
5
#include "globals.hh"
6
#include "CLHEP/Units/SystemOfUnits.h"
7
8
// ######################################################################
9
// ### Monopole ###
10
// ######################################################################
11
12
class
Monopole
:
public
G4ParticleDefinition {
13
14
public
:
15
16
Monopole
(
const
G4String&
name
=
"Monopole"
, G4int pdgEncoding= 0,
17
G4double mass_=100.*
CLHEP::GeV
, G4int magCharge_=1, G4int elCharge_ =0);
18
19
G4double
MagneticCharge
()
const
{
return
magCharge
;};
20
21
private
:
22
23
~Monopole
()
override
;
24
25
G4double
magCharge
;
26
};
27
28
#endif
GeV
const double GeV
Definition:
MathUtil.h:16
Monopole
Definition:
Monopole.h:12
Monopole::Monopole
Monopole(const G4String &name="Monopole", G4int pdgEncoding=0, G4double mass_=100.*CLHEP::GeV, G4int magCharge_=1, G4int elCharge_=0)
Definition:
Monopole.cc:6
Monopole::magCharge
G4double magCharge
Definition:
Monopole.h:25
Monopole::~Monopole
~Monopole() override
Definition:
Monopole.cc:20
Monopole::MagneticCharge
G4double MagneticCharge() const
Definition:
Monopole.h:19
dataset.name
name
Definition:
dataset.py:45
Generated for CMSSW Reference Manual by
1.8.11