Import Geant4 10.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2019-12-06 15:12:28 +01:00
parent b2a62ae692
commit 5baee230e9
2997 changed files with 141580 additions and 98673 deletions
+15 -15
View File
@@ -23,29 +23,30 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// G4DCtable
//
//
#ifndef G4DCtable_H
#define G4DCtable_H 1
class G4VDigitizerModule;
#include "globals.hh"
//#include "g4rw/tvordvec.h"
#include <vector>
// class description:
//
// This class is used by G4DigiManager for book keeping the
// This class is used by G4DigiManager for book keeping the
// digitizer modules and digits collections. The order of
// digi collections stored in G4DCofThisEvent is same as the
// order of DClist.
// The order may vary from run to run, if the user adds/changes
// The order may vary from run to run, if the user adds/changes
// some of his/her digitizer modules.
// In case user wants to make G4Run object persistent, this
// In case user wants to make G4Run object persistent, this
// G4DCtable class object should be copied and stored with
// G4Run object.
// Author: M.Asai
// --------------------------------------------------------------------
#ifndef G4DCtable_hh
#define G4DCtable_hh 1
#include "globals.hh"
#include <vector>
class G4VDigitizerModule;
class G4DCtable
{
public:
@@ -63,7 +64,7 @@ class G4DCtable
public:
inline G4int entries() const
{ return DClist.size(); }
{ return G4int(DClist.size()); }
inline G4String GetDMname(G4int i) const
{
if(i<0||i>entries()) return "***Not Defined***";
@@ -74,7 +75,6 @@ class G4DCtable
if(i<0||i>entries()) return "***Not Defined***";
return DClist[i];
}
};
#endif