Message: generating replicated small detectors volumes inside mother volume Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None generating replicated small detectors volumes inside mother volume 

Forum: Geometry
Date: 20 Feb, 2013
From: Philip McGeachy <Philip McGeachy>

Hello all,

I have been trying to do something pretty simple, however, have had quite a bit of trouble getting it to work.

I want to partition a 40 cm x 40 cm x 40 cm water box into smaller cube detectors of dimension 0.5 cm x 0.5 cm x 0.5 cm so I can generate fairly accurate depth dose profiles for monoenergetic photons incident on this water box.

After doing a bit of reading, it seems like my only to options are to use G4Replica contructor or G4Parameterised constructor.

Since G4Replica just slices the mother volume into divisions of specified width along a specified axis, I thought I could just use this three times, along each axis, to divide my cube into a volume of small cube elements like so:

G4Replica repx("Lin X Array",
				pXRepLogical,   
				pContainingMother, //mother logical volume
				KXaxis, 80, 5.*mm)
G4Replica repz("Lin Z Array",
				pZRepLogical,
				pContainingMother,
				KZaxis, 80, 5.*mm)

G4Replica repy("Lin Y Array",
				pYRepLogical,
				pContainingMother,
				KYaxis, 80, 5.*mm)

However, this didn't give me what I wanted. I was just wondering if anyone had any quick suggestions so I don't waste more time on this issue that seems like it should be fairly easy to implement in practice.

Cheers,

P

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

1 None: Re: generating replicated small detectors volumes inside mother volume   (Philip McGeachy - 20 Feb, 2013)
2 None: Re: generating replicated small detectors volumes inside mother volume   (Joseph Perl - 21 Feb, 2013)
1 Ok: Re: generating replicated small detectors volumes inside mother volume   (Philip McGeachy - 22 Feb, 2013)
3 None: Re: generating replicated small detectors volumes inside mother volume   (John Apostolakis - 22 Feb, 2013)
1 Ok: Re: generating replicated small detectors volumes inside mother volume   (Philip McGeachy - 22 Feb, 2013)
4 Feedback: Re: generating replicated small detectors volumes inside mother volume   (Pedro Arce - 22 Feb, 2013)
1 Ok: Re: generating replicated small detectors volumes inside mother volume   (Philip McGeachy - 23 Feb, 2013)
5 Question: Re: generating replicated small detectors volumes inside mother volume   (bayarchimeg - 26 Apr, 2013)
 Add Message Add Message
to: "generating replicated small detectors volumes inside mother volume"

 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 ]