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)
Re: None Re: TestEm4 detector orientation query? (Jason)
Date: 19 Aug, 2004
From: michel maire <michel maire>

User Jason wrote:

>> Thanks alot. I got three another minor questions.
>> From in TestEm4
>> particleGun->SetParticleMomentumDirection(G4ThreeVector(1.,0.,0.))
>> correct me if I'm wrong, why is the momentum is set along x-direction.

  Only for illustration ! It could be suppressed,
 since it is overwritted in GeneratePrimary()  
>> (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?

  Right. But do not forget to place your holed cylinder within a mother,
  (world in vacuum ?) so that the central part of the geometry is defined.
>> (thetha,phi) are of spherical system right?

    yes, it is spherical system.

>> > 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)

 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 ]