|Message: editing novice example N02 geometry||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Good Evening all,
Im hoping this is a pretty easy one to answer and one I have failed to see because I am looking to hard to see what is infront of me... I have been editing Novice Example N02 to fit in with what I want to achieve but have become abit stuck mainly because I dont really have too much of an amazing understanding of C++ (yet !) thus far I have edited the materials used in the example and reduced the number of additional chambers to 1 which is a fraction of a cm in size, I however cannot figure out how to edit the shape of the geometry or its dimensions.
I have edited the numbers in the file ExN02DetectorConstruction.cc in the section
solidChamber = new G4Box("chamber", 100*cm, 100*cm, 10*cm); logicChamber = new G4LogicalVolume(solidChamber,ChamberMater,"Chamber",0,0,0);
G4double firstPosition = -trackerSize + 0.5*ChamberWidth; G4double firstLength = fTrackerLength/10; G4double lastLength = fTrackerLength;
but when rerunning the example the dimensions do not appear to have changed so I can only presume they are the wrong numbers to edit.
I am hoping to change the vessel into a circle/cylinder which has stainless steel walls and is filled with gas/oil/water/sand (only one material at a time)
Perhaps more ambitiously I am hoping also to cover the outside of my vessel with scintillation detectors which output data into different excel files (or maybe the same excel file but different columns) so I can collect information on both the energy of photons scattered in the vessel and also the angle they are scattered by (although one scintillator will be sufficient because photon energies are my primary concern, and scattering angle is somewhat of an ambitious afterthought)
I know this is all quite ambitious given my evident lack of know how but I am hoping somebody can point me in the right directions and it is alot simpler than I think.
I have attached 2 drawing of that I could like to achieve (because Im sure my explanation is pretty poor), the one which has been produced from a screen drop of my current geometry I feel is perhaps alittle more realistic.
gratitute in advance for anyone who can give me any help.
Attachment: http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/29/10.24-80459-DISSERTATIONS_HOPEFUL.JPG http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2009/09/29/10.24-13541-ATIONS_MORE_REALISTIC.JPG
|Inline Depth:||Outline Depth:||Add message:|