52 lines
1.4 KiB
C++
52 lines
1.4 KiB
C++
// This code implementation is the intellectual property of
|
|
// the RD44 GEANT4 collaboration.
|
|
//
|
|
// By copying, distributing or modifying the Program (or any work
|
|
// based on the Program) you indicate your acceptance of this statement,
|
|
// and all its terms.
|
|
//
|
|
// $Id: G4ProcessVector.hh,v 2.1 1998/07/13 17:27:37 urbi Exp $
|
|
// GEANT4 tag $Name: geant4-00 $
|
|
//
|
|
//
|
|
// ------------------------------------------------------------
|
|
// GEANT 4 class header file
|
|
//
|
|
// For information related to this code contact:
|
|
// CERN, CN Division, ASD group
|
|
// History: first implementation, based on object model of
|
|
// 2nd December 1995, G.Cosmo
|
|
// ------------------------------------------------------------
|
|
|
|
#ifndef G4ProcessVector_h
|
|
#define G4ProcessVector_h 1
|
|
|
|
#include "globals.hh"
|
|
#include "G4ios.hh"
|
|
#include <rw/tpordvec.h>
|
|
|
|
#include "G4VProcess.hh"
|
|
|
|
class G4ProcessVector : public RWTPtrOrderedVector<G4VProcess>
|
|
{
|
|
// Is a container for pointers to physics process objects. Its
|
|
// functionality is derived from RWTPtrOrderedVector<T>.
|
|
|
|
public:
|
|
|
|
G4ProcessVector(size_t capac=RWDEFAULT_CAPACITY)
|
|
: RWTPtrOrderedVector<G4VProcess>(capac) {;}
|
|
// Constructor.
|
|
|
|
virtual ~G4ProcessVector() {;}
|
|
// Destructor.
|
|
|
|
G4bool operator==(const G4ProcessVector &right) const
|
|
{
|
|
return (this == (G4ProcessVector *) &right);
|
|
}
|
|
|
|
};
|
|
|
|
#endif
|