- Feb 04, 2019
-
-
Whitney Armstrong authored
modified: src/THcDC.h modified: src/THcDriftChamberPlane.cxx modified: src/THcDriftChamberPlane.h modified: src/include/HallC_LinkDef.h
-
- Oct 05, 2018
-
-
Mark Jones authored
Added TClonesArray* fRawHits which an array of THcDCHit object for all hits in the drift chamber. This is filled during Process method. Added tree variable raw.wirenum whihc is array of wire numbers for all hits in the drift chamber.
-
- Sep 17, 2018
-
-
Stephen A. Wood authored
Determine readout side in THcDriftChamberPlane at initialization time.
-
- Aug 26, 2018
-
-
Carlos Yero authored
1) THcDCWire.h a) added sigma to THcDCWire constructor which fills fSigmaWire b) added GetSimga method c) added SetSigma method 2) THcDCHit.h a) Added GetWireSigma method 3) THcDriftChamberPlane.h a) Added flag fUsingSigmaPerWire b) Added array fSigmaWire 4) THcDriftChamberPlane.cxx a) In ReadDatabase, set fUsingSigmaPerWire=0 by default with reading of parameter h_using_sigma_per_wire optional for setting fUsingSigmaPerWire. b) If fUsingSigmaPerWire=0 then sets all wires in array fSigmaWire to fSigma ( which is the simga per plane). c) If fUsingSigmaPerWire=1 then reads in the sigma per wire from a parameter file. d) Used new THcDCWire constructor to set the sigma for wire to fSigmaWire[nwire] e) Also change code so that the tzero offset is set in the THcDCWire constructor f) In ProcessHits , use wire->GetTOffSet instead of the fTzeroWire array when setting the time. 5) THcDC.cxx a) In TrackFit, replace fSigma with hit->GetWireSigma()
-
- Apr 16, 2018
-
-
hallc-online authored
THcDriftChamberPlane 1) Remove subtraction of hodoscope starttime from ProcessHits which is called by THcDC::Decode. The hodoscope start time is determined in hodoscope Decode which is called after THcDC::Decode. So drift chamber was using the starttime from the previous event. 2) Create method SubtractStartTime which is called by THcDC:CoarseTrack THcDriftChamber 1) Move fChambers[ic]->ProcessHits() to CoarseTrack 2) Before looping through fChambers[ic]->ProcessHits() in CoarseTrack loop through all planes and call fPlanes[ip]->SubtractStartTime()
-
- 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.
-
- 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 17, 2017
-
-
hallc-online authored
Main purpose was to have option for per wire tzero offsets Modified THcDriftChamberPlane.h ------------------------------ 1) added fUsingTzeroPerWire as parameter flag to switch on per wire tzero offsets when parameter equals 1 2) fTzeroWire is array of tzero offsets for each wire in plane Modified THcDriftChamberPlane.cxx ------------------------------ 1) THcDriftChamberPlane::ReadDatabase a)set a default value of fUsingTzeroPerWire=0 b)added to DBRequest list option to read in fUsingTzeroPerWire c) if fUsingTzeroPerWire=1 then separate DBRequest to read in fTzeroWire d) if fUsingTzeroPerWire=0 then all fTzeroWire=0 2) THcDriftChamberPlane::ProcessHits ------------------------------------ a) Modify calcualation of drift time to subtract fTzeroWire Double_t time = -StartTime- rawtdc*fNSperChan + fPlaneTimeZero - fTzeroWire[wireNum-1];
-
- Dec 15, 2016
-
-
Jure Bericic 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
-
- Jan 17, 2014
-
-
Stephen A. Wood authored
-
- Sep 26, 2013
-
-
Stephen A. Wood authored
-
- Jun 20, 2013
-
-
Stephen A. Wood authored
Uses ROOT matrix math instead of solve_four_by_four Nothing is done with found tracks yet. Will need to stuff these into podd style tracks. (Or a class inherited from podd style tracks.) Residuals not saved anywhere Single stub mode not yet implemented No printing out of trackfit results (hdebugtrackprint)
-
- May 30, 2013
-
-
Stephen A. Wood authored
THcDriftChamber::SpacePoint -> THcSpacePoint That way space points can be put in a TClonesArray and be made known to THcDC when stub information is added.
-
- May 15, 2013
-
-
Stephen A. Wood authored
-
- May 01, 2013
-
-
Stephen A. Wood authored
-
- Apr 30, 2013
-
-
Stephen A. Wood authored
New class THcDC is whole set of wire chambers. THcDriftChamber is one chamber (6 planes) Implement space point finding from h_pattern_recognition up to point before where space point lists from the two chambers are combined. Includes FindEasySpacePoint (h_find_easy_space_point) FindHardSpacePoints (find_space_points) DestroyPoorSpacePoints (h_sp_destroy) SpacePointMultiwire (h_sp_multiwire) ChooseSingleHit (h_choose_single_hit) SelectSpacePoint (select_space_points) Space points are arrays of structures in the THcDriftChamber class. Will probably need to take space points out class so that they can be looked at at the THcDC level. New code is only tested to see that it compiles and that space points are sometimes found.
-
- Jan 29, 2013
-
-
Stephen A. Wood authored
Pass a start time computed in THcHodoscope to THcDriftChamberPlane. A dummy value for the start time is used until the Hodoscope code actually computes the start time.
-
- Jan 21, 2013
-
-
Stephen A. Wood authored
Start adding to the drift chamber code. Setup a class structure similar to what podd uses for the VDCs. Raw hit class renamed to THcRawDCHit. Signal hits are how THcDCHit, modeled after podd hits. Add THcDCWire, and classes for time to distance conversion. Time to distnace conversion doesn't do anything yet. Find some improved DC parameter files so that min and max TDC limits are good for the run we are using. THcDriftChamberPlane asks ThcDriftChamber for many parameters.
-
- Nov 02, 2012
-
-
Stephen A. Wood authored
-
- Jun 29, 2012
-
-
Stephen A. Wood authored
for older ROOT version wasn't working.
-
- Jun 27, 2012
-
-
Stephen A. Wood authored
be made either in output.def or by analyzing root tree.
-
- Jun 11, 2012
-
-
Simon Zhamkochyan authored
-
- Jun 10, 2012
-
-
Simon Zhamkochyan authored
-
- Jun 06, 2012
-
-
Simon Zhamkochyan authored
-
- May 09, 2012
-
-
Stephen A. Wood authored
add simple code to register ADC and TDC hits into global variables so that hit maps can be made.
-
- May 08, 2012
-
-
Stephen A. Wood authored
-
- May 07, 2012
-
-
Stephen A. Wood authored
Add ThcSignalHit class
-
- May 05, 2012
-
-
Stephen A. Wood authored
-
- May 04, 2012
-
-
Stephen A. Wood authored
-
Stephen A. Wood authored
-
- May 03, 2012
-
-
Stephen A. Wood authored
Follow SRC model and make a scintillator plane class.
-