55 theFPGATrackSimMatrixGenAlg = CompFactory.FPGATrackSimMatrixGenAlgo()
56 theFPGATrackSimMatrixGenAlg.Clustering =
True
57 theFPGATrackSimMatrixGenAlg.IdealiseGeometry = 2
58 theFPGATrackSimMatrixGenAlg.SingleSector =
False
59 theFPGATrackSimMatrixGenAlg.HoughConstants =
True
60 theFPGATrackSimMatrixGenAlg.DeltaPhiConstants =
False
61 theFPGATrackSimMatrixGenAlg.PT_THRESHOLD = 1.0
62 theFPGATrackSimMatrixGenAlg.D0_THRESHOLD = 2.0
63 theFPGATrackSimMatrixGenAlg.TRAIN_PDG = 13
64 theFPGATrackSimMatrixGenAlg.NBanks = 1
66 theFPGATrackSimMatrixGenAlg.SpacePoints = flags.Trigger.FPGATrackSim.spacePoints
67 if flags.Trigger.FPGATrackSim.spacePoints:
69 theFPGATrackSimMatrixGenAlg.minSpacePlusPixel = flags.Trigger.FPGATrackSim.minSpacePlusPixel
74 if (flags.Trigger.FPGATrackSim.ActiveConfig.secondStage):
75 from FPGATrackSimConfTools.FPGATrackSimAnalysisConfig
import FPGATrackSimTrackFitterToolCfg,FPGATrackSimOverlapRemovalToolCfg
76 from FPGATrackSimConfTools.FPGATrackSimSecondStageConfig
import FPGATrackSimWindowExtensionToolCfg
80 theFPGATrackSimMatrixGenAlg.SecondStage =
True
82 theFPGATrackSimMatrixGenAlg.SecondStage =
False
86 theFPGATrackSimMatrixGenAlg.WCmax = 2
87 theFPGATrackSimMatrixGenAlg.dropHitsAndFill = flags.dropHitsAndFill
89 theFPGATrackSimMatrixGenAlg.FPGATrackSimRawToLogicalHitsTool = acc.getPrimaryAndMerge(
FPGATrackSimRawLogicCfg(flags))
90 if (flags.Trigger.FPGATrackSim.ActiveConfig.genScan):
92 elif (flags.Trigger.FPGATrackSim.ActiveConfig.hough1D):
97 from BeamSpotConditions.BeamSpotConditionsConfig
import BeamSpotCondAlgCfg
101 theFPGATrackSimMatrixGenAlg.FPGATrackSimClusteringFTKTool = CompFactory.FPGATrackSimClusteringTool()
103 theFPGATrackSimMatrixGenAlg.sectorQPtBins = [-0.001, -0.0005, 0, 0.0005, 0.001]
104 theFPGATrackSimMatrixGenAlg.qptAbsBinning =
False
106 acc.addEventAlgo(theFPGATrackSimMatrixGenAlg)