Skip to content
Snippets Groups Projects
user avatar
hallc-online authored
Main purposes:
1) Add the possibility of multiple ADC hits per channel and
   select best ADC by a time window.
2) Change ProcessHits method in ShowerPlane and ShowerArray to only
    fill "raw" TClonesArrays.
3) Add CoarseProcessHits method to ShowerPlane and ShowerArray
    to fill the "good" data arrays from call in THcShower:CoarseProcess
4) Moved code to fill Track object with energy from FineProcess
   to CoarseProcess so that the Track->Get(Energy) can be used by other
    detectors in their FineProcess.
5) FineProcess loops over Track object add gets Track energy
6) Add AdcErrorFlag TClonesArray to be filled to check for
   problems with FADC




THcShower.h
1) Add methods GetADCMode(),GetAdcTimeWindowMin(),GetAdcTimeWindowMax()
    so that the ShowerPlane can access these parameters
2) Add parameters ADCMode,fAdcTimeWindowMin,fAdcTimeWindowMax
3) Add variables
   fNclustTrack : NUmber of cluster that matches best track
   fXclustTrack : X pos of cluster that matches best track
   fXTrack      : X pos of best track that matches cluster
   fEtrack  : Cluster energy associated with best track
   fEtrackNorm  : Cluster energy/Track momentum associated with best track
THcShower.cxx
1) Add calls to THcShowerPlane and THcShowerArray CoarseProcessHits
    in CoarseProcess
2) Moved filling of Energy in Track object to CoarseProcess
3) In FineProcess get the "best" Track object and match
   Track energy and trajectory to cluster.

THcShowerArray.h and cxx
1)add parameters fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax
2) Add method CoarseProcessHits
3) In ProcessHits fill fPosThresh and fNegThresh with a fix
    value of 250 integrated channels above pedestal.
     Need to make this a parameter.

THcShowerPlane.h and cxx
1)Gets fADCMode, fAdcTimeWindowMin and fAdcTimeWindowMax from THcShower
2) Add method CoarseProcessHits
3) In ProcessHits fill fPosThresh and fNegThresh with a fix
    value of 250 integrated channels above pedestal.
     Need to make this a parameter.
6ad9abcf
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