LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyglobals Namespace Reference

Typedefs

typedef std::vector< G4int > G4intVector
 
typedef std::vector< G4double > G4doubleVector
 
typedef std::vector< G4StringG4StringVector
 
typedef std::vector< G4ThreeVector > G4ThreeVectorVector
 
typedef std::vector< G4TwoVector > G4TwoVectorVector
 

Functions

void SetG4PyCoutDestination ()
 
void ResetG4PyCoutDestination ()
 

Typedef Documentation

typedef std::vector<G4double> pyglobals::G4doubleVector

Definition at line 64 of file pyglobals.cc.

typedef std::vector<G4int> pyglobals::G4intVector

Definition at line 63 of file pyglobals.cc.

typedef std::vector<G4String> pyglobals::G4StringVector

Definition at line 65 of file pyglobals.cc.

typedef std::vector<G4ThreeVector> pyglobals::G4ThreeVectorVector

Definition at line 66 of file pyglobals.cc.

typedef std::vector<G4TwoVector> pyglobals::G4TwoVectorVector

Definition at line 67 of file pyglobals.cc.

Function Documentation

void pyglobals::ResetG4PyCoutDestination ( )

Definition at line 57 of file pyglobals.cc.

Referenced by export_globals().

58 {
59  G4UImanager* UImgr= G4UImanager::GetUIpointer();
60  UImgr-> SetCoutDestination(0);
61 }
void pyglobals::SetG4PyCoutDestination ( )

Definition at line 49 of file pyglobals.cc.

References G4cerrbuf, and G4coutbuf.

Referenced by export_globals().

50 {
51  G4UImanager* UImgr= G4UImanager::GetUIpointer();
53  G4coutbuf.SetDestination(pycout);
54  G4cerrbuf.SetDestination(pycout);
55 }
G4strstreambuf G4cerrbuf
G4strstreambuf G4coutbuf