ATLAS Offline Software
Public Member Functions | Public Attributes | Private Attributes | List of all members
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
 

Detailed Description

Definition at line 15 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 19 of file DerivedG4PhysicalVolume.h.

19  : G4VPhysicalVolume(pRot, tlate, pName, pLogical, pPhysical)
20  {
21 
22  }

◆ ~G4MyPhysicalVolume()

G4MyPhysicalVolume::~G4MyPhysicalVolume ( )
inline

Definition at line 24 of file DerivedG4PhysicalVolume.h.

24 {}

Member Function Documentation

◆ GetCopyNo()

G4int G4MyPhysicalVolume::GetCopyNo ( ) const
inlinefinal

Definition at line 26 of file DerivedG4PhysicalVolume.h.

27  {
28  return copyNo;
29  }

◆ GetParameterisation()

G4VPVParameterisation* G4MyPhysicalVolume::GetParameterisation ( ) const
inlinefinal

Definition at line 43 of file DerivedG4PhysicalVolume.h.

43 { return nullptr; }

◆ GetRegularStructureId()

G4int G4MyPhysicalVolume::GetRegularStructureId ( ) const
inlinefinal

Definition at line 56 of file DerivedG4PhysicalVolume.h.

56 { return 0; }

◆ GetReplicationData()

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

Definition at line 45 of file DerivedG4PhysicalVolume.h.

46  {
47  axis = (EAxis)1;
48  nReplicas = 0;
49  width = 0.0;
50  offset = 0.0;
51  consuming = true;
52  }

◆ IsMany()

G4bool G4MyPhysicalVolume::IsMany ( ) const
inlinefinal

Definition at line 37 of file DerivedG4PhysicalVolume.h.

37 { return true; }

◆ IsParameterised()

G4bool G4MyPhysicalVolume::IsParameterised ( ) const
inlinefinal

Definition at line 41 of file DerivedG4PhysicalVolume.h.

41 { return true; }

◆ IsRegularStructure()

G4bool G4MyPhysicalVolume::IsRegularStructure ( ) const
inlinefinal

Definition at line 54 of file DerivedG4PhysicalVolume.h.

54 { return true; }

◆ IsReplicated()

G4bool G4MyPhysicalVolume::IsReplicated ( ) const
inlinefinal

Definition at line 39 of file DerivedG4PhysicalVolume.h.

39 { return true; }

◆ SetCopyNo()

void G4MyPhysicalVolume::SetCopyNo ( G4int  CopyNo)
inlinefinal

Definition at line 31 of file DerivedG4PhysicalVolume.h.

32  {
33  copyNo = CopyNo;
34  }

◆ SetVolumeType()

void G4MyPhysicalVolume::SetVolumeType ( EVolume  volumetype)
inline

Definition at line 35 of file DerivedG4PhysicalVolume.h.

35 { fTypeOfVolume = volumetype ;}

◆ VolumeType()

EVolume G4MyPhysicalVolume::VolumeType ( ) const
inline

Definition at line 58 of file DerivedG4PhysicalVolume.h.

58 { return fTypeOfVolume; }

Member Data Documentation

◆ copyNo

G4int G4MyPhysicalVolume::copyNo {}

Definition at line 60 of file DerivedG4PhysicalVolume.h.

◆ fTypeOfVolume

EVolume G4MyPhysicalVolume::fTypeOfVolume
private

Definition at line 64 of file DerivedG4PhysicalVolume.h.


The documentation for this class was generated from the following file:
G4MyPhysicalVolume::fTypeOfVolume
EVolume fTypeOfVolume
Definition: DerivedG4PhysicalVolume.h:64
G4MyPhysicalVolume::copyNo
G4int copyNo
Definition: DerivedG4PhysicalVolume.h:60
yodamerge_tmp.axis
list axis
Definition: yodamerge_tmp.py:241
Base_Fragment.width
width
Definition: Sherpa_i/share/common/Base_Fragment.py:59
convertTimingResiduals.offset
offset
Definition: convertTimingResiduals.py:71