Home » PANDA » PandaRoot » EMC » FEEMC from ROOT file
Re: FEEMC from ROOT file [message #6368 is a reply to message #6363] |
Fri, 11 April 2008 13:07 |
Aleksandra Biegun
Messages: 64 Registered: May 2007 Location: Groningen
|
continuous participant |
From: *KVI.nl
|
|
Hi Stefano,
now, both of these files with geometry are already at svn (emc_module3new.root you can also generate by yourself using createRootGeoFileFwEnd_changed.C, which is in the pandaroot/macro/emc/ directory).
If one wants to do simulation with both of the emc geometry, in the sim_emc.C macro one should use:
PndEmc *Emc = new PndEmc("EMC",kTRUE);
Emc->SetGeometryFileNameDouble("emc_module1245.dat","emc_module3new.root ");
fRun->AddModule(Emc);
With full_sim.C everything works fine for me, when I generated 1000 gammas with 1GeV or 10GeV energy, but when I tried to use each of the script separately (hit_emc.C, digi_emc.C and reco_emc.C), it crashed at digi level (there is still some strange detector ID produced in PndEmc.cxx, I am checking it).
Please run it to check if for you it works.
Cheers,
Ola.
Aleksandra Biegun
University of Groningen/KVI
Zernikelaan 25, 9747 AA Groningen
tel. +31 50 363 3630
fax. +31 50 363 4003
|
|
|
Goto Forum:
Current Time: Mon Nov 25 02:12:43 CET 2024
Total time taken to generate the page: 0.00694 seconds
|