Worker: Added option for maximum threads that are started; changed handling of thread negotiation from random numbers to job pids and considering the started threads
initial TA2GoAT
first version of TA2GoAT that can be build
problems with Tagger Time
User, Core: Added individual MWPC energy readout, included in TA2Particle.
working for nParticles, Px, Py, Pz, E, time, nTagged, tagged_ch, tagged_t, eventNumber, eventID, Scaler
User: Changes to TA2GoAT to properly append incoming file name to tree file name (real and sim), also changed WC name to match standard TA2CentralApp code (aka Mwpc 0 and 1 , instead of 1 and 2) for consistency, and fixed array size issues.
User: Fixed LoadVariable. Added histogram output to TA2GoAT for testing
User: Set clusterSize back to UChar_t
User: Added full hits readout for all detectors plus MWPC vertex reconstruction. Changes to TA2AccessSQL required to read in MWPC, and changes to CentralApparatus/TA2Particle required to include MWPC vertex reconstruction. Particle properties are still filled into Event tree (will be changed).
User: Created separate tree branches for raw particle information (treeRawEvent), for tagger (treeTagger), for trigger (treeTrigger) and for detector hits (treeDetectorHits). Any branch can be linked by AddFriend for quick drawing however this change should make for easy branch definition of similar variables without reading in the full tree structure. Ex. Just the tagger can opened without the all the particles, detectors, and trigger variables also being read in (without introducing some messy flags).
User: Added TA2Trigger (missing before in some spots). NTV.
User: Changes to TA2GoAT -- rough Trigger simulation and hardware calls. Multiplicities are reduced to a combined multiplicity (rather than CB and TAPS) to match hardware. Given as 1, 2, 3, and 4+.
User: Added checks to determine which detectors are active during analysis, calls for hits and particle analysis now only occur if detector is active.
USER: Fixed particle ID issues in TA2GoAT. Calling E from the particle class is the total E (including mass), when particle ID cuts have been turned on, this will cause reconstruction errors. particle is copied over, mass is set to zero (to fix 4 vectors) and T is called instead of E. This lead to the discovery of another issue: TAPS will call any charged particle a proton if it does not have a dE_E cut to check with. We have a Rootino code for a reason! So I've changed it to call a charged particle a Rootino in the case that no dE_E cut is supplied. Also some issues fixed inside of TA2AccessSQL which calls the fNaI without any checks of whether the NaI are active.
USER: Beginning to make the switch to E, theta, phi to deal with the following issue - when Px, Py, Pz, E are output from AcquRoot (which is before Particle ID has been done) the Px,Py,Pz, E has a zero mass assumed but this isn't correct! Once particle ID has been done these values can be stored (ie. from GoAT) but before this, only kinetic energy, theta and phi should be output as they will not change. In a future commit, I will change E to T for improved clarity on this issue. Resulting spectra from this step look reasonable
USER: Switch to a raw tree file based on E-theta-phi (instead of E-Px-Py-Pz) is now complete. This move was required as the momentum components will only be accurate post particle identification.
USER: Small changes to config files, pushing to remote for sharing purposes of recent (local only) commits
USER: Changes to TA2GoAT to include the energy of incoming photons (determined from the defined electron beam energy and a correlation between tagger channel and energy).
Go back to 4-vectors again