Message: seeking example of building reflected solids Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question seeking example of building reflected solids 

Forum: Geometry
Date: 13 Aug, 2016
From: Maura E.M. <Maura E.M.>

I use Topas but resort to GEANT4 whenever I need a GEANT4 feature that I cannot retrieve in Topas. I need to include a mirrored solid in my geometry. I found the following GEANT4 example on-line:

// Calor reflection with rotation
 //
 G4Translate3D translation(-Xpos, 0., 0.);
 G4Transform3D rotation = G4Rotate3D(*rotD3);
 G4ReflectX3D  reflection;
 G4Transform3D transform = translation*rotation*reflection;

 G4ReflectionFactory::Instance()
          ->Place(transform,     // the transformation with reflection
                  "Calorimeter", // the actual name
                  logicCalor,    // the logical volume
                  logicHall,     // the mother volume
                  false,         // no boolean operation
                  1);            // copy number

I understand what the logical volume is. Since my solid is stand-alone what is its mother volume ? Maybe the World ?

I woud greatly appreciate seeing some complete example of building reflected solids. Thank you in advance. Best regards, Mauede

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

1 None: Re: seeking example of building reflected solids   (John Apostolakis - 15 Aug, 2016)
 Add Message Add Message
to: "seeking example of building reflected solids"

 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 ]