- Feb 27, 2017
-
-
Stephen A. Wood authored
-
- Feb 26, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
Used by hodtest.C example (for old HMS data)
-
- Feb 25, 2017
-
-
Mark K Jones authored
Modified THcHodoscope::FineProcess for dumping data for hodo calibrations
-
Cdaq Account authored
Moved the writing out of the "0" to the fDumpOut for hodo calibrations to immediatiately after the TOF with track info calculations. Before it had been after then lines if ( !fChern || !fShower ) { return 0; } so if Cerenkov and shower were not used in replay the code would not get to write out the "0" which is used to denote the end of an event data for the calibration script.
-
Mark K Jones authored
Added capability to set F250 parameters from PSE125.
-
- Feb 24, 2017
-
-
Jure Bericic authored
PSE125 holds information about setting of F250 modules. Now this information is used to set `fNPedestalSamples` and `fNPeakSamples` parameters of `THcRawAdcHit`. This is done through `THcHitList`, since it has information about which crate and module each channel is in. Currently, the information is set for each event, because of the hitlist and analyzer design. I added the neccessary support for these changes to all raw hit classes.
-
- Feb 23, 2017
-
-
Stephen A. Wood authored
Provides methods get NSA, NSB, and NPED for each crate
-
Jure Bericic authored
Corrected warning message for missing refchan to correctly display reference channel. Modified warningg message for missing refindex to include information about reference channel.
-
- Feb 21, 2017
-
-
Vardan Tadevosyan authored
Cycle over array of pedestal subtracted fADC signals fA_p in the same order as it was filled.
-
- Feb 20, 2017
-
-
Jure Bericic authored
fScinHitPaddle is a std::vector<std::vector<Double_t>>. It was cleared and rebuilt for each event with the same structure, instead of just zeroing out all the values. Now it is created in only one place, and than zeroed instead of cleared. Changed data type in fScinHitPaddle from Double_t to Int_t. Should be changed to bool, but then all logic should be changed.
-
- Feb 19, 2017
-
-
Jure Bericic authored
There was a weird bug in the code, that only triggered for some runs. It turns out, in the `THcHodoscope::FineProcess` the hits in each plane were created only for number of paddles in first plane. SHMS, however, has 13 paddles in first plane and 14 and 21 paddles in last two planes. The problem is fixed now, but part of that code should be rewritten for efficiency.
-
- Feb 15, 2017
-
-
Stephen A. Wood authored
-
- Feb 13, 2017
-
-
Mark K Jones authored
Eliminate variables from THcScintillatorPlane::DefineVariables
-
Cdaq Account authored
With the new raw and good varibles added to the tree, these variables are not needed in the tree.
-
- Feb 09, 2017
-
-
Jure Bericic authored
Applied changes in several files to reflect this. Minor fix in `THcRawHodoHit`.
-
Jure Bericic authored
-
- Feb 08, 2017
-
-
Mark K Jones authored
Pooser hms dc residual work
-
Eric Pooser authored
-
Eric Pooser authored
When calculating the residuals, consider all track candidates instead of only the first track. Moreover, eliminate the instances when there was no hit in a plane then the residual was returned as zero.
-
- Feb 07, 2017
-
-
Stephen A. Wood authored
-
Jure Bericic authored
This error is triggered when there is no wire defined for hit, or when the wire has no `GetTDDConv()` method. The ROOT dictionary calls default constructor that doesn't set the wire and calls `ConvertTimeToDist()` regardless. I changed the default constructor to not call the `ConvertTimeToDist()` if the wire is not set. I also added the call to this function in the `SetWire()` method.
-
Mark K Jones authored
Add fCosmicFlag to Hodoscope class
-
Cdaq Account authored
The fCosmicFlag is used in EstimateFocalPlaneTime The start time for the drift chamber is determined as an average of the focal plane times for each hodo plane. Need to account for the TOF from the hodoscope to the focal plane (z=0). For cosmic data need to add this TOF to the corrected scintillator time, while usually one needs to subtract this TOF. Add a flag as parameter to switch between these modes.
-
- Feb 06, 2017
-
-
Jure Bericic authored
`THcTrigRawHit` now uses raw ADC and TDC classes. Added new leaves to the `THcTrigDet` Root output.
-
- Feb 03, 2017
-
-
Stephen A. Wood authored
THcScalerEvtHandler will work for rocs with scaler data with or without the data being wrapped in a bank.
-
Stephen A. Wood authored
-
- Jan 31, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
This should really be configurable as sometimes there will be two Cerenkovs and we should be able to choose which Cherekov the hodoscope should use in efficiency calculations.
-
- Jan 30, 2017
-
-
Stephen A. Wood authored
to account for changes to Cerenkov class
-
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...
-
- Jan 28, 2017
-
-
Mark K Jones authored
Add variables related to good scintillator hits to tree
-
Eric Pooser authored
-
- Jan 27, 2017
-
-
Jure Bericic authored
-
- Jan 26, 2017
-
-
Jure Bericic authored
-
Stephen A. Wood authored
-
- Jan 24, 2017
-
-
Jure Bericic authored
- renamed internal variables to more vocal names - added boundary checks to new Get methods - removed obsolete get methods - added new get methods - updated documentation accordingly
-
Cdaq Account authored
Modify default tdc_neg and tdc_pos = -999 SetCorrectedTimes when only oneside has TDC within in window
-
- Jan 23, 2017
-
-
Jure Bericic authored
Added documentation for THcRawAdcHit.
-
Stephen A. Wood authored
-