[Hallc_compton] r1223 - in CPolDAQ/trunk/Compton: crl lib/sis3320 lib/sis3600
wdconinc at jlab.org
wdconinc at jlab.org
Wed Jun 16 21:58:37 EDT 2010
Author: wdconinc
Date: 2010-06-16 21:58:36 -0400 (Wed, 16 Jun 2010)
New Revision: 1223
Added:
CPolDAQ/trunk/Compton/crl/photon.flags
Modified:
CPolDAQ/trunk/Compton/crl/TS2_ROC2only.crl
CPolDAQ/trunk/Compton/crl/TS2_compton.crl
CPolDAQ/trunk/Compton/crl/compton.flags
CPolDAQ/trunk/Compton/crl/std_roc1.h
CPolDAQ/trunk/Compton/lib/sis3320/sis3320Lib.c
CPolDAQ/trunk/Compton/lib/sis3600/sis3600Lib.c
CPolDAQ/trunk/Compton/lib/sis3600/sis3600Lib.h
Log:
Helicity readout works now as expected: both userbit and input register mode
are implemented, giving us two independent helicity digitizations (because
one of them was easy but could go wrong). The input register mode works not
by delaying the MPS to the middle of the helicity window (as Qweak does) but
by latching onto the end of the MPS signal (end of settling time). The
userbit mode works effectively by latching on the start of the MPS signal.
This means that a shift in MPS signal versus helicity+ will show up as a
mismatch in reconstructed helicity.
TS2_compton has this implemented and doesn't crash (I know, I have high
standards). TS2_ROC2only was modified to at least work with the new TIR
in the TS crate, but does not include helicity readout.
Typo in sis3320 include headers fixed, added some missing functionality to
the sis3600 latch library. The following functions are now defined (and point
to the right place in the address map):
s3600Clear(int)
s3600Enable(int)
s3600Disable(int)
Compton.flags file was modified because the helicity readout cannot handle
prescaled MPS triggers (duh). I guess we should just disable helicity readout
altogether instead of locking up the crate in that case...
Also V2F readout is now smooth in D24 mode with diagnostics in the upper
8 bits. 15 channels are available, one channel is a 4 MHz reference.
More information about the Hallc_compton
mailing list