Belle II Software development
G4MonopolePhysics.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 <G4VPhysicsConstructor.hh>
14#include <globals.hh>
15#include <simulation/monopoles/MonopoleConstants.h>
16
17namespace Belle2 {
23 namespace Monopoles {
24
25 class G4Monopole;
26
33 class G4MonopolePhysics : public G4VPhysicsConstructor {
34 public:
35
40 explicit G4MonopolePhysics(double magneticCharge = 1.0);
41
46
51 virtual void ConstructParticle();
52
58 virtual void ConstructProcess();
59
60 private:
61
72
73 G4double fMagCharge;
74 G4double fElCharge;
75 G4double fMonopoleMass;
79 //Both monopole and anti-monopole have own process managers and have to be treated separately
80
81 };
82
83 } //end Monopoles namespace
84
86} //end Belle2 namespace
Monopole physics class to register on the physics list.
G4Monopole * fMpl
Pointer to the monopole definition in GEANT4.
virtual void ConstructProcess()
This method will be invoked in the Construct() method.
G4double fElCharge
Electric charge in case of dyon.
G4double fMagCharge
Magnetic charge of the monopole, in e+ units.
G4double fMonopoleMass
Mass of the monopole.
G4MonopolePhysics & operator=(const G4MonopolePhysics &right)
Assignment operator should be hidden.
G4MonopolePhysics(const G4MonopolePhysics &copy)
Copy constructor should be hidden.
virtual void ConstructParticle()
Adds monopole and anti-monopole to GEANT4 with a pdg of +/-99666 and parameters taken from current cl...
G4Monopole * fApl
Pointer to the anti-monopole definition in GEANT4.
A class to hold monopole description as a particle.
Definition: G4Monopole.h:33
Abstract base class for different kinds of events.