Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4tgbPlaceParameterisation Class Reference

#include <G4tgbPlaceParameterisation.hh>

Inheritance diagram for G4tgbPlaceParameterisation:
Collaboration diagram for G4tgbPlaceParameterisation:

Public Member Functions

 G4tgbPlaceParameterisation (G4tgrPlaceParameterisation *tgrParam)
 
virtual ~G4tgbPlaceParameterisation ()
 
virtual void ComputeTransformation (const G4int, G4VPhysicalVolume *) const
 
void CheckNExtraData (G4tgrPlaceParameterisation *tgrParam, G4int nWcheck, WLSIZEtype st, const G4String &methodName)
 
G4int GetNCopies () const
 
EAxis GetAxis () const
 
- Public Member Functions inherited from G4VPVParameterisation
 G4VPVParameterisation ()
 
virtual ~G4VPVParameterisation ()
 
virtual G4VSolidComputeSolid (const G4int, G4VPhysicalVolume *)
 
virtual G4MaterialComputeMaterial (const G4int repNo, G4VPhysicalVolume *currentVol, const G4VTouchable *parentTouch=0)
 
virtual G4bool IsNested () const
 
virtual G4VVolumeMaterialScannerGetMaterialScanner ()
 
virtual void ComputeDimensions (G4Box &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Tubs &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Trd &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Trap &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Cons &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Sphere &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Orb &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Ellipsoid &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Torus &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Para &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Polycone &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Polyhedra &, const G4int, const G4VPhysicalVolume *) const
 
virtual void ComputeDimensions (G4Hype &, const G4int, const G4VPhysicalVolume *) const
 

Protected Attributes

G4int theNCopies
 
EAxis theAxis
 
G4ThreeVector theTranslation
 
G4RotationMatrixtheRotationMatrix
 

Detailed Description

Definition at line 53 of file G4tgbPlaceParameterisation.hh.

Constructor & Destructor Documentation

G4tgbPlaceParameterisation::G4tgbPlaceParameterisation ( G4tgrPlaceParameterisation tgrParam)

Definition at line 45 of file G4tgbPlaceParameterisation.cc.

Here is the call graph for this function:

G4tgbPlaceParameterisation::~G4tgbPlaceParameterisation ( )
virtual

Definition at line 52 of file G4tgbPlaceParameterisation.cc.

53 {
54  delete theRotationMatrix;
55 }

Member Function Documentation

void G4tgbPlaceParameterisation::CheckNExtraData ( G4tgrPlaceParameterisation tgrParam,
G4int  nWcheck,
WLSIZEtype  st,
const G4String methodName 
)

Definition at line 63 of file G4tgbPlaceParameterisation.cc.

65 {
66  std::vector<G4double> extraData = tgrParam->GetExtraData();
67  G4int ndata = extraData.size();
68 
69  G4String outStr = methodName + " " + tgrParam->GetType() + " ";
70  G4bool isOK = G4tgrUtils::CheckListSize( ndata, nWcheck, st, outStr );
71 
72  if( !isOK )
73  {
74  G4String chartmp = G4UIcommand::ConvertToString( nWcheck );
75  outStr += chartmp + G4String(" words");
76  G4cerr << outStr;
77  G4cerr << " NUMBER OF WORDS " << ndata << G4endl;
78  G4Exception("G4tgbPlaceParameterisation::CheckNExtraData",
79  "InvalidData", FatalException, "Invalid data size.");
80  }
81 }
const G4String & GetType() const
Definition: G4tgrPlace.hh:61
static G4String ConvertToString(G4bool boolVal)
Definition: G4UIcommand.cc:372
int G4int
Definition: G4Types.hh:78
std::vector< G4double > GetExtraData() const
bool G4bool
Definition: G4Types.hh:79
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41
#define G4endl
Definition: G4ios.hh:61
static G4bool CheckListSize(unsigned int nWreal, unsigned int nWcheck, WLSIZEtype st, G4String &outstr)
Definition: G4tgrUtils.cc:497
G4GLOB_DLL std::ostream G4cerr

Here is the call graph for this function:

Here is the caller graph for this function:

void G4tgbPlaceParameterisation::ComputeTransformation ( const G4int  ,
G4VPhysicalVolume  
) const
virtual

Implements G4VPVParameterisation.

Reimplemented in G4tgbPlaceParamCircle, G4tgbPlaceParamLinear, and G4tgbPlaceParamSquare.

Definition at line 58 of file G4tgbPlaceParameterisation.cc.

59 {
60 }
EAxis G4tgbPlaceParameterisation::GetAxis ( ) const
inline

Definition at line 67 of file G4tgbPlaceParameterisation.hh.

Here is the caller graph for this function:

G4int G4tgbPlaceParameterisation::GetNCopies ( ) const
inline

Definition at line 66 of file G4tgbPlaceParameterisation.hh.

Here is the caller graph for this function:

Member Data Documentation

EAxis G4tgbPlaceParameterisation::theAxis
protected

Definition at line 72 of file G4tgbPlaceParameterisation.hh.

G4int G4tgbPlaceParameterisation::theNCopies
protected

Definition at line 71 of file G4tgbPlaceParameterisation.hh.

G4RotationMatrix* G4tgbPlaceParameterisation::theRotationMatrix
protected

Definition at line 74 of file G4tgbPlaceParameterisation.hh.

G4ThreeVector G4tgbPlaceParameterisation::theTranslation
protected

Definition at line 73 of file G4tgbPlaceParameterisation.hh.


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