Message: Re: Placing Si layer in cylinder using G4SubtractionSolid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Placing Si layer in cylinder using G4SubtractionSolid 

Forum: Geometry
Re: None Placing Si layer in cylinder using G4SubtractionSolid (Sourav Tarafdar)
Re: Idea Re: Placing Si layer in cylinder using G4SubtractionSolid (Patrik Eschle)
Date: 07 Apr, 2015
From: Sourav Tarafdar <Sourav Tarafdar>

Dear Patrik,

  Thanks for the suggestion. However I am bit confused. 

> I think you made one step too much.
> 
> > //Make cylinder and chop off thin slice G4Tubs* cyl = new
> > G4Tubs("cyl",0, 6.9*cm, 490.*cm , 0*deg, 360*deg);
> > G4Box* slice = new G4Box("slice", 8*cm, 8*cm,0.025*cm);
> > G4SubtractionSolid* cyl_slice = new G4SubtractionSolid("cyl_slice", cyl , slice ,0,
> 
> Here, cyl_slice already is the original cylinder without the slice.

I used G4Subtraction to make cyl_slice by subtracting part of box from original cylinder so I think cyl_slice will be a cylinder with a box shaped slit. It is this slit inside which I am placing Si box. Attached is a rough hand made figure of the geometry which I am intending to produce. So there are basically 3 steps.

1) Make a cylinder. (in code snippet I posted it goes by name "cyl")

2) Make a box ( named as "slice" in code snippet) and subtract it from the cylinder at the desired location of the cylinder so that the final cylinder ( named as "cyl_slice") will be with a slit.

3) Make a Si-Box (named as "Si_strip") and place it inside the slit.

Am I missing something ?

Thanks -Sourav

   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2015/04/07/02.40-70653-geom.pdf

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

1 None: Re: Placing Si layer in cylinder using G4SubtractionSolid   (Sourav Tarafdar - 08 Apr, 2015)
 Add Message Add Message
to: "Re: Placing Si layer in cylinder using G4SubtractionSolid"

 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 ]