Message: Tracking pixel detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Tracking pixel detector 

Forum: Geometry
Date: 11 Jan, 2010
From: Rohin <Rohin>


I want to simulate a tracking pixel detector, with a geometry consisting of several concentric cylinders.

I tried this set up according to the following sequence 
 1) parametrisation along the radial direction 
 2) replication along phi 
 3) and replication along z direction.

 Everything is working fine except for that I am not able to obtain the position of the pixel which receives the hit. 

I use the following code to get the position of the pixel which recieves the hit.

  G4StepPoint *preStepPoint = aStep->GetPreStepPoint();
  G4TouchableHandle touchable = preStepPoint->GetTouchableHandle();
  G4ThreeVector origin(0.0,0.0,0.0);
  G4ThreeVector pixelPos =   touchable->GetHistory()->GetTopTransform().Inverse().TransformPoint(origin);

But this gives me only the Z cordinate of the pixel and the X and Y coordinates are 0.

Can anyone tell me a solution, or an alternate approach

Thank you

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

1 Question: Re: Devide Detector into pixels   (Ibrahim - 13 Jan, 2010)
 Add Message Add Message
to: "Tracking pixel detector"

 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 ]