Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4EmModelPhysics Class Reference

Physics builder which activates a selected EM energy loss and/or fluctuations model. More...

#include <TG4EmModelPhysics.h>

Inheritance diagram for TG4EmModelPhysics:

Public Member Functions

 TG4EmModelPhysics (const G4String &name="EmModel")
 
 TG4EmModelPhysics (G4int theVerboseLevel, const G4String &name="EmModel")
 
virtual ~TG4EmModelPhysics ()
 
- Public Member Functions inherited from TG4VPhysicsConstructor
 TG4VPhysicsConstructor (const G4String &name)
 
 TG4VPhysicsConstructor (const G4String &name, G4int theVerboseLevel)
 
virtual ~TG4VPhysicsConstructor ()
 
- Public Member Functions inherited from TG4Verbose
 TG4Verbose (const G4String &cmdName)
 
 TG4Verbose (const G4String &cmdName, G4int verboseLevel)
 
virtual ~TG4Verbose ()
 

Static Public Member Functions

static TG4EmModel GetEmModel (const G4String &modelName)
 
static G4String GetEmModelName (G4int modelType)
 

Protected Member Functions

virtual void ConstructParticle ()
 Construct particles.
 
virtual void ConstructProcess ()
 Construct physics processes.
 
- Protected Member Functions inherited from TG4VPhysicsConstructor
virtual void VerboseLevel (G4int level)
 
virtual G4int VerboseLevel () const
 

Private Member Functions

 TG4EmModelPhysics (const TG4EmModelPhysics &right)
 Not implemented.
 
TG4EmModelPhysicsoperator= (const TG4EmModelPhysics &right)
 Not implemented.
 
void AddModel (TG4EmModel model, const G4ParticleDefinition *particle, const std::vector< G4String > &regions)
 
void AddModels (const std::vector< TG4ModelConfiguration * > &models)
 

Detailed Description

Physics builder which activates a selected EM energy loss and/or fluctuations model.

In this implementation, G4PAIModel, G4PAIPhotModel and a special UrbanMsc model tuned for ALICE EMCAL are supported. Other models available in Geant4 can be added on user requests.

Author
I. Hrivnacova; IPN Orsay

Definition at line 53 of file TG4EmModelPhysics.h.

Constructor & Destructor Documentation

◆ TG4EmModelPhysics() [1/3]

TG4EmModelPhysics::TG4EmModelPhysics ( const G4String & name = "EmModel")

Standard constructor

Definition at line 93 of file TG4EmModelPhysics.cxx.

◆ TG4EmModelPhysics() [2/3]

TG4EmModelPhysics::TG4EmModelPhysics ( G4int theVerboseLevel,
const G4String & name = "EmModel" )

Standard constructor

Definition at line 104 of file TG4EmModelPhysics.cxx.

◆ ~TG4EmModelPhysics()

TG4EmModelPhysics::~TG4EmModelPhysics ( )
virtual

Destructor

Definition at line 116 of file TG4EmModelPhysics.cxx.

◆ TG4EmModelPhysics() [3/3]

TG4EmModelPhysics::TG4EmModelPhysics ( const TG4EmModelPhysics & right)
private

Not implemented.

Member Function Documentation

◆ GetEmModel()

TG4EmModel TG4EmModelPhysics::GetEmModel ( const G4String & modelName)
static

Return the model tope for given model name

Definition at line 44 of file TG4EmModelPhysics.cxx.

Referenced by AddModels().

◆ GetEmModelName()

G4String TG4EmModelPhysics::GetEmModelName ( G4int modelType)
static

Return model name for given model type

Definition at line 68 of file TG4EmModelPhysics.cxx.

Referenced by AddModel(), and GetEmModel().

◆ ConstructParticle()

void TG4EmModelPhysics::ConstructParticle ( )
protectedvirtual

Construct particles.

Instantiate particles - nothing to be done here

Implements TG4VPhysicsConstructor.

Definition at line 332 of file TG4EmModelPhysics.cxx.

◆ ConstructProcess()

void TG4EmModelPhysics::ConstructProcess ( )
protectedvirtual

Construct physics processes.

Loop over all particles and their processes and check if the process is present in the map

Implements TG4VPhysicsConstructor.

Definition at line 338 of file TG4EmModelPhysics.cxx.

◆ operator=()

TG4EmModelPhysics & TG4EmModelPhysics::operator= ( const TG4EmModelPhysics & right)
private

Not implemented.

◆ AddModel()

void TG4EmModelPhysics::AddModel ( TG4EmModel model,
const G4ParticleDefinition * particle,
const std::vector< G4String > & regions )
private

Add selected EM model to given particle, process and region. If regionName is not set, the model is set to the world region.

Definition at line 126 of file TG4EmModelPhysics.cxx.

Referenced by AddModels().

◆ AddModels()

void TG4EmModelPhysics::AddModels ( const std::vector< TG4ModelConfiguration * > & models)
private

Loop over all particles and their processes and check if the process is present in the map

Definition at line 272 of file TG4EmModelPhysics.cxx.

Referenced by ConstructProcess().


The documentation for this class was generated from the following files: