Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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.

48 {;}
G3Pos::G3Pos ( G4String  M,
G4int  C,
G4ThreeVector T,
G4int  R,
G4String  O 
)

Definition at line 34 of file G3Pos.cc.

36  : _MotherName(motherName),
37  _Copy(C),
38  _Position(Position),
39  _Irot(irot),
40  _Only(Only)
41 {
42  if (_Only == "MANY") {
43  // warning when MANY position is created
44  G4String text = "G3Pos warning: Not supported MANY option has been encountered.\n";
45  text = text + " It may cause overlapping volumes.";
46  G4cerr << text << G4endl;
47  }
48 }
double C(double temp)
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr
G3Pos::~G3Pos ( )
virtual

Definition at line 50 of file G3Pos.cc.

50 {;}

Member Function Documentation

G4int G3Pos::GetCopy ( )

Definition at line 68 of file G3Pos.cc.

68  {
69  return _Copy;
70 }

Here is the caller graph for this function:

G4int G3Pos::GetIrot ( )

Definition at line 63 of file G3Pos.cc.

63  {
64  return _Irot;
65 }

Here is the caller graph for this function:

G4String & G3Pos::GetMotherName ( )

Definition at line 58 of file G3Pos.cc.

58  {
59  return _MotherName;
60 }

Here is the caller graph for this function:

G4String & G3Pos::GetOnly ( )

Definition at line 78 of file G3Pos.cc.

78  {
79  return _Only;
80 }

Here is the caller graph for this function:

G4ThreeVector * G3Pos::GetPos ( )

Definition at line 73 of file G3Pos.cc.

73  {
74  return _Position;
75 }

Here is the caller graph for this function:

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

Definition at line 53 of file G3Pos.cc.

53  {
54  return (this==&lv) ? true : false;
55 }

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