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
public
:
14
Monopole
(
const
G4String&
name
=
"Monopole"
,
15
G4int pdgEncoding = 0,
16
G4double mass_ = 100. *
CLHEP::GeV
,
17
G4int magCharge_ = 1,
18
G4int elCharge_ = 0);
19
20
G4double
MagneticCharge
()
const
{
return
magCharge
; };
21
22
private
:
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:16
Monopole::MagneticCharge
G4double MagneticCharge() const
Definition:
Monopole.h:20
dataset.name
name
Definition:
dataset.py:45
Generated for CMSSW Reference Manual by
1.8.11