Geant4  10.02.p03
G3Pos Class Reference

#include <G3Pos.hh>

Collaboration diagram for G3Pos:

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 ()
 

Private Attributes

G4String _MotherName
 
G4int _Copy
 
G4ThreeVector_Position
 
G4int _Irot
 
G4String _Only
 

Detailed Description

Definition at line 43 of file G3Pos.hh.

Constructor & Destructor Documentation

◆ G3Pos() [1/2]

G3Pos::G3Pos ( )
inline

Definition at line 48 of file G3Pos.hh.

48 {;}
Here is the call graph for this function:

◆ G3Pos() [2/2]

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 }
G4String _Only
Definition: G3Pos.hh:72
double C(double temp)
G4int _Irot
Definition: G3Pos.hh:71
G4ThreeVector * _Position
Definition: G3Pos.hh:70
G4int _Copy
Definition: G3Pos.hh:69
G4String _MotherName
Definition: G3Pos.hh:68
#define G4endl
Definition: G4ios.hh:61
G4GLOB_DLL std::ostream G4cerr

◆ ~G3Pos()

G3Pos::~G3Pos ( )
virtual

Definition at line 50 of file G3Pos.cc.

50 {;}
Here is the caller graph for this function:

Member Function Documentation

◆ GetCopy()

G4int G3Pos::GetCopy ( )

Definition at line 68 of file G3Pos.cc.

68  {
69  return _Copy;
70 }
G4int _Copy
Definition: G3Pos.hh:69
Here is the caller graph for this function:

◆ GetIrot()

G4int G3Pos::GetIrot ( )

Definition at line 63 of file G3Pos.cc.

63  {
64  return _Irot;
65 }
G4int _Irot
Definition: G3Pos.hh:71
Here is the caller graph for this function:

◆ GetMotherName()

G4String & G3Pos::GetMotherName ( )

Definition at line 58 of file G3Pos.cc.

58  {
59  return _MotherName;
60 }
G4String _MotherName
Definition: G3Pos.hh:68
Here is the caller graph for this function:

◆ GetOnly()

G4String & G3Pos::GetOnly ( )

Definition at line 78 of file G3Pos.cc.

78  {
79  return _Only;
80 }
G4String _Only
Definition: G3Pos.hh:72
Here is the caller graph for this function:

◆ GetPos()

G4ThreeVector * G3Pos::GetPos ( )

Definition at line 73 of file G3Pos.cc.

73  {
74  return _Position;
75 }
G4ThreeVector * _Position
Definition: G3Pos.hh:70
Here is the caller graph for this function:

◆ operator==()

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

Definition at line 53 of file G3Pos.cc.

53  {
54  return (this==&lv) ? true : false;
55 }
Here is the caller graph for this function:

Member Data Documentation

◆ _Copy

G4int G3Pos::_Copy
private

Definition at line 69 of file G3Pos.hh.

◆ _Irot

G4int G3Pos::_Irot
private

Definition at line 71 of file G3Pos.hh.

◆ _MotherName

G4String G3Pos::_MotherName
private

Definition at line 68 of file G3Pos.hh.

◆ _Only

G4String G3Pos::_Only
private

Definition at line 72 of file G3Pos.hh.

◆ _Position

G4ThreeVector* G3Pos::_Position
private

Definition at line 70 of file G3Pos.hh.


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