Skip to content
Snippets Groups Projects
user avatar
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];
a4186aeb
History
Name Last commit Last update
..
HallC_LinkDef.h
SConscript.py
THcAerogel.cxx
THcAerogel.h
THcAerogelHit.cxx
THcAerogelHit.h
THcAnalyzer.cxx
THcAnalyzer.h
THcCherenkov.cxx
THcCherenkov.h
THcCherenkovHit.cxx
THcCherenkovHit.h
THcConfigEvtHandler.cxx
THcConfigEvtHandler.h
THcDC.cxx
THcDC.h
THcDCHit.cxx
THcDCHit.h
THcDCLookupTTDConv.cxx
THcDCLookupTTDConv.h
THcDCTimeToDistConv.cxx
THcDCTimeToDistConv.h
THcDCTrack.cxx
THcDCTrack.h
THcDCWire.cxx
THcDCWire.h
THcDetectorMap.cxx
THcDetectorMap.h
THcDriftChamber.cxx
THcDriftChamber.h
THcDriftChamberPlane.cxx
THcDriftChamberPlane.h
THcDummySpectrometer.cxx
THcDummySpectrometer.h
THcFormula.cxx
THcFormula.h
THcGlobals.h
THcHallCSpectrometer.cxx
THcHallCSpectrometer.h
THcHitList.cxx
THcHitList.h
THcHodoEff.cxx
THcHodoEff.h
THcHodoHit.cxx
THcHodoHit.h
THcHodoscope.cxx
THcHodoscope.h
THcInterface.cxx
THcInterface.h
THcParmList.cxx
THcParmList.h
THcRaster.cxx
THcRaster.h
THcRasterRawHit.cxx
THcRasterRawHit.h
THcRasteredBeam.cxx
THcRasteredBeam.h
THcRawAdcHit.cxx
THcRawAdcHit.h
THcRawDCHit.cxx
THcRawDCHit.h
THcRawHit.cxx
THcRawHit.h
THcRawHodoHit.cxx
THcRawHodoHit.h
THcRawShowerHit.cxx
THcRawShowerHit.h
THcRawTdcHit.cxx
THcRawTdcHit.h
THcScalerEvtHandler.cxx
THcScalerEvtHandler.h
THcScintillatorPlane.cxx
THcScintillatorPlane.h
THcShower.cxx
THcShower.h
THcShowerArray.cxx
THcShowerArray.h
THcShowerCluster.h.float
THcShowerHit.cxx
THcShowerHit.h
THcShowerPlane.cxx
THcShowerPlane.h
THcSignalHit.cxx
THcSignalHit.h
THcSpacePoint.cxx
THcSpacePoint.h
THcTrigApp.cxx
THcTrigApp.h
THcTrigDet.cxx
THcTrigDet.h
THcTrigRawHit.cxx
THcTrigRawHit.h
main.C