Import Geant4 3.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:55:53 +02:00
parent e7d7193284
commit cfcb558cfe
3050 changed files with 91703 additions and 48310 deletions
@@ -5,14 +5,25 @@
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
//
// $Id: G4PVDigitsCollection.ddl,v 1.4 1999/12/01 14:45:10 morita Exp $
// GEANT4 tag $Name: geant4-02-00 $
// $Id: G4PVDigitsCollection.ddl,v 1.6 2000/12/15 08:04:13 morita Exp $
// GEANT4 tag $Name: geant4-03-00 $
//
// Class Description:
// This is a persistent version of container class which stores
// the associations to the digits of one sensitive detector.
// User should inherit his/her own persistent digits collection
// from this class to store user derived digits.
// At the end of each event, user sensitive detector should
// create a new collection with a detector name and a collection
// name. Comparison operator and GetName(), GetSDName() are
// provided.
//
#ifndef G4PVDigitsCollection_h
#define G4PVDigitsCollection_h 1
#include "globals.hh"
#include "G4Pglobals.hh"
#include "G4PersistentTypes.hh"
#include "G4PersistentSchema.hh"
@@ -21,22 +32,26 @@
class G4PVDigitsCollection
: public HepPersObj
{
public:
public: // with description
G4PVDigitsCollection(G4String detName,G4String colNam);
// Constructor.
~G4PVDigitsCollection();
// Destructor.
int operator==(const G4PVDigitsCollection &right) const;
// Comparison with detName and colNam.
protected:
// Persistent Collection name
G4PString pcollectionName;
G4PString pDMname;
public:
public: // with description
inline G4String GetName()
{ return (G4String) pcollectionName; }
// returns the collection name.
inline G4String GetDMname()
{ return (G4String) pDMname; }
// returns the detector name.
};