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().

00052 {  
00053   G4cout << "G4gsdetv not currently implemented." << G4endl;
00054   /*
00055     // get lvol for detector chdet
00056     G4LogicalVolume *lvol = G3Vol.GetLV(chdet);
00057     if (lvol == 0) {
00058     G4cout << "G4gsdetv: Logical volume " << chdet << " not available. Skip." << G4endl;
00059     return;
00060     }
00061     // Generate a sensitive detector structure
00062     // G4VSensitiveDetector *sdet;
00063     // $$$    G4VSensitiveDetector *sdet = new G4VSensitiveDetector(chset);
00064     // inform the logical volume of its sensitive detector
00065     // lvol->SetSensitiveDetector(sdet);
00066     // $$$ sdet->SetID(idtyp);
00067     // Add the sensitive detector to the table
00068     // G3Det.put(chset,idtyp,sdet);
00069     */
00070 }

void PG4gsdetv ( G4String tokens  ) 

Definition at line 36 of file G4gsdetv.cc.

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

Referenced by G3CLEval().

00037 {
00038     // fill the parameter containers
00039     G3fillParams(tokens,PTgsdetv);
00040 
00041     // interpret the parameters
00042     G4String chset = Spar[0];
00043     G4String chdet = Spar[1];
00044     G4int idtyp = Ipar[0];
00045     G4int nwhi = Ipar[1];
00046     G4int nwdi = Ipar[2];
00047 
00048     G4gsdetv(chset,chdet,idtyp,nwhi,nwdi);
00049 }


Generated on Mon May 27 17:50:46 2013 for Geant4 by  doxygen 1.4.7