Geometry modification [message #9736] |
Thu, 19 November 2009 11:23 |
donghee
Messages: 385 Registered: January 2009 Location: Germnay
|
first-grade participant |
From: *kph.uni-mainz.de
|
|
Hi all,
I'm trying to modify the geometry for DCH part in Pandaroot.
It it is possible, I would like to know the general way of modification for certain detector.
I would like to get one of my own DCH version with modified stations.
For example, much larger coverage can be introduced and then
very easy studies should be performed with extended DCH stations,
and want to compare result with standard DCH version.
In my knowledge I have to reproduce dch.root with modification at the geometry part.
To do that, firstly I want to know where I have to touch in pandaroot software.
This file (dch.root) is originally prepared by some kind of detector constructor with GEANT code.
Could you teach me the procedure of produing the root geometry file?
Best regards,
Donghee Kang
|
|
|
|
|
|
|
|
|
|
Re: Geometry modification [message #9749 is a reply to message #9743] |
Thu, 19 November 2009 16:13 |
Lia Lavezzi
Messages: 291 Registered: May 2007 Location: Torino
|
first-grade participant |
From: *47-151.net24.it
|
|
Hi,
The geometry can be defined in different ways:
1) ascii files (file.geo, for example the stt files)
2) root files
3) directly in the detector code
(see http://fairroot.gsi.de/General/Geo_Material_def.htm for a better description)
Concerning the STT geo file: it contains the whole description of the detector and it is fixed, i.e. if you want to modify some parameters of the detector (for example the tubes length) you have either to change directly the file.geo (but this is not convenient!) or change the macro which writes the file (this is the way to do it). It is not driven by any parameter file.
I can' t say anything concerning root files (point 2), since I worked only with ascii files up to now and I don' t know how the geometry is described there. Maybe someone else can comment on that option.
Best regards,
Lia.
|
|
|