Message: How to assing a Sensitive Detector for a GDML geometry Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to assing a Sensitive Detector for a GDML geometry 

Keywords: GDML, Sensitive Detector
Forum: Geometry
Date: 23 Apr, 2007
From: Francisco Garcia <Francisco Garcia>

Asking for some help!!!!


I need to assign one volume as sensitive detector in a geometry I have ported from the GDML file. Can this be done inside the GDML? if not how to do

I also have tried to create my sensitive detector volume in the Contruct()

  sxp.Run();

  fWorld = (G4VPhysicalVolume *)GDMLProcessor::GetInstance()->GetWorldVolume();


  /// Define Volume for the Sensitive Detector
  driftZone_tub = new G4Tubs("DriftZone_Tub",0.,9.*cm,360,12.*cm,360);
  driftZone_log = new G4LogicalVolume(driftZone_tub,ArCO2Gas,"driftZone_L");
  driftZone_phys = new G4PVPlacement(0,G4ThreeVector(),driftZone_log,"driftZone_P",fWorld&,false,0);

And it doesn't compile due to some problems in the fWorld

Cheers,

Francisco





Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: How to assing a Sensitive Detector for a GDML geometry   (Witek Pokorski - 03 May, 2007)
5 None: Re: How to assing a Sensitive Detector for a GDML geometry   (Witek Pokorski - 03 May, 2007)
 Add Message Add Message
to: "How to assing a Sensitive Detector for a GDML geometry"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]