Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
SimG4Core
Physics
src
Monopole.cc
Go to the documentation of this file.
1
#include "
SimG4Core/Physics/interface/Monopole.h
"
2
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
3
#include "G4ParticleTable.hh"
4
#include "CLHEP/Units/PhysicalConstants.h"
5
6
Monopole::Monopole
(
const
G4String& aName, G4int pdgEncoding, G4double
mass
, G4int mCharge, G4int eCharge)
7
: G4ParticleDefinition(
8
aName, mass, 0.0, CLHEP::eplus * eCharge, 0, 0, 0, 0, 0, 0,
"boson"
, 0, 0, pdgEncoding,
true
, -1.0, nullptr) {
9
magCharge
= CLHEP::eplus * G4double(mCharge) * 0.5 / CLHEP::fine_structure_const;
10
11
edm::LogInfo
(
"Monopole"
) <<
"Monopole is created: m(GeV)= "
<< GetPDGMass() /
CLHEP::GeV
12
<<
" Qel= "
<< GetPDGCharge() / CLHEP::eplus <<
" Qmag= "
<<
magCharge
/ CLHEP::eplus
13
<<
" PDG encoding = "
<< pdgEncoding;
14
}
15
16
Monopole::~Monopole
() {}
GeV
const double GeV
Definition:
MathUtil.h:16
Monopole.h
MessageLogger.h
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
funct::true
true
Definition:
Factorize.h:173
edm::LogInfo
Log< level::Info, false > LogInfo
Definition:
MessageLogger.h:125
Monopole::~Monopole
~Monopole() override
Definition:
Monopole.cc:16
ResonanceBuilder.mass
dictionary mass
Definition:
ResonanceBuilder.py:8
Generated for CMSSW Reference Manual by
1.8.5