Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
@@ -33,27 +33,28 @@
class G4ping
{
public:
G4ping(G4String aName) : theName(aName) {};
public:
G4ping(const G4String& aName) : theName(aName) {}
void push_back(G4String aS) {theS.push_back(aS);}
void push_back(const G4String& aS) {theS.push_back(aS);}
void push_back(G4double aD) {theD.push_back(aD);}
void push_back(G4LorentzVector aV) {theV.push_back(aV);}
void push_back(const G4LorentzVector& aV) {theV.push_back(aV);}
void dump()
{
if(std::getenv(theName))
{
size_t i(0);
for(i=0; i<theS.size(); i++)
std::size_t i(0);
for(i=0; i<theS.size(); ++i)
{
G4cout << theS[i]<<", ";
}
for(i=0; i<theD.size(); i++)
for(i=0; i<theD.size(); ++i)
{
G4cout << theD[i]<<", ";
}
for(i=0; i<theV.size(); i++)
for(i=0; i<theV.size(); ++i)
{
G4cout << theV[i]<<", ";
}
@@ -63,7 +64,9 @@
theD.clear();
theV.clear();
}
private:
private:
std::vector<G4String> theS;
std::vector<G4double> theD;
std::vector<G4LorentzVector> theV;