{"action":"closed","issue":{"url":"https://api.github.com/repos/iLCSoft/lcgeo/issues/64","repository_url":"https://api.github.com/repos/iLCSoft/lcgeo","labels_url":"https://api.github.com/repos/iLCSoft/lcgeo/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/iLCSoft/lcgeo/issues/64/comments","events_url":"https://api.github.com/repos/iLCSoft/lcgeo/issues/64/events","html_url":"https://github.com/iLCSoft/lcgeo/issues/64","id":217562941,"number":64,"title":"Minimum energy cut for GuineaPig primaries","user":{"login":"luisaleperez","id":25223578,"avatar_url":"https://avatars0.githubusercontent.com/u/25223578?v=3","gravatar_id":"","url":"https://api.github.com/users/luisaleperez","html_url":"https://github.com/luisaleperez","followers_url":"https://api.github.com/users/luisaleperez/followers","following_url":"https://api.github.com/users/luisaleperez/following{/other_user}","gists_url":"https://api.github.com/users/luisaleperez/gists{/gist_id}","starred_url":"https://api.github.com/users/luisaleperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luisaleperez/subscriptions","organizations_url":"https://api.github.com/users/luisaleperez/orgs","repos_url":"https://api.github.com/users/luisaleperez/repos","events_url":"https://api.github.com/users/luisaleperez/events{/privacy}","received_events_url":"https://api.github.com/users/luisaleperez/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-03-28T13:38:52Z","updated_at":"2017-03-29T09:30:34Z","closed_at":"2017-03-29T09:30:34Z","body":"Hello all,\r\n\r\nI am working for ILC in the simulation of machine induced backgrounds, specifically 2-photon* processes. Recently a GuineaPig reader was implemented in DD4hep (DDG4//plugins/Geant4EventReaderGuineaPig.cpp). I have been testing it by building a very simple (an artificial) GuienaPig input file with a single particle on it. The format in this file is a follows,\r\n\r\nE  betax  betay  betaz  x  y z\r\n\r\nwhere, E is the signed energy in GeV, which is positive (negative) for electrons (positrons), bx,by,bz, is the speed modulo the speed of light (beta = v/c), and x,y,z the coordinates of the creation vertex (in nanometres). In my simple test I created a GuineaPig file with a single line as follows,\r\n\r\nE 1.0 0.0 .0.0 0.0 0.0 0.0 \r\n\r\ni.e. a particle created at the origin with a momentum direction along the X-axis. I noticed that when E < 0.010 (i.e. < 10 MeV) the particle is not simulated and it is when E >= 0.010. \r\n\r\nYou can take a look of my code at desy here,\r\n\r\n/afs/desy.de/user/l/laperez/ILC_Developments/6Mar2017/ILDConfig/trunk/StandardConfig/lcgeo_current\r\n\r\nI ran ddsim as follows,\r\n\r\nddsim --inputFiles ./MyTest_v2.pairs --outputFile=./GuineaPig_1evt_TEST.slcio --compactFile $lcgeo_DIR/ILD/compact/ILD_o1_v05/ILD_o1_v05.xml --steeringFile=./ddsim_steer_GuineaPig.py\r\n\r\nwhere MyTest_v2.pairs is the test GuineaPig input file, and ddsim_steer_GuineaPig.py is an steering file adapted for this simulation (just simulate one event).\r\n\r\nDoes anyone knows if there is a threshold cut on the minimum energy of a primary particle to be simulated.\r\n\r\nMany thanks,\r\n\r\n  Alejandro\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"luisaleperez"}}