Re: photos and custom event generator [message #13509 is a reply to message #13506] |
Mon, 21 May 2012 17:31 |
Jens Sören Lange
Messages: 193 Registered: June 2005
|
first-grade participant |
From: *physik.uni-giessen.de
|
|
Hi Dmitry,
I also think that option #2 is easier.
What you would have to do, is to write your event generator
as a "decay model" in EvtGen, then the PHOTOS comes for free.
See pgenerators/EvtGen/EvtGenModels/*.cc for the existing models.
EvtSingleParticle.cc is an easy example.
After you wrote your model, it must be registered in EvtModelReg.cc.
cheers, Soeren
|
|
|