Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4HadronicInteractionRegistry.cc 66872 2013-01-15 01:25:57Z japost $
|
||||
// $Id: G4HadronicInteractionRegistry.cc 82440 2014-06-20 10:39:49Z gcosmo $
|
||||
//
|
||||
// 23-Jan-2009 V.Ivanchenko make the class to be a singleton
|
||||
// 17-Aug-2012 V.Ivanchenko added hadronic model factories
|
||||
@@ -117,3 +117,20 @@ G4HadronicInteractionRegistry::FindModel(const G4String& name)
|
||||
}
|
||||
return model;
|
||||
}
|
||||
|
||||
std::vector<G4HadronicInteraction*>
|
||||
G4HadronicInteractionRegistry::FindAllModels(const G4String& name)
|
||||
{
|
||||
std::vector<G4HadronicInteraction*> models;
|
||||
|
||||
size_t nModels = allModels.size();
|
||||
for (size_t i=0; i<nModels; ++i) {
|
||||
G4HadronicInteraction* p = allModels[i];
|
||||
if(p) {
|
||||
if (p->GetModelName() == name) {
|
||||
models.push_back(p);
|
||||
}
|
||||
}
|
||||
}
|
||||
return models;
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4VPreCompoundModel.cc 66785 2013-01-12 15:10:13Z gcosmo $
|
||||
// $Id: G4VPreCompoundModel.cc 80131 2014-04-02 14:35:47Z gcosmo $
|
||||
//
|
||||
// -----------------------------------------------------------------------------
|
||||
// GEANT 4 class file
|
||||
@@ -46,3 +46,9 @@ G4VPreCompoundModel::G4VPreCompoundModel(G4ExcitationHandler* ptr,
|
||||
G4VPreCompoundModel::~G4VPreCompoundModel()
|
||||
{}
|
||||
|
||||
void G4VPreCompoundModel::DeExciteModelDescription(std::ostream& outFile) const
|
||||
{
|
||||
outFile << "description of DeExcite() for model derived from G4VPrecompoundModel missing"
|
||||
<< "\n";
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user