ATLAS Offline Software
Classes
FPGATrackSimMatrixReductionAlgo.h File Reference

Algorithm to reduce matrix files from 2nd stage to 1st stage. More...

#include "GaudiKernel/ITHistSvc.h"
#include "AthenaBaseComps/AthAlgorithm.h"
#include "FPGATrackSimMaps/IFPGATrackSimMappingSvc.h"
#include "FPGATrackSimMatrixAccumulator.h"
#include <string>
#include <vector>
Include dependency graph for FPGATrackSimMatrixReductionAlgo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FPGATrackSimMatrixReductionAlgo
 

Detailed Description

Algorithm to reduce matrix files from 2nd stage to 1st stage.

Author
Rewrite by Riley Xu - riley.nosp@m..xu@.nosp@m.cern..nosp@m.ch after FTK code
Date
May 21st, 2020 This algorithm simply copies the sector matrices from the input file, but only keeping 1st stage layers/coordinates. In python pseudocode, layer_filter = [ is1stStage(layer_2nd) for layer_2nd in range(# 2nd stage layers) ] modules_1st = modules_2nd[layer_filter] and similarly for the coordinate-length members.

It is questionable if this step is even needed. I imagine the constant generation can just read in the 2nd stage matrices and do this step by itself. (Once we combine the plane maps the filtering should be just a built-in function for the pmap class).

Definition in file FPGATrackSimMatrixReductionAlgo.h.