ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CustomMonopole Class Reference

#include <CustomMonopole.h>

Inheritance diagram for CustomMonopole:
Collaboration diagram for CustomMonopole:

Public Member Functions

 CustomMonopole (const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable)
 
virtual ~CustomMonopole ()
 
G4double MagneticCharge () const
 
void SetMagneticCharge (G4double mCharge=1.0)
 
void PrintMonopoleInfo () const
 

Private Attributes

G4double m_magCharge
 

Detailed Description

Definition at line 33 of file CustomMonopole.h.

Constructor & Destructor Documentation

◆ CustomMonopole()

CustomMonopole::CustomMonopole ( const G4String &  aName,
G4double  mass,
G4double  width,
G4double  charge,
G4int  iSpin,
G4int  iParity,
G4int  iConjugation,
G4int  iIsospin,
G4int  iIsospin3,
G4int  gParity,
const G4String &  pType,
G4int  lepton,
G4int  baryon,
G4int  encoding,
G4bool  stable,
G4double  lifetime,
G4DecayTable *  decaytable 
)

Definition at line 35 of file CustomMonopole.cxx.

45  : G4ParticleDefinition( aName,mass,width,charge,iSpin,iParity,
46  iConjugation,iIsospin,iIsospin3,gParity,pType,
47  lepton,baryon,encoding,stable,lifetime,decaytable )
48  , m_magCharge(0.)
49 {}

◆ ~CustomMonopole()

CustomMonopole::~CustomMonopole ( )
virtual

Definition at line 53 of file CustomMonopole.cxx.

54 {}

Member Function Documentation

◆ MagneticCharge()

G4double CustomMonopole::MagneticCharge ( ) const
inline

Definition at line 51 of file CustomMonopole.h.

51 {return m_magCharge;}

◆ PrintMonopoleInfo()

void CustomMonopole::PrintMonopoleInfo ( ) const

Definition at line 56 of file CustomMonopole.cxx.

57 { G4cout << "CustomMonopole Info: m(GeV)= " << this->GetPDGMass()/CLHEP::GeV
58  << " Qel= " << this->GetPDGCharge()/CLHEP::eplus
59  << " Qmag= " << m_magCharge/CLHEP::eplus
60  << G4endl;
61 }

◆ SetMagneticCharge()

void CustomMonopole::SetMagneticCharge ( G4double  mCharge = 1.0)
inline

Definition at line 53 of file CustomMonopole.h.

Member Data Documentation

◆ m_magCharge

G4double CustomMonopole::m_magCharge
private

Definition at line 59 of file CustomMonopole.h.


The documentation for this class was generated from the following files:
GeV
#define GeV
Definition: PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx:17
python.PhysicalConstants.fine_structure_const
float fine_structure_const
Definition: PhysicalConstants.py:103
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
CustomMonopole::m_magCharge
G4double m_magCharge
Definition: CustomMonopole.h:59
generateReferenceFile.encoding
encoding
Definition: generateReferenceFile.py:15
MCTruthPartClassifier::stable
@ stable
Definition: TruthClassifiers.h:148
charge
double charge(const T &p)
Definition: AtlasPID.h:501
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
python.SystemOfUnits.eplus
int eplus
Definition: SystemOfUnits.py:137