Import Geant4 2.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4ProcTblElement.hh,v 1.4.2.1 1999/11/11 14:31:29 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-01-01 $
|
||||
// $Id: G4ProcTblElement.hh,v 1.7 2000/03/02 01:45:10 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
@@ -17,6 +17,8 @@
|
||||
// History: first implementation, based on object model of
|
||||
// 4th Aug 1998, H.Kurashige
|
||||
// ------------------------------------------------------------
|
||||
// Use STL vector instead of RW vector 1. Mar 00 H.Kurashige
|
||||
//
|
||||
// Class Description
|
||||
// This class is used by G4ProcessTable ONLY for booking !!!
|
||||
//
|
||||
@@ -26,7 +28,7 @@
|
||||
|
||||
#include "globals.hh"
|
||||
#include "G4ios.hh"
|
||||
#include "g4rw/tpordvec.h"
|
||||
#include "g4std/vector"
|
||||
|
||||
#include "G4ParticleDefinition.hh"
|
||||
#include "G4VProcess.hh"
|
||||
@@ -55,20 +57,24 @@ class G4ProcTblElement
|
||||
// equal / unequal operator
|
||||
|
||||
protected:
|
||||
typedef G4RWTPtrOrderedVector<G4ProcessManager> G4ProcMgrVector;
|
||||
// Use STL Vector
|
||||
typedef G4std::vector<G4ProcessManager*> G4ProcMgrVector;
|
||||
|
||||
inline G4int Length() const ;
|
||||
inline void Insert(G4ProcessManager* aProcMgr);
|
||||
inline void Remove(G4ProcessManager* aProcMgr);
|
||||
G4int Length() const ;
|
||||
void Insert(G4ProcessManager* aProcMgr);
|
||||
void Remove(G4ProcessManager* aProcMgr);
|
||||
|
||||
inline G4VProcess* GetProcess() const;
|
||||
inline const G4String& GetProcessName() const;
|
||||
G4VProcess* GetProcess() const;
|
||||
const G4String& GetProcessName() const;
|
||||
|
||||
inline G4ProcessManager* GetProcessManager(G4int index) const;
|
||||
const G4ProcMgrVector* GetProcMgrVector() const { return pProcMgrVector; }
|
||||
G4ProcessManager* GetProcessManager(G4int index) const;
|
||||
|
||||
inline
|
||||
const G4ProcMgrVector* GetProcMgrVector() const
|
||||
{ return pProcMgrVector;}
|
||||
|
||||
inline G4int GetIndex(const G4ProcessManager* pManager) const ;
|
||||
inline G4bool Contains(const G4ProcessManager* pManager) const ;
|
||||
G4int GetIndex(const G4ProcessManager* pManager) const ;
|
||||
G4bool Contains(const G4ProcessManager* pManager) const ;
|
||||
|
||||
private:
|
||||
G4VProcess* pProcess;
|
||||
|
||||
Reference in New Issue
Block a user