Message: Re: Tracking in a UnionSolid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Tracking in a UnionSolid 

Forum: Event and Track Management
Re: Question Tracking in a UnionSolid (Rafayel Paremuzyan)
Re: Feedback Re: Tracking in a UnionSolid (Gumplinger Peter)
Re: Question Re: Tracking in a UnionSolid (Rafayel Paremuzyan)
Re: Feedback Re: Tracking in a UnionSolid (Gumplinger Peter)
Date: 09 Jan, 2014
From: Rafayel Paremuzyan <Rafayel Paremuzyan>

Dear Peter,

Thank you for quick answer!

I did some tests using you suggestions.

with /tracking/verbose 3
I run few events originating in Cylinder section, and part from the output I put in the 1st attached file.
There I saw that there not only transportation is included.
 >>AlongStepDoIt (after all invocations):
    ++List of invoked processes 
      1) Transportation
      2) msc
      3) eIoni

However there it also shows that the physical volume is not the target,

         Velocity (mm/ns)    :           299.792458          299.792458
         Volume Name         : Vac_scat_chamber_phys  kapton_window_phys
         Safety (mm)         :                    0               5e-10

It was strange to me since with navigator I was getting target logical volume "LH2_target_log"

Then in the stepping action I printed logical and physical volumes in two ways, 1st using Navigator, where
point was set as prestep point, and in the second way I took log/phys volume names from directly from the same prestep point,
and two ways show different volumes.

This is that part from 1st attachment
Printout from SteppingAction: The Logical volume name touchable->GetVolume()->GetLogicalVolume()->GetName()  LH2_target_log
Printout from SteppingAction: The Physical volume name touchable->GetVolume()->GetName()  LH2_target_phys
Printout from SteppingAction: The Material name touchable->GetVolume()->GetLogicalVolume()->GetMaterial()->GetName()  G4_lH2
Printout from SteppingAction: Physical Volume Name from Step point1->GetPhysicalVolume()->GetName()  Vac_scat_chamber_phys
Printout from SteppingAction: Physical Volume Name from Step point1->GetPhysicalVolume()->GetLogicalVolume()->GetName()  Vac_scat_chamber_log

The second attachment is my Stepping Action. It is not very big code,
Could you please have a look into last 17 lines, maybe you can find some trivial mistake, that I did there?

Rafayel


   Attachment:
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/09/11.29-10182-G4_testlog.txt
      http://hypernews.slac.stanford.edu/HyperNews/geant4/get/AUX/2014/01/09/11.29-40556-dvcsSteppingAction.cc.txt

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

1 Feedback: Re: Tracking in a UnionSolid   (Gumplinger Peter - 09 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 09 Jan, 2014)
(_ Disagree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 10 Jan, 2014)
(_ Feedback: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 11 Jan, 2014)
(_ Ok: Re: Tracking in a UnionSolid   (Rafayel Paremuzyan - 16 Jan, 2014)
(_ Disagree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 16 Jan, 2014)
(_ Agree: Re: Tracking in a UnionSolid   (Gumplinger Peter - 16 Jan, 2014)
 Add Message Add Message
to: "Re: Tracking in a UnionSolid"

 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 ]