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

Functions

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

Variables

G4strstreambuf G4coutbuf
 
G4strstreambuf G4cerrbuf
 

Function Documentation

void export_globals ( )

Definition at line 78 of file pyglobals.cc.

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

Referenced by BOOST_PYTHON_MODULE().

79 {
80  def("SetG4PyCoutDestination", SetG4PyCoutDestination);
81  def("ResetG4PyCoutDestination", ResetG4PyCoutDestination);
82 
83  class_<G4intVector> ("G4intVector", "int vector")
85  ;
86 
87  class_<G4doubleVector> ("G4doubleVector", "double vector")
89  ;
90 
91  class_<G4StringVector> ("G4StringVector", "string vector")
93  ;
94 
95  class_<G4ThreeVectorVector> ("G4ThreeVectorVector", "3-vector vector")
97  ;
98 
99 #if G4VERSION_NUMBER >= 830
100  class_<G4TwoVectorVector> ("G4StringVector", "2-vector vector")
102  ;
103 #endif
104 
105 }
void ResetG4PyCoutDestination()
Definition: pyglobals.cc:58
void SetG4PyCoutDestination()
Definition: pyglobals.cc:50

Variable Documentation

G4strstreambuf G4cerrbuf
G4strstreambuf G4coutbuf