Split off VDC efficiency calculation from THaDecData

Start conversion of this code into a physics module named VDCeff
Add VDCeff module to build system and ROOT dictionary
Add Begin() and End() functions (dummies for now)
Implement most of Process(). WriteHist() part still missing.
Address most warnings and suggestions from cppcheck

cppcheck did find quite a bit of lint although nothing serious as far as
I could see. A couple of warnings seem to be false positives and/or not
really problems, so I left them alone. We should make a whitelist of these
so we can automate cppcheck tests.

The only bug seemed to be in THaScalerGui::popPlot, where the call to find()
would only be executed during static initialization instead of for each call,
probably rendering the function useless.

I had to run cppcheck on the hana_decode and hana_scaler subdirectories
manually. Also, the unusedFunction, missingInclude and information checks
should probably not be run.
Bob's scaler clock and VME timeout counter bugfixes
Make THaScalerDB functions const as appropriate. Consistent STL data types.

This should finally make THaScalerDB 64-bit safe (to be tested).
Also, Remove all trailing whitespace.
Use typedef for key_type of THaScalerDB::channame.
Fix buggy install target in the Makefile (bugfix from Release-150 branch)
Allow setting of scaler code verbosity (debug messages) at run time via SetDebug

Consistent with the rest of the analyzer, debug messages are only compiled
if WITH_DEBUG is set.

By default, THaScaler also sets the verbosity of the database class THaScalerDB.
To debug only THaScaler, do something like

scalers->Init(...);
scalers->SetDebug(1);
scalers->GetDatabase()->SetDebug(0);
Implement WriteHist(). Remove trailing whitespace. Reset hist_eff every cycle.

Among other things, the destructor and Init() are still incomplete.
Find the global VDC variables for each plane. Warn if any not found.
Properly set the histogram names. Finish destructor that cleans up histos.

Histogram "names" in the database are expected to be just the name prefixes,
e.g. "Lu1", "Rv2" etc. They will be suffixed with "nhit" and "eff" for
number of hits and efficiency histograms, respectively.
Fix bad typo in Begin(). Efficiency histograms were never created!
Get rid of old, original code that was hanging around as comment blocks
Check name/histname in ReadDatabase and quit if undefined.
Check for duplicate global variable and histogram names when reading database.
Replace Clear() with Reset(). Remove unused DefineVariables().

Reset() zeros all histograms. This allows one to restart the efficiency
calculation at any point without having to reinstantiate the module.
Add example database file for VDCeff module

This database matches the hardcoded setup in the original THaDecData.
Move VDC efficiency calculation into a physics module. (Merge branch 'vdceff').

The Process function of this module is essentially copied from the code
that was previously in THaDecData and should behave exactly like it.

Note that the module requires a database file. A default database,
corresponding to the original configuration, is provided in the DB/DEFAULT
directory. Using the database, the efficiency can now be calculated for
wire spectra contained in arbitrary global variables, and histogram names,
number of wires, number of events between recalculation etc. are configurable.
Let Shower detector calculate track projections for all tracks, not just first

This was already done for Scintillator and Cherenkov detectors, but had
apparently been overlooked for the Shower.

Also, delete trailing whitespace.

Closes #44