GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Scientific Computing » Geant4 Simulation » HepMC
HepMC [message #1570] Tue, 05 April 2005 11:32 Go to next message
Oleg Kiselev is currently offline  Oleg Kiselev
Messages: 2
Registered: June 2004
occasional visitor
From: w2kts4.gsi.de
Dear colleagues,
does someone have a description of HepMC interface.
We need to make and read an ASCII file generated by the external event generators and we need to know the formate of ASCII file.
Where to find it?
Regards, Oleg Kiselev.
Re: HepMC [message #1581 is a reply to message #1570] Wed, 06 April 2005 15:58 Go to previous message
Kilian Schwarz is currently offline  Kilian Schwarz
Messages: 91
Registered: June 2004
Location: GSI, Darmstadt
continuous participant
From: lxg0503.gsi.de
Dear Oleg,

HepMC has been installed for gcc323 at GSI at the location
/usr/local/pub/debian3.0/gcc323-00/sim/HepMC_Version1.25
with examples at
/usr/local/pub/debian3.0/gcc323-00/sim/HepMC_Version1.25/examples

See
http://www.gsi.de/informationen/wti/dvee/software/simulations_sw.html

a description of the generated ASCII files can be found at
http://mdobbs.home.cern.ch/mdobbs/HepMC/html_reference/IO__Ascii_8cxx-so urce.html

it stores
ASCII-File output-extract
============================================
HepMC::IO_Ascii-START_EVENT_LISTING
E 0 -1.0000000000000000e+00 -1.0000000000000000e+00 -1.0000000000000000e+00 0 0 164 0
0
V -1 0 0 0 0 0 1 2 0
P 1 2212 0 0 6.9999999371178146e+03 7.0000000000000000e+03 3 0 0 -1 0
P 3 1 1.8207711891212544e-01 1.8064803338823676e-01 1.0686638074933117e+02
1.0686668854348508e+02 3 0 0 -3 0
...
============================================
According to my understanding, the
(rough) explanation is:
when
'E' = EVENT it stores:
event_number,
event_scale [energy],
alphaQCD,
alphaQED,
signal_process_id,
signal_process_vertex,
signal_process_vertex->barcode,
vertices_size,
weights
when
'V' = VERTICES it stores
vertex->barcode
vertex->id
position(x)
position(y)
position(z)
time
particles_out_size
weights
when
'P' = PARTICLE it stores
particle->barcode
pdg_id
momentum.px
momentum.py
momentum.pz
momentum.e
status
polarization.theta
polarization.phi
end_vertex

Cheers,

Kilian


Previous Topic: geant4.7.0 has been installed
Next Topic: Wired installed
Goto Forum:
  


Current Time: Fri Mar 29 14:26:59 CET 2024

Total time taken to generate the page: 0.00925 seconds