Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

36 : theName(aName) {};

Member Function Documentation

void G4ping::dump ( )
inline

Definition at line 42 of file G4ping.hh.

43  {
44  if(getenv(theName))
45  {
46  size_t i(0);
47  for(i=0; i<theS.size(); i++)
48  {
49  G4cout << theS[i]<<", ";
50  }
51  for(i=0; i<theD.size(); i++)
52  {
53  G4cout << theD[i]<<", ";
54  }
55  for(i=0; i<theV.size(); i++)
56  {
57  G4cout << theV[i]<<", ";
58  }
59  G4cout << G4endl;
60  }
61  theS.clear();
62  theD.clear();
63  theV.clear();
64  }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void G4ping::push_back ( G4String  aS)
inline

Definition at line 38 of file G4ping.hh.

38 {theS.push_back(aS);}
void G4ping::push_back ( G4double  aD)
inline

Definition at line 39 of file G4ping.hh.

39 {theD.push_back(aD);}
void G4ping::push_back ( G4LorentzVector  aV)
inline

Definition at line 40 of file G4ping.hh.

40 {theV.push_back(aV);}

The documentation for this class was generated from the following file: