- Feb 15, 2018
-
-
Stephen A. Wood authored
Add End method to each detector that calls MissReport which prints the number of events with missing TDC and ADC reference times.
-
- 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.
-
- Dec 02, 2017
-
-
Mark Jones authored
Add leaf dc.chisq which is the chisquared/dof of the golden track.
-
- Nov 03, 2017
-
-
Mark Jones authored
Set fHMSStyleChambers =1 according to dc_version parameter. If no dc_version parameter loaded defaults to old HMS style chambers
-
- Nov 02, 2017
-
-
Holly Szumila 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.
-
- Aug 31, 2017
-
-
Stephen A. Wood authored
-
- Jul 28, 2017
-
-
Eric Pooser authored
-
- Jul 21, 2017
-
-
Stephen A. Wood authored
-
- May 01, 2017
-
-
hallc-online authored
Main purpose is to calculate the DC efficiency per wire using the track information of the golden track. THcDC.h ----------- 1) add method EfficiciencyPerWire 2) Add variables fWire_hit_did and fWire_hit_should THcDC.cxx ------------ 1) fWire_hit_did and fWire_hit_should are fixed length arrays the size of NPlanes that in set in method Init 2) Add variables wireHitDid and wireHitShould to the tree 3) In method SetFocalPlaneBestTrack add call to EfficiencyPerWire method 4) added EfficiencyPerWire method which loops over the hits and compares the wire number for the hit to the the track position at the plane (convert back to wire number). Then fills fWire_hit_did with the wire number if equal to the wire position of the hit equals the track. Also does loop over all planes and fills fWire_hit_should with the wire number of the track in each plane. THcDriftChamberPlane.h and cxx --------------------- 1) Added method CalcWireFromPos
-
- Apr 26, 2017
-
-
hallc-online authored
The purpose is to add a call in THcHallCSpectrometer:TrackCalc to fill variables in THcDC for the golden track. THcHallCSpectrometer.h ---------------------- 1) Add object THcDC* fDC 2) Eliminate object fShower since it was not being used. THcHallCSpectrometer.cxx ---------------------- 1) in ReadDatabase method cast fDC in detector "dc" is defined 2) in FindVertices method add call to fDC->SetFocalPlaneBestTrack(hit_gold_track) where hit_gold_track is the HaTracks array index of the golden track THcDC.h ------- 1) Add method SetFocalPlaneBestTrack THcDC.cxx --------- 1) Eliminate filling of best focal plane quantities in CoarseTrack which defined "best" by lowest chi2 2) Create method SetFocalPlaneBestTrack a)fills the best focal plane quantities using the golden track b) fills fResiduals using golden track
-
- Mar 13, 2017
-
-
hallc-online authored
Add variables fX_fp_best,fY_fp_best,fXp_fp_best,fYp_fp_best to THcDC.h Modified THcDC::CoarseTrack so that the variables are filled with the quantities from the track with the smallest chi-squared. Modified THcDC::TrackFit so that the fResidual per plane is filled with for the track with the lowest chi-squared. Modified THcDC::DefineVariables so that access the variables as dc.x_fp,dc.y_fp,dc.xp_fp and dc.yp_fp
-
- Feb 09, 2017
-
-
Jure Bericic authored
Applied changes in several files to reflect this. Minor fix in `THcRawHodoHit`.
-
- Feb 08, 2017
-
-
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.
-
- 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
-
-
Jure Bericic authored
Some detector classes lacked the ability to get the appropriate Apparatus character and were only working for HMS.
-
- May 12, 2016
-
-
Stephen A. Wood authored
-
- Jul 31, 2015
-
-
Stephen A. Wood authored
-
- May 16, 2015
-
-
Zafar Ahmed authored
-
- Mar 10, 2015
-
-
Stephen A. Wood authored
Modify THcFormula and THcParmList to match changes to THaFormula (needed for reports) Small changes in THcInterface and detector classes for compatibility with new OO decoder and podd 1.6
-
- Jan 16, 2015
-
-
Stephen A. Wood authored
When it was UInt_t, variable length global variables didn't get the length correctly and there were run time errors.
-
Stephen A. Wood authored
For the most part this is making sure that the loop variable in a for loop is of the same type as the variable that it is compared against (Often a UInt_t).
-
- Jan 14, 2015
-
-
Stephen A. Wood authored
This reverts commit e9ce1040. Conflicts: src/THcHallCSpectrometer.cxx
-
- Jan 08, 2015
-
-
Stephen A. Wood authored
For the most part this is making sure that the loop variable in a for loop is of the same type as the variable that it is compared against (Often a UInt_t).
-
- Jan 07, 2015
-
-
Mark Jones authored
-
- Sep 09, 2014
-
-
Stephen A. Wood authored
-
- Sep 02, 2014
-
-
Mark Jones authored
Found when doing valgrind --tool=memcheck --track-origins=yes --leak-check=full hcana Return errors like below ==14467== Invalid write of size 1 ==14467== at 0x4A0794F: __GI_strcpy (mc_replace_strmem.c:313) ==14467== by 0x57137A3: THcHodoscope::Setup(char const*, char const*) (THcHodoscope.cxx:112) ==14467== by 0x5713A7E: THcHodoscope::Init(TDatime const&) (THcHodoscope.cxx:142) ==14467== by 0x4D38C29: THaApparatus::Init(TDatime const&) (THaApparatus.C:193) ==14467== by 0x4D67E57: THaAnalyzer::InitModules(TList const*, TDatime&, int, char const*) (THaAnalyzer.C:433) ==14467== by 0x4D68B1F: THaAnalyzer::DoInit(THaRunBase*) (THaAnalyzer.C:667) ==14467== by 0x4D68126: THaAnalyzer::Init(THaRunBase*) (THaAnalyzer.C:467) ==14467== by 0x4D6B31A: THaAnalyzer::Process(THaRunBase*) (THaAnalyzer.C:1289) ==14467== by 0x4E21E97: G__haDict_704_0_6(G__value*, char const*, G__param*, int) (haDict.C:23491) ==14467== by 0x6DB6148: Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== by 0x6E5A3A0: G__execute_call (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== by 0x6E5B201: G__call_cppfunc (in /u/apps/root/5.34.13/root/lib/libCint.so.5.34) ==14467== Address 0xd7636a2 is 0 bytes after a block of size 2 alloc'd ==14467== at 0x4A0674C: operator new[](unsigned long) (vg_replace_malloc.c:305) ==14467== by 0x5713757: THcHodoscope::Setup(char const*, char const*) (THcHodoscope.cxx:111) ==14467== by 0x5713A7E: THcHodoscope::Init(TDatime const&) (THcHodoscope.cxx:142) ==14467== by 0x4D38C29: THaApparatus::Init(TDatime const&) (THaApparatus.C:193) ==14467== by 0x4D67E57: THaAnalyzer::InitModules(TList const*, TDatime&, int, char const*) (THaAnalyzer.C:433) ==14467== by 0x4D68B1F: THaAnalyzer::DoInit(THaRunBase*) (THaAnalyzer.C:667) ==14467== by 0x4D68126: THaAnalyzer::Init(THaRunBase*) (THaAnalyzer.C:467) ==14467== by 0x4D6B31A: THaAnalyzer::Process(THaRunBase*) (THaAnalyzer.C:1289) ==14467== by 0x4E21E97: G__haDict_704_0_6(G__value*, char const*, G__param*, int) (haDict.C:23491) ==14467== by 0x6DB6148: Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) (in /u/apps/root/5
-
- Aug 28, 2014
-
-
Stephen A. Wood authored
-
- Jul 30, 2014
-
-
Jonathan Stelzleni authored
In tree they are called tnhit and trawhit. Created two new variables for THcDriftChamber, fNthits and fN_True_RawHits. In tree they are called tnhit and trawhit. THcDC defined subdetector THcDriftChamber to have name Ch1 and Ch2 to do used in the tree. THcDriftChamberPlane defined new method GetNRawhits to return fNRawhits for each plane. Added member fNRawhits to THcDriftChamberPlane
-
- Feb 27, 2014
-
-
Mark Jones authored
add flags debugflagpr and debugflagstubs add method THcDC::PrintStubs modify THcDC::PrintSpacePoints Set THcDC::LinkStubs() to only set fNDCTracks=0 and retrun when fNDCTracks>10 for HMS style chambers to match engine.
-
- Jan 30, 2014
-
-
Zafar authored
-
- Jan 17, 2014
-
-
Stephen A. Wood authored
-
- Jan 14, 2014
-
-
Stephen A. Wood authored
-
- Dec 19, 2013
-
-
Stephen A. Wood authored
Fix from Mark Jones with additional cleanup for saw's misunderstanding of space point criterion
-
Mark Jones authored
-
- Dec 16, 2013
-
-
Stephen A. Wood authored
THcDriftChamber::AddPlane didn't know if style was HMS, because style was only determined in Init. Now fHMSStyleFlag is set in only one place. Right now determined from spectrometer name, but could be a parameter in the future.
-
Mark Jones authored
With fdebugprintdecodeddc call Chambers[i]->PrintDecode() to output the drift chamber info after min/max time cuts Added PrintSpacePoints() With fdebugprintdecodeddc call PrintSpacePoints() to output drift chmaber spacepoint info
-
- Dec 05, 2013
-
-
Stephen A. Wood authored
-