Tegan's HDGEANT and mcsmear questions

From GlueXWiki
Revision as of 12:31, 30 April 2015 by Zisis (Talk | contribs) (Created page with "= New code = * Poisson statistics smearing still needs a value for the energy of one dark hit. * What should we use for an energy threshold to write out events? A 4 mV thres...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

New code

  • Poisson statistics smearing still needs a value for the energy of one dark hit.
  • What should we use for an energy threshold to write out events? A 4 mV threshold was used before. 4 MeV?
  • The change to the data structure will be just adding 'incident_id="int"' to 'bcalTruthHit.'
    • If we don't change the data structure, we'll change bcal_index in the code and get rid of the incident particle filling.
    • I'd prefer changing the data structure, since we'll eventually want to implement incident particle dependent smearing (I assume), and it seems relatively easy to do it now.
  • Time smearing: the time resolution in the code for the fADC is stated as 4 ns / sqrt(12). This was used before because we were using 0.1 ns bins rather than 4 ns bins.
    • Is this value what we'd want to use for smearing a single truth time?

Old code

  • We need to decide whether or not we want to keep this method available for people to choose to use.
  • If we do keep it:
    • Need to find a value for the energy of one dark hit that causes waveforms to more closely resemble data and also that gives reasonable pedestal variation.
    • By fixing an electronic noise smearing, then altering the dark hit energy, it looks like we want something like the current energy divided by 10 or so.
    • It should be easy to set the dark hit energy based on what amplitude in mV we want the dark pulses to have, if we have any feeling for that (1 mV amplitude ~ 1 MeV energy deposition).