50 lines
1.3 KiB
SQL
50 lines
1.3 KiB
SQL
// This code implementation is the intellectual property of
|
|
// the 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: G4PPVPlacement.ddl,v 1.3.2.1 1999/12/07 20:50:07 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-01-00 $
|
|
//
|
|
//
|
|
// P-versieon of G4PVPlacement Takashi.Sasaki@kek.jp
|
|
#ifndef G4PPVPLACEMENT_DDL
|
|
#define G4PPVPLACEMENT_DDL 1
|
|
|
|
#include "G4PersistentTypes.hh"
|
|
#include "G4PersistentSchema.hh"
|
|
|
|
class G4VPhysicalVolume;
|
|
class G4LogicalVolume;
|
|
class G4PLogicalVolume;
|
|
|
|
#include "G4PVPhysicalVolume.hh"
|
|
|
|
class G4PPVPlacement : public G4PVPhysicalVolume
|
|
{
|
|
public:
|
|
G4PPVPlacement( G4VPhysicalVolume *PhysVol,
|
|
HepRef(G4PLogicalVolume) persLogVol);
|
|
|
|
~G4PPVPlacement();
|
|
|
|
G4VPhysicalVolume* MakeTransientObject(
|
|
G4LogicalVolume* aLogical,
|
|
G4VPhysicalVolume* aMother );
|
|
|
|
virtual G4bool IsMany() const;
|
|
virtual G4int GetCopyNo() const;
|
|
|
|
protected:
|
|
virtual void SetCopyNo(G4int CopyNo);
|
|
|
|
private:
|
|
G4bool fmany; // flag for booleans
|
|
// G4bool fallocatedRotM; // flag for allocation of Rotation Matrix
|
|
G4Pint fcopyNo; // for identification
|
|
};
|
|
|
|
#endif
|