Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4EmModelPhysics.h
Go to the documentation of this file.
1#ifndef TG4_EM_MODEL_PHYSICS_H
2#define TG4_EM_MODEL_PHYSICS_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2007 - 2015 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
19
20#include <globals.hh>
21
22#include <utility>
23#include <vector>
24
29
37
39
40class G4Region;
41
52
54{
55 // public:
56 // typedef std::vector<TG4EmModelConfiguration*> EmModelConfigurationVector;
57
58 public:
59 TG4EmModelPhysics(const G4String& name = "EmModel");
60 TG4EmModelPhysics(G4int theVerboseLevel, const G4String& name = "EmModel");
61 virtual ~TG4EmModelPhysics();
62
63 // static methods
64 static TG4EmModel GetEmModel(const G4String& modelName);
65 static G4String GetEmModelName(G4int modelType);
66
67 protected:
68 // methods
69 // construct particle and physics
70 virtual void ConstructParticle();
71 virtual void ConstructProcess();
72
73 private:
78
79 void AddModel(TG4EmModel model, const G4ParticleDefinition* particle,
80 const std::vector<G4String>& regions);
81 void AddModels(const std::vector<TG4ModelConfiguration*>& models);
82};
83
84#endif // TG4_EM_MODEL_PHYSICS_H
Definition of the TG4VPhysicsConstructor class.
Physics builder which activates a selected EM energy loss and/or fluctuations model.
static G4String GetEmModelName(G4int modelType)
virtual void ConstructParticle()
Construct particles.
TG4EmModelPhysics(const G4String &name="EmModel")
TG4EmModelPhysics(const TG4EmModelPhysics &right)
Not implemented.
virtual void ConstructProcess()
Construct physics processes.
TG4EmModelPhysics & operator=(const TG4EmModelPhysics &right)
Not implemented.
void AddModel(TG4EmModel model, const G4ParticleDefinition *particle, const std::vector< G4String > &regions)
static TG4EmModel GetEmModel(const G4String &modelName)
void AddModels(const std::vector< TG4ModelConfiguration * > &models)
A helper class to hold a configuration of a special physics model.
Abstract base class for physics constructors with verbose.
TG4EmModel
Enumeration for EM physics models supported in this class.
@ kPAIPhotonModel
PAIPhot model.
@ kPAIModel
PAI model.
@ kSpecialUrbanMscModel
Special UrbanMsc model adapted for ALICE EMCAL.
@ kNoEmModel
No extra EM model.