DIRC Software Tasks
From GlueXWiki
The software tasks to be completed for a successful DIRC commissioning are listed below under several categories. Please contact Justin Stevens if you're able to contribute to one of these activities.
Simulation
- Implement "as-built" geometry in HDDS xml, including all support structures and material inside the bar boxes (Yunjie/Maria)
- Add smearing of DIRC truth hits in mcsmear to write out DIRCHit object with time and pixel ID. Include time resolution smearing (Justin)
- Add per-pixel efficiency from analysis of PMT module tests, with values eventually coming from CCDB tables (Andrew)
- Switch hdgeant4 to using "measured" times in GlueXSensitiveDetectorDIRC, instead of using "time_fixed". Requires similar modification to LUT reconstruction to include flight time of particle relative to other detectors. (Justin)
- Add LED generator to hdgeant4/src/GlueXPrimaryGeneratorAction (similar to LUT generator) for developing timing calibration scripts. (Yunjie)
Reconstruction
- Create DDIRCGeometry to retrieve necessary info from XML: including GetBar(X, Y) function to return bar ID for extrapolated tracks and conversion of pixel number to position space (Justin)
- Add CustomAction to dirc_reactions plugin to split tracks into kinematic bins, and fill histograms of thetaC, likelihood, hit patterns, etc. (Justin)
- Separate tracks by bar, x position (5 cm bins) and momentum (0.5 GeV bins)
- Add DIRCHits as associated objects to tracks, so they can be used more easily in later analysis stages (TBD)
- Studies size increase for REST files if these are included
- Add time imaging reconstruction to libraries/DIRC (Maria)
- Add FastDIRC reconstruction to libraries/DIRC (Cris?)
Data
- Write DSSPHit decoder in libraries/DAQ for parsing raw data (David)
- Write DDIRCDigiHit in libraries/DIRC to be used in TTAB/DTranslationTable.cc to convert hardware ID to pixel ID (Bill)
- Write DDIRCHit_factory in libraries/DIRC to read DDIRCDigiHit, do time-walk correction, and write out the same object as mcsmear (Justin)
- Calibration plugin and scripts for timing offsets from LED data (Yunjie?)
- Test with simulation of LED signal generator in hdgeant4
Event Display
- Write class which provides 3D position for pixel from DDIRCHit object which can be used in Thomas's event display (TBD)
- Long term: create database of expected hit patterns for (PID, bar, x position, and momentum). Goal is to superimpose expected pattern histogram behind hits for individual events to see if they match (TBA)