Hall C Winter Collaboration Meeting Hall C Analyzer Update Jefferson Lab On Behalf of the Software Working Group
Hall A/C Software Analysis Workshop Hall A/C software analysis workshop took place June 26-27, 217 Wiki Page Multiple topics pertinent to both Halls A & C were covered Interactive sessions and take home exercises Overviews of PODD, HCANA, Hall C Replay ROOT and counting house tips and tricks Examples of detector and optics calibrations Interactive exercises involving SAMC, SIMC, G4MC, and radiative correction calculations were provided All sessions recorded on Blue Jeans and are available on the wiki Serves as valuable resource for collaborators who are not familiar with the halls A & C software packages 2
Recent Updates to Hall C Replay #include directives are now supported in both definition and cuts files The definition files interface has been restructured in order to facilitate online monitoring in a production setting while preserving the ability to debug detectors with the TEST_STAND replays DEFfiles SHMS HMS COIN EPICS RASTER PROD SCALER STAND 3
Recent Updates to Hall C Replay TEST_STANDS CAL CER HODO DC TRIG hhodoana.def hhodoana_cuts.def hhodoana_histos.def Data objects that are not utilized in online monitoring Raw ADC & TDC objects Raw ADC/TDC occupancies & multiplicities Good ADC & TDC objects Corrected ADC & TDC objects 4
Recent Updates to Hall C Replay The PRODUCTION directories contain DEFfiles which are utilized in the online monitoring DEFfiles SHMS HMS COIN EPICS RASTER PROD SCALER STAND 5
Recent Updates to Hall C Replay Detector PRODUCTION DEFfiles provide information regarding the health of the detector systems PRODUCTION CAL CER HODO DC TRIG NPE Spectra Track matching and projection Wiremaps Drift Distances Focal Plane Occupancy Multiplicities Pedestals Occupancy Multiplicities Pedestals Plane Times Ref Times 6
Recent Updates to Hall C Replay Physics DEFfiles provide reconstructed quantities PRODUCTION GTR KIN PID REACT NPE Spectra Track matching and projection Vertex location at target Golden Tracks Target Quantities E/P, ẟ, β Hodo Start Time 7
Recent Updates to Hall C Replay hstackana_production.def hstackana_production_all.def 8
Recent Updates to Hall C Replay Report files stored in TEMPLATES directories for single arm and coincidence replays are in place and are a work in progress SCALERS reports on rates and dead times PRODUCTION reports on tracking/pid efficiencies and everything that is reported in SCALERS Replays and online monitoring for coincidence running have been added to SCRIPTS/COIN/PRODUCTION/ replay_production_coin_helec_pprot.c replay_production_coin_hprot_pelec.c Single arm replays over coincidence data provide online monitoring of the detector systems, PID, tracking and physics quantities in SCRIPTS/(S)HMS/PRODUCTION/ replay_production_(s)hms_coin.c Missing data objects from other arm are ignored 9
Recent Updates to HCANA FADC data objects are now reported in derived SI units instead of FADC channels Amplitude mv Number of Entries / 5 mv 3 1 2 1 P.hgcer.goodAdcPulseAmp[3] {P.hgcer.numTracksMatched[3]>&&P.hgcer.numTracksFired[3]>} Integral pc 1 Time ns 1 P.hgcer.goodAdcPulseTime[3] {P.hgcer.numTracksMatched[3]>&&P.hgcer.numTracksFired[3]>} 1 2 3 4 5 6 7 8 9 1 HGCER PMT 4 Pulse Amplitude (mv) Number of Entries / 1 ns 25 2 15 Number of Entries / 1 pc 3 1 2 1 P.hgcer.goodAdcPulseInt[3] {P.hgcer.numTracksMatched[3]>&&P.hgcer.numTracksFired[3]>} 1 5 1 2 4 6 8 1 12 14 16 18 2 HGCER PMT 4 Pulse Time (ns) 1 1 2 4 6 8 1 12 14 16 18 2 HGCER PMT 4 Pulse Integral (pc)
Recent Updates to HCANA An FADC reference time is now present in ROC s 1 & 2 A copy of the pre-existing TDC reference time is fed into an RC circuit in order to smear out the NIM logic signal AdcPulseTimeRaw objects contain the raw FADC times AdcPulseTime objects are now reference time subtracted via THcRawAdcHit class AdcTdcDiffTime objects are reference time subtracted FADC times minus the hodoscope start time Number of Entries /.25 ns 5 4 3 2 1 233 234 235 236 237 238 239 24 ROC2 FADC Reference Time (ns) 11
Recent Updates to HCANA New physics modules have been added which calculate various physics quantities THcPrimaryKine Primary kinematics Q 2,!, W 2, x Bj,... THcSecondaryKine Secondary kinematics P miss, E miss, M recoil,... THcExtTarCor Extended target corrections p,, x tar Number of Entries /.1 GeV Number of Entries /.5 GeV 12 1 8 6 4 2 2 HMS W.5 1 1.5 2 2.5 3 2 2 W (GeV ) 12 1 8 6 4 2 SHMS E miss (ccleantrack).2.15.1.5.5.1.15.2 (GeV) E miss 12
Recent Updates to HCANA THcRaster has been updated to be consistent with accelerators EPICS left handed coordinate system y Carbon hole runs/coordinates are now more easily understood z x SHMS FRA X vs Y SHMS FRA X vs Y SHMS FRA X vs Y FRYA RAW ADC (Volts) 1.9.8.7.6.5.4.3.2.1 (-1., -.75) 9 8 7 6 5 4 3 2 1 FRYA RAW ADC (Volts) 1.9.8.7.6.5.4.3.2.1 (-1., -.9) 7 6 5 4 3 2 1 FRYA RAW ADC (Volts) 1.9.8.7.6.5.4.3.2.1 (-1., -1.) 7 6 5 4 3 2 1.1.2.3.4.5.6.7.8.9 1 FRXA RAW ADC (Volts).1.2.3.4.5.6.7.8.9 1 FRXA RAW ADC (Volts).1.2.3.4.5.6.7.8.9 1 FRXA RAW ADC (Volts) 13
Hall C Online GUI: Making Plots Great Again! 14
Managing the EDTM Signal in Data Physics Triggers Scalers EDTM Triggers HMS/SHMS Trigger Electronics or Trigger Master Scalers or Scalers TDCs L1A or Slide Courtesy of Carlos Yero 15
Trigger PID Legs & EDTM Every component of the trigger PID legs are fed into scalers, TDCs, and FADC s (where appropriate) Slide Courtesy of Carlos Yero 16
Trigger PID Legs & EDTM Signals By design, the EDTM is a real trigger as observed by the electronics and readout system It is deployed into the circuit as close to the detectors for all components which are involved in the trigger PID legs 17
EDTM Cuts: Select EDTM Events SHMS Run 214 EDTM Rate = 1 Hz T.shms.pEDTM_tdcTimeRaw EDTM TDC = Physics trigger EDTM Accidental EDTM EDTM generated trigger T.shms.pEDTM_tdcTime Reference time subtracted Select real EDTM events Physics trigger, EDTM not present EDTM trigger formed L1 Accept Physics trigger, EDTM present { ± 2 ns cut selects self timing EDTM triggered events 18
EDTM Cuts: Remove EDTM Events EDTM events can easily be removed from the data via cuts files 19
Trigger PID Legs All trigger PID components reside in scalers, TDC s, and FADC s (where appropriate) One can study off-line the effects of imposing hardware discriminator threshold cuts via software cuts Consider an example for HMS: E/P in calorimeter Select pions via Cherenkov Cut on PRHI TDC channel Calculate ratio to determine appropriate threshold for pion suppression Number of Entries /.2 5 1 1 4 3 1 1 2 1.8.6.4.2 PRHI PRHI-CUT HMS PRHI PID.2.4.6.8 1 1.2 Normalized Tack Energy HMS PRHI PID PRHI-CUT/PRHI.2.4.6.8 1 1.2 Normalized Track Energy /.2 2
Trigger PID Legs Perform hardware threshold scan of PRHI leg HMS PRHI PID (NPE SUM =.) 1.8.6.4.2-1 mv -2 mv -3 mv -4 mv -5 mv -6 mv.2.4.6.8 1 1.2 Normalized Track Energy /.2 21
Trigger PID Legs Perform software threshold scan of PRHI leg HMS PRHI PID (NPE SUM =.) 1.8.6.4.2-1 mv -2 mv -3 mv -4 mv -5 mv -6 mv.2.4.6.8 1 1.2 Normalized Track Energy /.2 22
Hall C Winter Collaboration Meeting Questions?
Backup Slides 24
Slide Title 25