Message: Re: TestEm4 detector orientation query? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: TestEm4 detector orientation query? 

Forum: Documentation and Examples
Re: None TestEm4 detector orientation query? (Jason)
Re: None Re: TestEm4 detector orientation query? (michel maire)
Date: 19 Aug, 2004
From: Jason <Jason>

Thanks alot. I got three another minor questions.

From PrimaryGeneratorAction.cc in TestEm4

particleGun->SetParticleMomentumDirection(G4ThreeVector(1.,0.,0.))

correct me if I'm wrong, why is the momentum is set along x-direction.

(2) if I want to stimulate gamma rays emitted by a recoil from the z-direction into a cylinder with a hole (rmin is none zero), I should set the SetParticleMomentumDirection(G4ThreeVector(0.,0.,1.)) right?

(thetha,phi) are of spherical system right?

> Your are ok, except that dz=5cm is the half length of the cylinder.

> In generatePrimary, the photon is shooted at position (0,0,0), 
> randomly in (tetha,phi).

>      Michel

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

1 None: Re: TestEm4 detector orientation query?   (michel maire - 19 Aug, 2004)
 Add Message Add Message
to: "Re: TestEm4 detector orientation query?"

 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 ]