LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
MyQGSP_BERT_HP_NeutronXSBias.cc
Go to the documentation of this file.
1
// The following change is the _only_ required changed to move from
3
// the non-extensible factory to the exensible factory. All other changes
4
// relative to the "factory" example are there to demonstrate new features.
6
// non-extensible: #include "G4PhysListFactory.hh"
7
#include "Geant4/G4PhysListFactoryAlt.hh"
8
// use this for drop-in replacement: using namespace g4alt;
9
// using namespace g4alt;
10
12
// headers needed to demonstrate new features
14
15
// allow ourselves to extend the short names for physics ctor addition/replace
16
// along the same lines as EMX, EMY, etc
17
#include "Geant4/G4PhysListRegistry.hh"
18
19
// allow ourselves to give the user extra info about available physics ctors
20
#include "Geant4/G4PhysicsConstructorFactory.hh"
21
23
// pull in a user defined physics list definition into the main program
24
// and register it with the factory (doesn't have to be the main program
25
// but the .o containing the declaration _must_ get linked/loaded)
26
27
#include "Geant4/G4VModularPhysicsList.hh"
28
29
#include "Geant4/G4PhysListStamper.hh"
// defines macro for factory registration
30
#include "
MyQGSP_BERT_HP_NeutronXSBias.hh
"
31
33
34
G4_DECLARE_PHYSLIST_FACTORY
(
MyQGSP_BERT_HP_NeutronXSBias
);
TMyQGSP_BERT_HP_NeutronXSBias
Definition:
MyQGSP_BERT_HP_NeutronXSBias.hh:48
MyQGSP_BERT_HP_NeutronXSBias.hh
G4_DECLARE_PHYSLIST_FACTORY
G4_DECLARE_PHYSLIST_FACTORY(MyQGSP_BERT_HP_NeutronXSBias)
#define G4CASCADE_DEBUG_INTERFACE 1
artg4tk
v12_00_03
source
artg4tk
lists
MyQGSP_BERT_HP_NeutronXSBias.cc
Generated on Thu May 2 2024 20:59:30 for LArSoft by
1.8.11