- Nov 03, 2017
-
-
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
-
Stephen A. Wood authored
This TI information, between the words 0xd0000000 and 0xd000000f, contains the # of pedestals, the time interval between scaler events the event interval between synchronized scaler events and the prescale settings. Two versions of this block of data are supported, version one is mssing the scaler interval values. Nothing is actually done with the information found in event 125, but a summary can be printed with the method THcConfigEvtHandler::PrintConfig()
-
Stephen A. Wood authored
1. If there are multiple ROCs with scalers (hardware, TI, FADC), then there will be multiple event 129s. In the case where analysis of these events is defered to the end of the analysis, all the event 129s will be analyzed as if a single event, resulting in one entry in the tree. 2. Scalers are read either when a given time interval has passed since the last scaler read (usually 2 seconds), or every time an event is tagged as a sync event. In the case of the "timed" reading of events, different ROCs with scalers are not guaranteed to read their scalers at the same event. But or sync event scaler reads, all ROCs read their scalers. This commit adds an option SetOnlyUseSyncEvents(Bool_t). If set, only scaler events triggered by the sync event will be analyzed.
-
- Oct 19, 2017
-
-
Mark Jones authored
Fix bug if more BCMs defined in db_PScalevt.dat than in gscalers.param Fix bug that confused names "BCM1" and "BCM17" by adding ".scal" to the BCM name
-
- Oct 12, 2017
-
-
Stephen A. Wood authored
-
Mark Jones authored
-
Kayla Craycraft authored
-
Kayla Craycraft authored
-
Mark Jones authored
-
- Oct 09, 2017
-
-
Holly Szumila authored
1) Add X,Y offsets parameter for each plane, instead of X,Y offset per chamber 2) ModifyTHcDriftChamber::CorrectHitTimes to work with SHMS chambers 3) Add GetReadoutSide method to THcDCHit class.
-
- Sep 26, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
Cache the Cherenkov detector and parent pointers in Init
-
Ole Hansen authored
Fixes building when using scons 3.0 which apparenlyt uses python3. Fixes broken building on travis
-
Vardan Tadevosyan authored
For both the layers and the array part Correct calculation of coordinates of the Array modules in the calorimeter effciency calculations.
-
- Sep 22, 2017
-
-
Mark Jones authored
Previous was trying to return the reconstructed target quantities as values which was totaly wrong. Changed so that the references are returned. Now get the reconstructed target quantities properly.
-
- Sep 20, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
fpTimes, fScinTime, fScinSigma and fScinZpos are not used. These arrays were given fixed size of 53. This commit finishes issue #53
-
- Sep 15, 2017
-
-
Stephen A. Wood authored
Add #include <set> Don't use new method of looping over vector
-
- Sep 14, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
When the db file is read, a list of crate #s and a list of module types is made. The tag of each bank searched for scalers must have a tag that is in one of these lists. If all scalers are in banks tagged with the module type, then, SetOnlyBanks(kTRUE) should be called in which case bank tags will be compared only against this list of module types.
-
Stephen A. Wood authored
-
Stephen A. Wood authored
In the end method of the Hall C rocs, the scalers are read for a final time and a user event 129 is created with the scaler counts. These events do not always appear at the end of the coda file, leading to the risk that triggered scaler reads will appear after the event 129s. If the event type of these final scaler reads is passed to the scaler object with the SetDelayedType(int evtype) method, then the scaler analyis will cache these events and analyze them at the end of the analysis.
-
- Aug 31, 2017
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- Aug 29, 2017
-
-
bduran authored
-
- Aug 25, 2017
-
-
hallc-online authored
This method calculates the target quantities using the focal plane quantities and the optics matrix. Previously this was done in THcHallCSpectrometer::FindVertices. Now in THcHallCSpectrometer::FindVertices there is a call to CalculateTargetQuantities This method will be called by THcExtTarCor to do the xtar correction.
-
hallc-online authored
Fixed minor bug FindStub was using the uncorrected drift distance from the hit object that was not corrected in CorrectHitTimes method. Need to use the corrected drift distance that with the spacepoint Hit structure
-
- Aug 18, 2017
-
-
hallc-online authored
Change per event initialization of Good TDC quantities from zero to kBig.
-
- Aug 01, 2017
-
-
Ryan Ambrose authored
-
Ryan Ambrose authored
-
- Jul 28, 2017
-
-
Eric Pooser authored
-
- Jul 27, 2017
-
-
Stephen A. Wood authored
Use pointer to event from evdata->GetRawDataBuffer() instead of making a local copy of the event before scanning it for scaler data
-
Stephen A. Wood authored
There was already an AddEvtType in the base class. Should use SetEvtType to set the event type. If the handler is to look for more than one event type, use AddEvtType for the extra event types.
-