CMS 3D CMS Logo

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
const double GeV
Definition: MathUtil.h:16
Monopole(const G4String &name="Monopole", G4int pdgEncoding=0, G4double mass_=100.*CLHEP::GeV, G4int magCharge_=1, G4int elCharge_=0)
Definition: Monopole.cc:6
G4double magCharge
Definition: Monopole.h:25
~Monopole() override
Definition: Monopole.cc:20
G4double MagneticCharge() const
Definition: Monopole.h:19