Message: Re: GDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: GDML 

Keywords: GDML, attributes
Forum: Geometry
Re: None GDML (Francisco Garcia)
Date: 23 Feb, 2007
From: Francisco Garcia <Francisco Garcia>

Hi guys,

Many thanks to all of you :-)

I have got it work as you adviced. Next is the code.

G4VPhysicalVolume* gogdmlDetectorConstruction::Construct()

  G4String fCageName = "field_cageGeom132P";

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


  //  fWorld->GetLogicalVolume()->SetVisAttributes(G4VisAttributes(G4Colour(0.0,1.0,1.0)));

  fCage =(G4LogicalVolume*)GDMLProcessor::GetInstance()->GetLogicalVolume(fCageName);


  if( fWorld == 0 ) {
      "World volume not set properly check your setup selection criteria or GDML input!"

return fWorld; }

Now, I don't quite understand how to post this bug into the GDML forum.



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

 Add Message Add Message
to: "Re: GDML"

 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 ]