This directory contains nodes useful for working with Farfalla and Dash. The Nodes will eventually be incorporated into macrofar, so check with Chris Walter for the latest and standard versions of these in the future. Updated: Sep 17 1996 Stop Master Node ================ Version 2 is the current version. The Stop Master Trigger and Tohm Face register bits were added to version 1. Some of the bits were swapped, and since I already had a lot of data on disk at Gran Sasso I made a version 2 that corrected this (but kept version 1 to look at the data). The triggers and hits are now part of one big array. stopNode.h The Farfalla definition of the stopNode dreamMakeStopNodes.cc Node creation routine for use with duser.cc stopTest.cc A simple dash module to read Stop Master data CSPAM Node *** ============== Version 2 is current. The CSPAM decoding is now correct. Previously the roles of High Energy/ Low Enrgy and lower patch/upper patch were reversed, causing some scrambled data indeed. There are some fixes to deal with upside-down cables in the CSPAM in dreamMakeCspamNode.cc that are currently commented out. Starting with Version 2 there are independent trigger registers for CSPAM/HIP/FMT hits. The bit order for these registers is as follows: bit 1 SM12 Event, MVAX1 (first bit on left) bit 2 SM23 Event, MVAX1 bit 3 SM23 Event, MVAX2 bit 4 SM34 Event, MVAX2 bit 5 SM45 Event, MVAX2 bit 6 SM45 Event, MVAX3 bit 7 SM56 Event, MVAX3 These bits are decoded from the Scintillator Pattern Register (Erik's Module). Note that bits 2&3 and bits5&6 have very different meanings (even though they should always be identical given an event (or pair of events separated by more than 10usec!!), provided something else didn't happen to cause a VETO on one of the microvaxes. The WFD Readout for HIP/FMT will only occur locally on one microvax. cspamNode.h The Farfalla definition of the CSPAM node dreamMakeCspamNode Node creation routine for use with duser.cc cspamTest.cc A simple dash module to read CSPAM data WFD Analysis Tools ================== multiplot.cc Multiple WFD HIGZ plotting routine. use TALK HELP for instructions Requires the tankMap class wfdch.cc Checks that waveforms exist for all hits Requires the compList class Classes ======= compList.h Comparison List Class (in development) Holds lists of integers and performs useful comparisons between lists tankMap.h Tank Mapping class Initialize this object to be one of several scintillator trigger box names, including: Wfd Chan, bit ErpBox, tank end SM, tohm word, tohm bit SM, lip word, lip bit Tank Name string (soon CSPAM/FMT/HIPT will be added) Once it is initialized, member functions will return valus for other corresponding numbering schemes. The point of this is to never have to write a mapping subroutine again. I admit that I overuse it. Possibly it's functionality should be incorporated into each node somehow.