- Dec 06, 2017
-
-
Stephen A. Wood authored
Each detector object will check the global variable X.present each event. If X.present is false, it indicates that the parent spectrometer object determineted that this spectrometer is not in this event, and therefor reference times are not expected. If X.present is false, then the reference time warning messages will be suppressed.
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Dec 05, 2017
-
-
Stephen A. Wood authored
-
Edward Brash authored
-
Vardan Tadevosyan authored
-
- Dec 04, 2017
-
-
Mark Jones authored
Add ability to cut on number of PE in Cherenkov when dumping events for TOF calibration Add parameter fTOFCalib_cer_lo Add ability to cut on track beta when dumping events for TOF calibration Add parameter fTOFCalib_beta_lo and fTOFCalib_beta_hi Parameters are optional. Default set to kBig or -kBig THere was already a possible cut on Shower energy/momentum
-
- Dec 02, 2017
-
-
Mark Jones authored
Moved filling of fNRegions from parameter to before the fRegionValue array is defined. The code had been using default fNRegions=4 regardless of vaule of h_num_regions in parameter file.
-
Mark Jones authored
Add leaf dc.chisq which is the chisquared/dof of the golden track.
-
- Nov 30, 2017
-
-
Mark Jones authored
Add rawnorefcorrtime to THcDCHit which is the TDC raw without the reference time subtraction. Add variable rawnorefcorrtdc in THcDriftChamberPlane::DefineVariables Modify THcDriftChamberPlane::ProcessHits to call GetRawTdcHit().GetTimeRaw and call THcDCHit with new extra argument for raw time without reference time subtraction.
-
Eric Pooser authored
-
Mark Jones authored
-
Mark Jones authored
-
Mark Jones authored
Modified so that the fGoodPosAdcPulseTime, fGoodNegAdcPulseTime or fGoodAdcPulseTime is set to kBig Modified THcShowerRawHit::SetReference to takeADC signals Modified THcTrigRawHit::SetReference to take ADC signals Modified THcShowerArray::ProcessHits so that fAdcTdcOffset add to frAdcPulseTime Modified THcShowerArray::ReadDatabase so that defaults for fAdcThreshold etc are before gHcParms->LoadParmValues
-
Stephen A. Wood authored
This is because it is offsetting PulseTime which is double and to be consistent with the other detectors.
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Nov 28, 2017
-
-
Mark Jones authored
Moved writing of the TOF calibration dump file to FineProcess Added cut on shower energy/momenutum Add parameters fTOFCalib_shtrk_lo and fTOFCalib_shtrk_hi . Add parameter fNumPlanesBetaCalc which allows one to set how many planes to use in beta calculations. Useful for SHMS. fNumPlanesBetaCalc defaults to 4 if not set.
-
- Nov 22, 2017
-
-
Stephen A. Wood authored
All Int_t variables that hold scaler values are now UInt_t Some variables that were Double_t are UInt_t Keep track of overflows so that tree variables holding scaler counts are correct for high rate scalers Catch overflows when computing differences from last scaler reading.
-
Stephen A. Wood authored
-
- Nov 21, 2017
-
-
John Matter authored
Fix typo in previous commit's THcCherenkov.cxx
-
- Nov 17, 2017
-
-
Stephen A. Wood authored
-
- Nov 14, 2017
-
-
Mark Jones authored
Fix logical flaw in THcScintillator::ProcessHits in finding good adc hit in multiple hits in one channel When looping over hits to find the best ADC hit, the code was looping over frNegAdcPulseInt->GetEntries() or frPosAdcPulseInt->GetEntries() which are the raw arrays that are filled for all raw hits in the plane The code was not using the proper indexes to access the right hits. The logic is simpler if one loops over rawNegAdcHit.GetNPulses() or rawPosAdcHit.GetNPulses() which are the the raw hit object for the paritcular hit. NPulses is the number of ADC pulses that were found for that adc channel. The first adc pulse for the channel which is within the adc time window then has its information saved for late insertion into the "good" vectors for the hit if either the hit passes 'good" tdc and adc for the POS or NEG side of the PMT.
-
- Nov 07, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Nov 06, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
This will add the Hall C parameter DB (gHCParms) to the Run_Data object The GetHCParms method will retrieve the parameter DB
-
- Nov 03, 2017
-
-
Mark Jones authored
Fix mistake in THcHodoEff::End
-
Mark Jones authored
Add back parameter hodo_gold_hits which is the number of "should" hits for each paddle. Needed to calculate efficiency per paddle in end run template
-
Mark Jones authored
Set fHMSStyleChambers =1 according to dc_version parameter. If no dc_version parameter loaded defaults to old HMS style chambers
-
Mark Jones authored
1. Add arrays over paddle num : fStatTrkSum,fStatAndSum and fStatAndEff 2. Add scalers fHodoEff_s1,fHodoEff_s2,fHodoEff_tof,fHodoEff_3_of_4,fHodoEff_4_of_4 3. Modify End method to calculate the hodoscope trigger efficiency quantities
-
Mark Jones authored
THcHodoscope.cxx 1. Remove from the use of "temp_planes" for SHMS which used only 3 planes for beta and determination of start time. 2. With change of Integral ADC to pC, change TMath::Sqrt(TMath::Max(20.0,adc_pos)) to Math::Sqrt(TMath::Max(20.0*.020,adc_pos)) to convert 20 channels to pC 3. Set fGoodFlags[itrack][ip][iphit].onTrack = kTRUE; when fTOFPInfo[ih].onTrack Was always FALSE before. 4. Modify FineProcess a. Add calculation of the track X and Y track position at each plane. b. Calculate the difference between the track position and position measured by hodoscope center. If multiple paddles hit then take average of the paddles. THcScintillatorPlane.h and cxx 1. add variables fHitDistance,fTrackXPosition and fTrackYPosition 2. add methods GetHitDistance(),GetTrackXPosition(),GetTrackYPosition() 3. add methods SetHitDistance,SetTrackXPosition,SetTrackYPosition 4. add variables to tree DiffDisTrack,TrackXPos and TrackYPos 5. set GoodPosAdcPulseTime to frPosAdcPulseTime 6. set fGoodNegAdcPulseTime to frNegAdcPulseTime 7. in HodoHit set PosADCtime and NegADCtime to PulseTime
-
- Nov 02, 2017
-
-
Holly Szumila authored
-
- Oct 31, 2017
-
-
Eric Pooser authored
-
- Oct 30, 2017
-
-
Mark Jones authored
Modify the way that the constants for conversion to mV and pC are defined so that it will compile with and without C11.
-
- Oct 27, 2017
-
-
Mark Jones authored
-
Eric Pooser authored
Include methods for FADC conversions and apply to non-raw data objects in THcRawAdcHit Add raw pulse time data object to Cherenkov detector classes Add raw pulse time data object to shower detector classes Add raw pulse time data object to hodoscope detector class
-
- Oct 25, 2017
-
-
Stephen A. Wood authored
-