Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExExChHadronPhysicsQGSP_BIC Class Reference

#include <ExExChHadronPhysicsQGSP_BIC.hh>

Inheritance diagram for ExExChHadronPhysicsQGSP_BIC:
Collaboration diagram for ExExChHadronPhysicsQGSP_BIC:

Public Member Functions

 ExExChHadronPhysicsQGSP_BIC (G4int verbose=1)
 
 ExExChHadronPhysicsQGSP_BIC (const G4String &name, G4bool quasiElastic=true)
 
virtual ~ExExChHadronPhysicsQGSP_BIC ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 
- Public Member Functions inherited from G4VPhysicsConstructor
 G4VPhysicsConstructor (const G4String &="")
 
 G4VPhysicsConstructor (const G4String &name, G4int physics_type)
 
virtual ~G4VPhysicsConstructor ()
 
void SetPhysicsName (const G4String &="")
 
const G4StringGetPhysicsName () const
 
void SetPhysicsType (G4int)
 
G4int GetPhysicsType () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
G4int GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPhysicsConstructor
static const G4VPCManagerGetSubInstanceManager ()
 
- Protected Member Functions inherited from G4VPhysicsConstructor
G4bool RegisterProcess (G4VProcess *process, G4ParticleDefinition *particle)
 
G4ParticleTable::G4PTblDicIteratorGetParticleIterator () const
 
- Protected Attributes inherited from G4VPhysicsConstructor
G4int verboseLevel
 
G4String namePhysics
 
G4int typePhysics
 
G4ParticleTabletheParticleTable
 
G4int g4vpcInstanceID
 
- Static Protected Attributes inherited from G4VPhysicsConstructor
static G4RUN_DLL G4VPCManager subInstanceManager
 

Detailed Description

Definition at line 62 of file ExExChHadronPhysicsQGSP_BIC.hh.

Constructor & Destructor Documentation

ExExChHadronPhysicsQGSP_BIC::ExExChHadronPhysicsQGSP_BIC ( G4int  verbose = 1)

Definition at line 61 of file ExExChHadronPhysicsQGSP_BIC.cc.

62 : G4VPhysicsConstructor("hInelastic Xtal QGSP_BIC")
63 /* , theNeutrons(0)
64  , theFTFPNeutron(0)
65  , theQGSPNeutron(0)
66  , theBinaryNeutron(0)
67  , thePiK(0)
68  , theFTFPPiK(0)
69  , theQGSPPiK(0)
70  , theBertiniPiK(0)
71  , thePro(0)
72  , theFTFPPro(0)
73  , theQGSPPro(0)
74  , theBinaryPro(0)
75  , theHyperon(0)
76  , theAntiBaryon(0)
77  , theFTFPAntiBaryon(0)
78  , xsNeutronInelasticXS(0)
79  , xsNeutronCaptureXS(0)*/
80 // , QuasiElastic(true)
81 {}
G4VPhysicsConstructor(const G4String &="")
ExExChHadronPhysicsQGSP_BIC::ExExChHadronPhysicsQGSP_BIC ( const G4String name,
G4bool  quasiElastic = true 
)

Definition at line 85 of file ExExChHadronPhysicsQGSP_BIC.cc.

88 /* , theNeutrons(0)
89  , theFTFPNeutron(0)
90  , theQGSPNeutron(0)
91  , theBinaryNeutron(0)
92  , thePiK(0)
93  , theFTFPPiK(0)
94  , theQGSPPiK(0)
95  , theBertiniPiK(0)
96  , thePro(0)
97  , theFTFPPro(0)
98  , theQGSPPro(0)
99  , theBinaryPro(0)
100  , theHyperon(0)
101  , theAntiBaryon(0)
102  , theFTFPAntiBaryon(0)
103  , xsNeutronInelasticXS(0)
104  , xsNeutronCaptureXS(0)*/
105 // , QuasiElastic(quasiElastic)
106 {}
G4VPhysicsConstructor(const G4String &="")
ExExChHadronPhysicsQGSP_BIC::~ExExChHadronPhysicsQGSP_BIC ( )
virtual

Definition at line 162 of file ExExChHadronPhysicsQGSP_BIC.cc.

163 {
164  if(tpdata) delete tpdata;
165 }

Member Function Documentation

void ExExChHadronPhysicsQGSP_BIC::ConstructParticle ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 169 of file ExExChHadronPhysicsQGSP_BIC.cc.

170 {
171  G4MesonConstructor pMesonConstructor;
172  pMesonConstructor.ConstructParticle();
173 
174  G4BaryonConstructor pBaryonConstructor;
175  pBaryonConstructor.ConstructParticle();
176 
177  G4ShortLivedConstructor pShortLivedConstructor;
178  pShortLivedConstructor.ConstructParticle();
179 
180  G4IonConstructor pIonConstructor;
181  pIonConstructor.ConstructParticle();
182 }
static void ConstructParticle()
static void ConstructParticle()
static void ConstructParticle()

Here is the call graph for this function:

void ExExChHadronPhysicsQGSP_BIC::ConstructProcess ( void  )
virtual

Implements G4VPhysicsConstructor.

Definition at line 187 of file ExExChHadronPhysicsQGSP_BIC.cc.

188 {
189  if ( tpdata == 0 ) tpdata = new ThreadPrivate;
190  CreateModels();
191  tpdata->theNeutrons->Build();
192  tpdata->thePro->Build();
193  tpdata->thePiK->Build();
194  tpdata->theHyperon->Build();
195  tpdata->theAntiBaryon->Build();
196 
197  // --- Neutrons ---
198  tpdata->xsNeutronInelasticXS = new G4NeutronInelasticXS();
200  G4Neutron::Neutron())->AddDataSet(tpdata->xsNeutronInelasticXS);
201 
202  G4HadronicProcess* capture = 0;
204  G4ProcessVector* pv = pmanager->GetProcessList();
205  for ( size_t i=0; i < static_cast<size_t>(pv->size()); ++i ) {
206  if ( fCapture == ((*pv)[i])->GetProcessSubType() ) {
207  capture = static_cast<G4HadronicProcess*>((*pv)[i]);
208  }
209  }
210  if ( ! capture ) {
211  capture = new G4HadronCaptureProcess("nCapture");
212  pmanager->AddDiscreteProcess(capture);
213  }
214  tpdata->xsNeutronCaptureXS = new G4NeutronCaptureXS();
215  capture->AddDataSet(tpdata->xsNeutronCaptureXS);
216  capture->RegisterMe(new G4NeutronRadCapture());
217 }
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
void RegisterMe(G4HadronicInteraction *a)
static G4HadronicProcess * FindInelasticProcess(const G4ParticleDefinition *)
void AddDataSet(G4VCrossSectionDataSet *aDataSet)
static G4Neutron * Neutron()
Definition: G4Neutron.cc:104
G4int size() const
G4ProcessManager * GetProcessManager() const
G4ProcessVector * GetProcessList() const

Here is the call graph for this function:


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