G4ping Class Reference

#include <G4ping.hh>


Public Member Functions

 G4ping (G4String aName)
void push_back (G4String aS)
void push_back (G4double aD)
void push_back (G4LorentzVector aV)
void dump ()


Detailed Description

Definition at line 33 of file G4ping.hh.


Constructor & Destructor Documentation

G4ping::G4ping ( G4String  aName  )  [inline]

Definition at line 36 of file G4ping.hh.

00036 : theName(aName) {};


Member Function Documentation

void G4ping::dump (  )  [inline]

Definition at line 42 of file G4ping.hh.

References G4cout, and G4endl.

00043     {
00044       if(getenv(theName))
00045       {
00046         size_t i(0);
00047         for(i=0; i<theS.size(); i++)
00048         {
00049           G4cout << theS[i]<<", ";
00050         }
00051         for(i=0; i<theD.size(); i++)
00052         {
00053           G4cout << theD[i]<<", ";
00054         }
00055         for(i=0; i<theV.size(); i++)
00056         {
00057           G4cout << theV[i]<<", ";
00058         }
00059         G4cout << G4endl;
00060       }
00061       theS.clear();
00062       theD.clear();
00063       theV.clear();
00064     }

void G4ping::push_back ( G4LorentzVector  aV  )  [inline]

Definition at line 40 of file G4ping.hh.

00040 {theV.push_back(aV);}

void G4ping::push_back ( G4double  aD  )  [inline]

Definition at line 39 of file G4ping.hh.

00039 {theD.push_back(aD);}

void G4ping::push_back ( G4String  aS  )  [inline]

Definition at line 38 of file G4ping.hh.

00038 {theS.push_back(aS);}


The documentation for this class was generated from the following file:
Generated on Mon May 27 17:52:55 2013 for Geant4 by  doxygen 1.4.7