src
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
Monopole
Definition:
Monopole.h:12
Monopole::magCharge
G4double magCharge
Definition:
Monopole.h:25
Monopole::MagneticCharge
G4double MagneticCharge() const
Definition:
Monopole.h:20
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::~Monopole
~Monopole() override
Definition:
Monopole.cc:16
Skims_PA_cff.name
name
Definition:
Skims_PA_cff.py:17
Generated for CMSSW Reference Manual by
1.8.14