LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
pyglobals.cc File Reference
#include <boost/python.hpp>
#include "pyG4indexing.hh"
#include "G4Version.hh"
#include "G4strstreambuf.hh"
#include "G4UImanager.hh"
#include "G4PyCoutDestination.hh"
#include "G4ThreeVector.hh"
#include "G4TwoVector.hh"
#include <vector>

Go to the source code of this file.

Namespaces

 pyglobals
 

Typedefs

typedef std::vector< G4int > pyglobals::G4intVector
 
typedef std::vector< G4double > pyglobals::G4doubleVector
 
typedef std::vector< G4Stringpyglobals::G4StringVector
 
typedef std::vector< G4ThreeVector > pyglobals::G4ThreeVectorVector
 
typedef std::vector< G4TwoVector > pyglobals::G4TwoVectorVector
 

Functions

void pyglobals::SetG4PyCoutDestination ()
 
void pyglobals::ResetG4PyCoutDestination ()
 
void export_globals ()
 

Variables

G4strstreambuf G4coutbuf
 
G4strstreambuf G4cerrbuf
 

Function Documentation

void export_globals ( )

Definition at line 76 of file pyglobals.cc.

References pyglobals::ResetG4PyCoutDestination(), and pyglobals::SetG4PyCoutDestination().

Referenced by BOOST_PYTHON_MODULE().

77 {
78  def("SetG4PyCoutDestination", SetG4PyCoutDestination);
79  def("ResetG4PyCoutDestination", ResetG4PyCoutDestination);
80 
81  class_<G4intVector> ("G4intVector", "int vector")
83  ;
84 
85  class_<G4doubleVector> ("G4doubleVector", "double vector")
87  ;
88 
89  class_<G4StringVector> ("G4StringVector", "string vector")
91  ;
92 
93  class_<G4ThreeVectorVector> ("G4ThreeVectorVector", "3-vector vector")
95  ;
96 
97  class_<G4TwoVectorVector> ("G4StringVector", "2-vector vector")
99  ;
100 
101 }
void ResetG4PyCoutDestination()
Definition: pyglobals.cc:57
void SetG4PyCoutDestination()
Definition: pyglobals.cc:49

Variable Documentation

G4strstreambuf G4cerrbuf
G4strstreambuf G4coutbuf