- Dec 15, 2018
-
-
Whitney Armstrong authored
- Mixins defined in Logger.h - Mixin used in base classes (THcDC is currently a good example) Added a few more spdlog loggers Added logging to many. - Added logging to hodoscope, aerogel hitlist and detectormap - Working on scandalizer features. Added logging. Added more logging. added more logging. More logging.
-
- Dec 11, 2018
-
-
Whitney Armstrong authored
-
- Sep 07, 2018
-
-
Carlos Yero authored
-
- Aug 30, 2018
-
-
Mark Jones authored
Main change was to allow the beam X and Y positions and angle at the target to be read in through parameters instead of always using the EPICS data. This gives added flexibility. If either of the beam position parameters (gbeam_xoff or gbeam_yoff) are read-in as parameters, then the code uses the read-in parameters as the BPM position at target. If there are other beam position or angle parameter that are not read in then they are set to zero. 1) Modify THcRaster.h a) Added variables for X and Y beam angles at target. b) Added variable fFlag_use_EPICS_bpm which is a flag that is determines whether the code uses the parameters or EPICS reads. 2) Modified THcRaster.cxx a) set default BPM z-positions to Fall 2018 survey. b) Modified Process method so that the BPM position/angle variables that are set by parameters are no longer recalculated. Just use the existing variables fXbpm_tar, fYbpm_tar, fXpbpm_tar and fYPbpm_tar throughout the method.
-
Mark Jones authored
Add the variable ebeam_epics to the tree. This is the EPICS value of HALLC:p . For now this is good for monitoring changes in the beam energy but needs to be check how it compares to the Hall C beam energy measurement.
-
- Aug 19, 2018
-
-
hallc-online authored
1) Add tree variables for the three BPMs and projections to target in the EPICs coordinate system (+X beam right, +Y up) rb.raster.fr_xbpm_tar rb.raster.fr_ybpm_tar rb.raster.fr_xbpmA rb.raster.fr_ybpmA rb.raster.fr_xbpmB rb.raster.fr_ybpmB rb.raster.fr_xbpmC rb.raster.fr_ybpmC 2) Modified code so that it only modifies the BPM variables if they are all !=0 ( beam on) . Otherwise it sets them to the previous EPICS read. This gets rid of all zero EPICS reads,except if the first EPICs read the beam is off. 3) Removed the reading of gpbeam from the global parameter list in the Process method and just have it in ReadDatabase. 4) Change the calculation of beam at target to use the projection of BPM_A and BPM_C instead of BPM_A and BPM_B. 5) Remove setting the raster position to the hcana beam coordinate system with (+X beam left). The raster is in the EPICS coordinate system. This makes it easier to interpret the carbon hole runs.
-
- Aug 14, 2018
-
-
hallc-online authored
Add default values for optional values of + fgbpma_zpos = 370.82; fgbpmb_zpos = 224.96 ;// cm fgbpmc_zpos = 129.30 ;// cm instead of zero. Otherwise the code would get NaN for the calculated target beam position since it was divied by zero unless this the parameters are set.
-
- Aug 10, 2018
-
-
Edward Brash authored
Handle cases where BPM information is unavailable/zero. Change raster x/y position calculation to cm (from mm). Update calculation of fPosition and fDirection in THcRaster.cxx Fix minor bug in calculation of fDirection
-
- Aug 08, 2018
-
-
Stephen A. Wood authored
Add doxygen groups "Apparatuses" and "Decoders" Make sure every class is in a group Make sure most classes have a \brief description Improve comments for some classes including THcHallCSpectrometer and hodoscope classes Change some Doxyfile defaults. Include sources files.
-
- Feb 04, 2018
-
-
hallc-online authored
When filling beam position that is used in determining the reaction point multiply the raster X by -1 to put in the right handed coordinate system The raster coordinate system is left-handed to match the EPICS beam coordinate system.
-
- Jan 09, 2018
-
-
Melanie Cardona authored
Switched X and Y rasters to make them consistent with epics left-handed coordinate system, and changed sign of x in fDirection() to make the beam position a right-handed system
-
- Dec 18, 2017
-
-
Melanie Cardona authored
Edited CalculatePedestals() method to correctly fill rasters, and corrected typos in fYA_ADC and fXB_ADC when calculating the currents
-
- Aug 29, 2017
-
-
bduran authored
-
- Jan 30, 2017
-
-
Jure Bericic authored
The calls to `Find()` need to be wrapped in checks if returned pointer is null. Otherwise a further call to get value produces SegFault. The `LoadParmValues()` does not suffer from this, since it throws error if non-optional parameter is not found. The error message also tells which parameter is missing. I still left three calls to `Find()` in `THcAnalyzer.cxx`. They are wrapped in checks and some other things...
-
- Dec 15, 2016
-
-
Jure Bericic authored
-
- Nov 23, 2016
-
-
Stephen A. Wood authored
Otherwise InitHistlist doesn't have the detector map and can't do setup of reference time stuff or sanity checks on the detector mapping
-
- Nov 15, 2016
-
-
Stephen A. Wood authored
-
- May 18, 2016
-
-
Mark Jones authored
-
- Jan 08, 2015
-
-
Stephen A. Wood authored
-
- May 05, 2014
-
-
Buddhini Waidyawansa authored
Added the raw raster ADC values to the histos and trees. Modified the ranges and binning of the histogram definitions in output_bpw_.def accordingly.
-
Buddhini Waidyawansa authored
In raster_jun04.map, reassigned the raster channels into a single plane instead of different planes. This makes it easier for comparision with the engine. Modified raster_test.C to analyze run 52947 in the cache directory. Some minor clean up in the THcRaster.cxx class- removing comments and unused variables.
-
- Apr 24, 2014
-
-
Mark Jones authored
Read gpbeam in THcRaster::ReadDatabase Add jan05.kinematics Modified DBASE/raster_test.database to fill g_ctp_kinematics_filename with DBASE/jan05.kinematics Modified raster_test.C to load g_ctp_kinematics_filename
-
- Apr 01, 2014
-
-
Stephen A. Wood authored
-
- Mar 31, 2014
-
-
Stephen A. Wood authored
Fixes not necessarily correct, just avoid the errors.
-
- Mar 05, 2014
-
-
Buddhini Waidyawansa authored
Files with the prefix raster_ are coppies of original *.database, and *.param files which now includes changes nessacery for decoding raster data. I created seperate files for these because I need to merge this code upstream before I can compare the raster decoding results with that of the analyzer. For e.g. the map files are different from the original map files. So Steve needs to create a perl script that can propgate these changes in the map files to the map file of the analyzer inorder for me to do the analyzer hcana comparision. Once the comparision is done and we are satisifies with the results, we will merge the changes with the original files and remove the files with the prefix raster_*. gbeam.param now included by general.param. No need to load a separate parameter set to test raster/BPM code. examples/MAPS/raster_jun04.map adds new detector IDs for the raster and BPMs as follows: Add the following IDs to the misc elements, BEAM RASTER_ID= 18 ADC BPM_ID= 19 ADC In the channel section did the following modification: sub , plane, counter, sig 14, 1, 13, 1 !ADC ROC#1 Sl#15 Ch#14 Fast Raster X-sync 15, 1, 14, 2 !ADC ROC#1 Sl#15 Ch#15 Fast Raster X-signal 12, 1, 15, 3 !ADC ROC#1 Sl#15 Ch#12 Fast Raster Y-sync 13, 1, 16, 4 !ADC ROC#1 Sl#15 Ch#13 Fast Raster Y-signal
-
Buddhini Waidyawansa authored
THcRasterRawHit class to helps with the decoding of the raster signals via THcHitList class. THcRasteredBeam class derives from THaApparatus to handle rastered beam. Modify Makefile and HallC_LinkDef.h to compile new classes
-
- Mar 04, 2014
-
-
Buddhini Waidyawansa authored
Added coding for read parameters from the hcana.param file. In the hcana.param file added the four raster channels graster_channels = "xsync xsig ysync ysig" Created raster_test.C script to run the analyzer for raster code testing purpose. This was coppied from the hodotest.C
-
Buddhini Waidyawansa authored
-