Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
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

◆ G4gsdetv()

void G4gsdetv ( G4String  chset,
G4String  chdet,
G4int  idtyp,
G4int  nwhi,
G4int  nwdi 
)

Definition at line 51 of file G4gsdetv.cc.

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}
#define G4endl
Definition: G4ios.hh:52
G4DLLIMPORT std::ostream G4cout

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

◆ PG4gsdetv()

void PG4gsdetv ( G4String tokens)

Definition at line 36 of file G4gsdetv.cc.

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}
G3G4DLL_API G4int Ipar[1000]
Definition: clparse.cc:66
void G3fillParams(G4String *tokens, const char *ptypes)
Definition: clparse.cc:219
G3G4DLL_API G4String Spar[1000]
Definition: clparse.cc:68
#define PTgsdetv
Definition: G3toG4.hh:70
int G4int
Definition: G4Types.hh:66
void G4gsdetv(G4String, G4String, G4int, G4int, G4int)
Definition: G4gsdetv.cc:51

Referenced by G3CLEval().