Integrated ScintPlane and ScintillationPaddle into old code

Now can work GetVariables for just planar scints, changing locations, variables etx. Also add in PMT # options, paddle number options, etc. Get things out of hard coding and into dynamic variables.
Inputted optional scint plane rotation and first crack at GetVar class

Now can have 1 or 2 PMTs on scint paddle (though 1 does not plot events correctly). Can have horizontal or vertical scintillator paddles to make a plane, although hit arrows need to be fixed for vertical, as well as sizes, labels. First attempt at getting GetVariables class working. Seems to be ready to go, although some errors (could not compile). Error with string declaration. Currently set up to read in from HMS.txt file to get option for 1 or 2 PMTs.
added more headers in an attempt to get strings working
Changed GetVariables class to include functions

Does not work correctly, need to figure out how to get classes running properly.
attempt to fix __WORDSIZE compile error
File inttypes.h removed from include

This causes major errors in the CINT, had to do a #ifndef __CINT__ to compile. Fixed when inttypes not included. Not quite sure why it was included in the first place.
GetVariables now works -- PMT # dynamically inputted from .txt file
Each Scint Plane can now be chosen to be horiz or vert dynamically
Multiple planar hodoscopes, began 3D scint classes

Currently have 4 planar hodoscopes with correct HMS paddle numbers (read in using GetVariables). 3D detector classes created to be consistent with planar. Need to update to have multiple plane and paddles options.
Inserted branches to hodtest.root - cannot get to work yet

Also work on 3D classes - 4 scint planes created but unable to rotate - SEGFAULTS
s1x and s1y hod PMTs now light up for hits (hodtest.root)

now need to get working for 4 (and multiple) planes instead of just 2
PMTs lit for 4 ScintPlanes (HMS setup)

HMS setup works for planar view of hodoscopes (s1x,s1y,s2x,s2y). Light up red when only one PMT was hit (noise) and green when both PMTs on either side of a Scint Paddle are hit (a good hit).
Error: Random SegFaults for some events (hodtest.root file)
turned wire planes back on. Need to setup for HMS
Editing Wire Chambers - put in proper position on Canvas

Chambers have correct position, number of wires. They still need to be widened.
Slovenian translated to English for planar wire chamber classes.
Added all correct wire chamber branches, and projection view now works.

UV, X, Y planes all turned on for HMS setup. Need to implement correct loops for planar wire chambers. Everything is setup to work, but need to input correct branch references.
This is for hodtest.root
Planar wire chambers light up! Fixed MWDC legend. Setup tracking variables.

Tracking variables now ready to be tested (correct variables need to be inserted throughout, but branches are set correctly for basic tracking). Everything with planar view is complete aside from tracking. Projection view is still not correctly understood. 3D view still needs lots of work.
Planar Tracking inputted but not setup with CStransform to display correctly
3D View no longer SegFaults - spacing is now better in 3D view

Problem was that ScintPlanes were overlapping. Now planes also have correct PMT number and all 3D objects are in more or less the correct position.

Still need to rotate the s*y planes and get hits working
Fixed Proj view, inserted MWDC width into class

Projection view seems to be correctly working now.
Tracks still do not work in planar view even with seemingly proper dimensions inputted. May still need better dimensions for ScintPlanes, and CStransform needs to be looked at and fixed for Tracking.
Vertical/Horizontal planes setup for 3D, some HMS dimensions fixed

Still need to fix translations for rotation 3D scint planes, and setup hits in 3D. Scaling issues need to be fixed in planar view (from canvas to real units and back) to get tracking working. Width of scintillator paddles for rotated (s*y) planes need to be checked.