Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
G4gsdetv.cc File Reference
#include "G4ios.hh"
#include "G3toG4.hh"
#include "G3DetTable.hh"
#include "G3VolTable.hh"

Go to the source code of this file.

Functions

void PG4gsdetv (G4String *tokens)
 
void G4gsdetv (G4String, G4String, G4int, G4int, G4int)
 

Function Documentation

void G4gsdetv ( G4String  ,
G4String  ,
G4int  ,
G4int  ,
G4int   
)

Definition at line 51 of file G4gsdetv.cc.

References G4cout, and G4endl.

Referenced by G4gsdet(), G4gsdeta(), and PG4gsdetv().

52 {
53  G4cout << "G4gsdetv not currently implemented." << G4endl;
54  /*
55  // get lvol for detector chdet
56  G4LogicalVolume *lvol = G3Vol.GetLV(chdet);
57  if (lvol == 0) {
58  G4cout << "G4gsdetv: Logical volume " << chdet << " not available. Skip." << G4endl;
59  return;
60  }
61  // Generate a sensitive detector structure
62  // G4VSensitiveDetector *sdet;
63  // $$$ G4VSensitiveDetector *sdet = new G4VSensitiveDetector(chset);
64  // inform the logical volume of its sensitive detector
65  // lvol->SetSensitiveDetector(sdet);
66  // $$$ sdet->SetID(idtyp);
67  // Add the sensitive detector to the table
68  // G3Det.put(chset,idtyp,sdet);
69  */
70 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
void PG4gsdetv ( G4String tokens)

Definition at line 36 of file G4gsdetv.cc.

References G3fillParams(), G4gsdetv(), Ipar, PTgsdetv, and Spar.

Referenced by G3CLEval().

37 {
38  // fill the parameter containers
39  G3fillParams(tokens,PTgsdetv);
40 
41  // interpret the parameters
42  G4String chset = Spar[0];
43  G4String chdet = Spar[1];
44  G4int idtyp = Ipar[0];
45  G4int nwhi = Ipar[1];
46  G4int nwdi = Ipar[2];
47 
48  G4gsdetv(chset,chdet,idtyp,nwhi,nwdi);
49 }
void G4gsdetv(G4String, G4String, G4int, G4int, G4int)
Definition: G4gsdetv.cc:51
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
int G4int
Definition: G4Types.hh:78
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
#define PTgsdetv
Definition: G3toG4.hh:70
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66