LArSoft  v06_85_00
Liquid Argon Software toolkit - http://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
 

Functions

void SetG4PyCoutDestination ()
 
void ResetG4PyCoutDestination ()
 

Typedef Documentation

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

Definition at line 65 of file pyglobals.cc.

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

Definition at line 64 of file pyglobals.cc.

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

Definition at line 66 of file pyglobals.cc.

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

Definition at line 67 of file pyglobals.cc.

Function Documentation

void pyglobals::ResetG4PyCoutDestination ( )

Definition at line 58 of file pyglobals.cc.

Referenced by export_globals().

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

Definition at line 50 of file pyglobals.cc.

References G4cerrbuf, and G4coutbuf.

Referenced by export_globals().

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