G3Pos Class Reference

#include <G3Pos.hh>


Public Member Functions

 G3Pos ()
 G3Pos (G4String M, G4int C, G4ThreeVector *T, G4int R, G4String O)
G4bool operator== (const G3Pos &g3p) const
virtual ~G3Pos ()
G4StringGetMotherName ()
G4int GetIrot ()
G4ThreeVectorGetPos ()
G4int GetCopy ()
G4StringGetOnly ()


Detailed Description

Definition at line 43 of file G3Pos.hh.


Constructor & Destructor Documentation

G3Pos::G3Pos (  )  [inline]

Definition at line 48 of file G3Pos.hh.

00048 {;}

G3Pos::G3Pos ( G4String  M,
G4int  C,
G4ThreeVector T,
G4int  R,
G4String  O 
)

Definition at line 34 of file G3Pos.cc.

References G4cerr, and G4endl.

00036   : _MotherName(motherName),
00037     _Copy(C), 
00038     _Position(Position), 
00039     _Irot(irot), 
00040     _Only(Only)
00041 {
00042   if (_Only == "MANY") {
00043     // warning when MANY position is created
00044     G4String text = "G3Pos warning: Not supported MANY option has been encountered.\n";
00045     text = text +   "               It may cause overlapping volumes.";
00046     G4cerr << text << G4endl;
00047   }
00048 }

G3Pos::~G3Pos (  )  [virtual]

Definition at line 50 of file G3Pos.cc.

00050 {;}


Member Function Documentation

G4int G3Pos::GetCopy (  ) 

Definition at line 68 of file G3Pos.cc.

00068                {
00069   return _Copy;
00070 }

G4int G3Pos::GetIrot (  ) 

Definition at line 63 of file G3Pos.cc.

Referenced by GetTransform3D().

00063                {
00064   return _Irot;
00065 }

G4String & G3Pos::GetMotherName (  ) 

Definition at line 58 of file G3Pos.cc.

00058                      {
00059   return _MotherName;
00060 }

G4String & G3Pos::GetOnly (  ) 

Definition at line 78 of file G3Pos.cc.

Referenced by G3VolTableEntry::AddG3Pos().

00078                {
00079   return _Only;
00080 }

G4ThreeVector * G3Pos::GetPos (  ) 

Definition at line 73 of file G3Pos.cc.

Referenced by GetTransform3D().

00073               {
00074   return _Position;
00075 }

G4bool G3Pos::operator== ( const G3Pos g3p  )  const

Definition at line 53 of file G3Pos.cc.

00053                                           {
00054   return (this==&lv) ? true : false;
00055 }


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