# Test the IBDgen inverse beta decay generator # Unlike IBD.mac, this does not use a pre-generated list of inverse # beta decays. Instead it generates them as needed, but uses the # same distribution. /rat/physics_list/OmitMuonicProcesses true /rat/physics_list/OmitHadronicProcesses false /run/initialize # BEGIN EVENT LOOP /rat/proc frontend /rat/proc trigger /rat/proc eventbuilder /rat/proc count /rat/procset update 5 /rat/proc calibratePMT /rat/proc scintFitter /rat/proclast outroot /rat/procset file "testIBDgen.root" # END EVENT LOOP # Fire neutrino beam along +x axis, filling scintillator region /generator/add combo ibd:fill:poisson /generator/vtx/set 1 0 0 reactornus /generator/pos/set 0 0 0 /generator/rate/set 1. /rat/run/start 50 exit