Belle II Software development
G4Monopole.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9// modified from GEANT4 exoticphysics/monopole/*
10
11#pragma once
12
13#include <G4ParticleDefinition.hh>
14#include <globals.hh>
15
16namespace Belle2 {
21
22 namespace Monopoles {
31 class G4Monopole : public G4ParticleDefinition {
32 private:
33
37 virtual ~G4Monopole();
38
39 public:
40
50 G4Monopole(const G4String& name,
51 G4double mass,
52 G4double mCharge,
53 G4double eCharge,
54 G4int encoding);
55
60 G4double MagneticCharge() const;
61
62 private:
63
64 G4double magCharge;
65 };
66
67 } //end Monopoles namespace
68
70} //end Belle2 namespace
virtual ~G4Monopole()
Destructor.
Definition G4Monopole.cc:44
G4double MagneticCharge() const
Returns magnetic charge of the monopole.
Definition G4Monopole.cc:47
G4double magCharge
Magnetic charge of the monopole, in e+ units.
Definition G4Monopole.h:64
G4Monopole(const G4String &name, G4double mass, G4double mCharge, G4double eCharge, G4int encoding)
Constructor.
Definition G4Monopole.cc:21
Abstract base class for different kinds of events.