Skip to content

Instantly share code, notes, and snippets.

@pgjones
Created October 4, 2013 15:22
Show Gist options
  • Save pgjones/6827728 to your computer and use it in GitHub Desktop.
Save pgjones/6827728 to your computer and use it in GitHub Desktop.
Standard Bi212Po212 macro with beta timing shape for alphas
/PhysicsList/OmitMuonicProcesses true
/rat/db/set GEO[scint] material "te_0p3_labppo_scintillator_Oct2012"
/rat/db/set OPTICS[te_0p3_labppo_scintillator_Oct2012] SCINTWAVEFORMalpha_value1 [ -4.6d, -18d, -156d,]
/rat/db/set OPTICS[te_0p3_labppo_scintillator_Oct2012] SCINTWAVEFORMalpha_value2 [ 0.71d, 0.22d, 0.07d,]
/run/initialize
##########EVENT LOOP############
/rat/proc frontend
/rat/proc trigger
/rat/proc eventbuilder
/rat/proc calibratePMT
/rat/proc prune
/rat/procset prune "mc.pmt,ev.pmttruth"
/rat/proc scintFitter
/rat/proclast outroot
/rat/procset file "Bi212Po212.root"
##########EVENT LOOP############
/generator/add combo decay0:fill:poisson
/generator/vtx/set backg Bi212Po212
/generator/pos/set 0 0 0
/generator/rate/set 1
/rat/run/start 1
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment