GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » ProcessHits() "not visible" while reading root geometry file
ProcessHits() "not visible" while reading root geometry file [message #5186] Wed, 10 October 2007 11:53 Go to next message
Aleksandra Biegun is currently offline  Aleksandra Biegun
Messages: 64
Registered: May 2007
Location: Groningen
continuous participant
From: *KVI.nl
Hello,

when I want to read a root file with emc geometry,
program does not go into the ProcessHits() function
(PndEmc.cxx) which uses TVirualMC.cxx
and that's why I can not get Points for this detector
(the geometry of this detector is plotted correctly).

Does anybody know why?

Thanks in advance!

Ola.




Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
Re: ProcessHits() "not visible" while reading root geometry file [message #5187 is a reply to message #5186] Wed, 10 October 2007 12:12 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hi,

If I understand you well, you want to use root files for the geometry (like in the MVD) So I think you follow the procdure used in MVD and implemented the construct geometry methods! did you also implement a method analoge to CheckIfSensitive()? to decide (e.g. using names) which volume is sensitive! in fact the ProcessHits() function will be only called if Geant stepping enter a volume which is marked sensitive.


regards

Mohammad

Re: ProcessHits() "not visible" while reading root geometry file [message #5189 is a reply to message #5187] Wed, 10 October 2007 13:21 Go to previous messageGo to next message
Aleksandra Biegun is currently offline  Aleksandra Biegun
Messages: 64
Registered: May 2007
Location: Groningen
continuous participant
From: *KVI.nl
Hi Mohammad,

yes, exactly, I want to use root files for the geometry (like in the MVD or dch) and I followed the way of dch detector, where I added to sensitives crystals by their names.
I also tried to use the CheckIfSensitive() methods (like it is done for mvd), but somewhere I still miss something, because I have exactly the same effect that detector is plotted (so I guess that in some part crystals are added to sensitives), but still I can't see ProcessHits() function running.

Regards,
Ola.





Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
Re: ProcessHits() "not visible" while reading root geometry file [message #5190 is a reply to message #5189] Wed, 10 October 2007 13:56 Go to previous messageGo to next message
Mohammad Al-Turany is currently offline  Mohammad Al-Turany
Messages: 518
Registered: April 2004
Location: GSI, Germany
first-grade participant
From: *gsi.de
Hallo,

Ok, can you make a tar file of your emc directory and send it to me with the root geometry file.

Mohammad

icon10.gif  Re: ProcessHits() "not visible" while reading root geometry file [message #5198 is a reply to message #5186] Thu, 11 October 2007 20:15 Go to previous message
Aleksandra Biegun is currently offline  Aleksandra Biegun
Messages: 64
Registered: May 2007
Location: Groningen
continuous participant
From: *KVI.nl
Hi Mohammad, Dima,

it seams that my problem is solved (thanks to Johan)
and it works now Very Happy

The problem was with: where and how the volume with forward endcap
was added to the mother volume (Cave).

Thanks a lot!

Best wishes,
Ola.


Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
Previous Topic: compiling geane,recotask and trackrep
Next Topic: PandaRoot 2.0
Goto Forum:
  


Current Time: Mon Apr 29 11:17:01 CEST 2024

Total time taken to generate the page: 0.00842 seconds