Draft: FPGATrackSim: first pass at binning implementation for matrix gen
(Except it doesn't actually work at the moment, more debugging is needed)
Eventually, the point of this branch is to use the FPGATrackSimBinning package when running matrix generation to first bin the hits associated with a truth track. The binning is needed to assign realistic logical layers to hits, since the matrix generation will require that there be exactly one hit per "layer" where "layer" here is the logical layer created by the binning. I implemented this by invoking FPGATrackSimBinning, and then looping over all the bins that have at least nhits >= (nLayers - maxWC), meaning 3 for a 5-layer configuration.
So the intended sequence is:
- Find hits that match a truth track
- Bin them to get layers
- Loop over bins, select bins that pass the matrix generation filtering criteria
- Take those hits and run them through the full inside out algorithm to see if we find a road
- If we find a road, then calculate the covariance matrix and use that road to produce fit constants
CC @lipeles
Merge request reports
Activity
added EFTracking label
I was testing this with the following script on the Chicago analysis facility:
export CALIBPATH=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/EFTracking/ATLAS-P2-RUN4-03-00-00/:$CALIBPATH rm -rf test/* cd test/ GEO_TAG="ATLAS-P2-RUN4-03-00-00" BANKS="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/EFTracking/${GEO_TAG}/banks_5L/" MAPS="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/EFTracking/${GEO_TAG}/maps_5L/InsideOut/v0.12/" # Testing for region 3 INFILE="/data/jahreda/reco_new/batch/output_1067934_1260/output.rdo.999993.1260.root" python -m FPGATrackSimBankGen.FPGATrackSimBankGenConfig \ --evtMax=-1 \ --filesInput=$INFILE \ Trigger.FPGATrackSim.mapsDir=${MAPS} \ Trigger.FPGATrackSim.region=3 \ Trigger.FPGATrackSim.GenScan.layerMapFile=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/PhaseIIUpgrade/EFTracking/ATLAS-P2-RUN4-03-00-00/maps_5L/InsideOut/v0.12//lyrmap.json \ Trigger.FPGATrackSim.Hough.genScan=True \ Trigger.FPGATrackSim.msgLimit=-1
I think there's a merge conflict because I rebased onto the binning bugfix MR before it got merged, I can fix that (later).
mentioned in merge request !78715 (merged)