G4VParameterisationBox Class Reference

#include <G4ParameterisationBox.hh>

Inheritance diagram for G4VParameterisationBox:

G4VDivisionParameterisation G4VPVParameterisation G4ParameterisationBoxX G4ParameterisationBoxY G4ParameterisationBoxZ

Public Member Functions

 G4VParameterisationBox (EAxis axis, G4int nCopies, G4double offset, G4double step, G4VSolid *msolid, DivisionType divType)
virtual ~G4VParameterisationBox ()

Detailed Description

Definition at line 64 of file G4ParameterisationBox.hh.


Constructor & Destructor Documentation

G4VParameterisationBox::G4VParameterisationBox ( EAxis  axis,
G4int  nCopies,
G4double  offset,
G4double  step,
G4VSolid msolid,
DivisionType  divType 
)

Definition at line 48 of file G4ParameterisationBox.cc.

References G4VDivisionParameterisation::fmotherSolid, G4VDivisionParameterisation::fReflectedSolid, and G4VSolid::GetEntityType().

00051   :  G4VDivisionParameterisation( axis, nDiv, width, offset, divType, msolid )
00052 {
00053   G4Box* msol = (G4Box*)(msolid);
00054   if (msolid->GetEntityType() == "G4ReflectedSolid")
00055   {
00056     // Get constituent solid  
00057     G4VSolid* mConstituentSolid 
00058        = ((G4ReflectedSolid*)msolid)->GetConstituentMovedSolid();
00059     msol = (G4Box*)(mConstituentSolid);
00060     fmotherSolid = msol;
00061     fReflectedSolid = true;
00062   }    
00063 }

G4VParameterisationBox::~G4VParameterisationBox (  )  [virtual]

Definition at line 66 of file G4ParameterisationBox.cc.

00067 {
00068 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:52 2013 for Geant4 by  doxygen 1.4.7