ATLAS Offline Software
Loading...
Searching...
No Matches
G4MyPhysicalVolume Class Reference

#include <DerivedG4PhysicalVolume.h>

Inheritance diagram for G4MyPhysicalVolume:
Collaboration diagram for G4MyPhysicalVolume:

Public Member Functions

 G4MyPhysicalVolume (G4RotationMatrix *pRot, const G4ThreeVector &tlate, const G4String &pName, G4LogicalVolume *pLogical, G4VPhysicalVolume *pPhysical)
 ~G4MyPhysicalVolume ()
G4int GetCopyNo () const final
void SetCopyNo (G4int CopyNo) final
void SetVolumeType (EVolume volumetype)
G4bool IsMany () const final
G4bool IsReplicated () const final
G4bool IsParameterised () const final
G4VPVParameterisation * GetParameterisation () const final
void GetReplicationData (EAxis &axis, G4int &nReplicas, G4double &width, G4double &offset, G4bool &consuming) const final
G4bool IsRegularStructure () const final
G4int GetRegularStructureId () const final
EVolume VolumeType () const

Public Attributes

G4int copyNo {}

Private Attributes

EVolume fTypeOfVolume {kNormal}

Detailed Description

Definition at line 16 of file DerivedG4PhysicalVolume.h.

Constructor & Destructor Documentation

◆ G4MyPhysicalVolume()

G4MyPhysicalVolume::G4MyPhysicalVolume ( G4RotationMatrix * pRot,
const G4ThreeVector & tlate,
const G4String & pName,
G4LogicalVolume * pLogical,
G4VPhysicalVolume * pPhysical )
inline

Definition at line 20 of file DerivedG4PhysicalVolume.h.

24 : G4VPhysicalVolume(pRot, tlate, pName, pLogical, pPhysical)
25 {
26
27 }

◆ ~G4MyPhysicalVolume()

G4MyPhysicalVolume::~G4MyPhysicalVolume ( )
inline

Definition at line 29 of file DerivedG4PhysicalVolume.h.

29{}

Member Function Documentation

◆ GetCopyNo()

G4int G4MyPhysicalVolume::GetCopyNo ( ) const
inlinefinal

Definition at line 31 of file DerivedG4PhysicalVolume.h.

32 {
33 return copyNo;
34 }

◆ GetParameterisation()

G4VPVParameterisation * G4MyPhysicalVolume::GetParameterisation ( ) const
inlinefinal

Definition at line 48 of file DerivedG4PhysicalVolume.h.

48{ return nullptr; }

◆ GetRegularStructureId()

G4int G4MyPhysicalVolume::GetRegularStructureId ( ) const
inlinefinal

Definition at line 61 of file DerivedG4PhysicalVolume.h.

61{ return 0; }

◆ GetReplicationData()

void G4MyPhysicalVolume::GetReplicationData ( EAxis & axis,
G4int & nReplicas,
G4double & width,
G4double & offset,
G4bool & consuming ) const
inlinefinal

Definition at line 50 of file DerivedG4PhysicalVolume.h.

51 {
52 axis = (EAxis)1;
53 nReplicas = 0;
54 width = 0.0;
55 offset = 0.0;
56 consuming = true;
57 }
const double width

◆ IsMany()

G4bool G4MyPhysicalVolume::IsMany ( ) const
inlinefinal

Definition at line 42 of file DerivedG4PhysicalVolume.h.

42{ return true; }

◆ IsParameterised()

G4bool G4MyPhysicalVolume::IsParameterised ( ) const
inlinefinal

Definition at line 46 of file DerivedG4PhysicalVolume.h.

46{ return true; }

◆ IsRegularStructure()

G4bool G4MyPhysicalVolume::IsRegularStructure ( ) const
inlinefinal

Definition at line 59 of file DerivedG4PhysicalVolume.h.

59{ return true; }

◆ IsReplicated()

G4bool G4MyPhysicalVolume::IsReplicated ( ) const
inlinefinal

Definition at line 44 of file DerivedG4PhysicalVolume.h.

44{ return true; }

◆ SetCopyNo()

void G4MyPhysicalVolume::SetCopyNo ( G4int CopyNo)
inlinefinal

Definition at line 36 of file DerivedG4PhysicalVolume.h.

37 {
38 copyNo = CopyNo;
39 }

◆ SetVolumeType()

void G4MyPhysicalVolume::SetVolumeType ( EVolume volumetype)
inline

Definition at line 40 of file DerivedG4PhysicalVolume.h.

40{ fTypeOfVolume = volumetype ;}

◆ VolumeType()

EVolume G4MyPhysicalVolume::VolumeType ( ) const
inline

Definition at line 63 of file DerivedG4PhysicalVolume.h.

63{ return fTypeOfVolume; }

Member Data Documentation

◆ copyNo

G4int G4MyPhysicalVolume::copyNo {}

Definition at line 65 of file DerivedG4PhysicalVolume.h.

65{};

◆ fTypeOfVolume

EVolume G4MyPhysicalVolume::fTypeOfVolume {kNormal}
private

Definition at line 69 of file DerivedG4PhysicalVolume.h.

69{kNormal};

The documentation for this class was generated from the following file: