On interfacing with other packages
Hi Juergen
As mentioned in ticket number 693212, I wanted to know how can I link my Pythia8 package with Whizard. How do I re-configure this with Pythia8 and HepMC? Also if possible with Delphes (althou, this is not critically important). Do I have to reinstall this ?
Another thing, I was trying to get plots of a couple of variables with the following commands:
n_events = 1000
analysis = record e_photon (eval E [A]) ;
record pt_photon (eval Pt [A])
histogram e_photon (0 GeV, 500 GeV, 10 GeV)
histogram pt_photon (0 GeV, 500 GeV, 10 GeV)
plot e_photon
sample_format = lhef
simulate (Bhaba)
compile_analysis {$out_file = "test.dat"}
But no plots are coming. What might be the probable reason? Is some
package missing in my system? I am though getting the .dat file and some
files in .dvi, .ps, .pdf format. Also .mp file is there. But in the PDF
or PS files no histogram is drawn there. Only the following things are
written:
Data within bounds:
hObservablei = 18.3 ± 0.90 [n entries = 1000]
All data:
hObservablei = 18.3 ± 0.90 [n entries = 1000]
Would have been good if could see the Histos.
With regards,
Saumyen
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- WHIZARD Edit question
- Assignee:
- Juergen Reuter Edit question
- Last query:
- Last reply:
- Whiteboard:
- These are again different things, let me try to answer: yes, to include a previously not linked package, you have to reconfigure, recompile, and reinstall. Linking Pythia8 and HepMC (v3 recommended over v2) is described in the manual, Sec. 2.2.7 and 2.2.8. The internal analysis is not so trivial to use, without a complete SINDARIN it is hard to tell anything. Do you have Metapost on your system? Does the .dat file show a non-trivial histogram?