[Halld-offline] Changes to mcsmear/BCAL

David Lawrence davidl at jlab.org
Tue May 31 10:12:50 EDT 2011


Hi Folks,

     Me again. I've just commited a set of changes to mcsmear and the 
calib directory in the repository. The changes are related to the BCAL 
threshold and smearing (see commit log below for details).

     I wanted to give a heads up here since updating to the latest 
version of either mcsmear or calib should be accompanied by an update of 
the other as well. Otherwise, the BCAL smearing will not work properly.

Regards,
-David

-------- Original Message --------
Subject: 	r7881 - trunk/sim-recon/src/programs/Simulation/mcsmear
Date: 	Tue, 31 May 2011 10:08:30 -0400
From: 	Hall-D.SVN.Repository at jlab.org
To: 	davidl at jlab.org, brash at pcs.cnu.edu, wolin at jlab.org, 
zisis at uregina.ca, mashephe at indiana.edu, remitche at indiana.edu, 
zihlmann at jlab.org, somov at jlab.org, staylor at jlab.org, 
kmoriya at indiana.edu, pmatt at jlab.org



Author: davidl
Date: 2011-05-31 10:08:30 -0400 (Tue, 31 May 2011)
New Revision: 7881

Modified:
    trunk/sim-recon/src/programs/Simulation/mcsmear/mcsmear.cc
    trunk/sim-recon/src/programs/Simulation/mcsmear/smear.cc
    trunk/sim-recon/src/programs/Simulation/mcsmear/smear_bcal.cc
Log:
Significant change to how the BCAL readout threshold is calculated in mcsmear.

The algorithm now develops a fully smeared, smooth distribution
of dark pulse amplitudes based on the parameters in the calibDB.
The thresholds are set independently for the inner and outer
regions based on the BCAL_AVG_DARK_DIGI_VALS_PER_EVENT calibration
value. The thresholds are both set such that an equal fraction of
the readout channels will be read out due to dark pulses only.
The fraction itself is set by the limit on event size as given
by BCAL_AVG_DARK_DIGI_VALS_PER_EVENT.

Also, all "float"s were changed to "double"s.

Code is currently not thread safe so should be run in single
threaded mode only.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.jlab.org/pipermail/halld-offline/attachments/20110531/176e67d5/attachment-0002.html>


More information about the Halld-offline mailing list