GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » Beam profile or interaction point
Re: Beam profile or interaction point [message #8743 is a reply to message #8737] Tue, 02 June 2009 15:43 Go to previous messageGo to previous message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi,

in the root-file produced after work of generator DPMGen
we have for coordinate x,y,z of event vertex: Particles.fVx, Particles.fVy, Particles.fVz.
They are equal 0.

To study of the effect of different beam profile, you have to
smear the Particles.fVx, Particles.fVy, Particles.fVz,
generate them by yourself.
If beam is directed along axis Z, Particles.fVx and Particles.fVy must be sampled according to proposed beam profile. Particles.fVz must be sumpled according to assumed thickness of target.


In generator PndJRGen, smearing of vertex is doing in the macro-files. For example ( in macros PndPi0PhiPhi.C),

>>>
// mean location of the target
//Vertex.SetXYZT(0,0,0,0); // zero by default

/* smearing of the primary vertex (Gauss with the above mean, and this sigma) */

/* TVector3 VtxRes(.1,.1,.2); // what target smearing do you want??? */
TVector3 VtxRes(0.0,0.0,0.0);

TParticle BeamTarget(999,1,0,0,0,0,s,Vertex);

PndReaction reaction(BeamTarget, VtxRes, "Gen_Pi02Phi.root" );
>>>

Aida





 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Computing & Software in IEEE symposium
Next Topic: reference to PANDAroot
Goto Forum:
  


Current Time: Thu Jul 25 14:01:36 CEST 2024

Total time taken to generate the page: 0.00947 seconds