Skip to content
Snippets Groups Projects
Commit 6e574d3f authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'SyncActsDefaultSeedingJO' into 'master'

Sync with acts JO

See merge request !61668
parents 9b0a0d5c 21d5e029
42 merge requests!66406ZDC & ZDC LED monitoring updates,!66102ZDC & RPD monitoring update,!65937Draft: Updated post-processing and plotting scripts for 2023 data in ZLumi_Scripts directory,!65537ZDC - Fix problem with swapping of low and high gain data,!64732Add hypo for time-significance based selection of HLT jets,!64579Draft: Replace status() with functions from TruthUtils,!64531gFex Simulation Updates,!64529gFEX simulation updates,!64426CREST server URL parameter added in IOVDbSvc,!64423CREST server URL parameter added in IOVDbSvc,!64403Draft: ZFinder for jet super ROI,!64345potential bug,!64193Fix WriteDecorHandleKey type for ftag electron barcode decorators,!64090Configuration of AFP+dijet chains,!63927Update NSWPRDValAlg output filenames,!63828Revert "Merge branch 'skip.PyUtils-20230618' into '23.0'",!63827Draft: Updated logic in DQTGlobalWZFinderAlg for trigger function if DQ.useTrigger flag is disabled,!6382423.0-coverity-FPGATrackSimMaps,!63790Draft: replacing HT1000 preselj180 with HT1000 preselcHT450,!63694Draft: Add histograms for overflow monitoring in L1Topo,!63616Substituting hard-coded Z5/Z1 ratio values with soft-coded ones,!63486Draft: Added fragments to record extra infor from HI reco,!63316WIP: Changing default value of tolerance in STEP propagator,!63264Draft: Pass by reference in FTF loops,!63164bugfix NswCondTestAlg,!63067add inner-coincidence plots to TGC offline DQ,!63027Fixing large-R jets collection name,!63010Update R22 derivations to use large-R jet pre-recommendations calibration,!62744Draft: Z-Counting Release 23 Pandas Scripts Directory,!62682CREST data dump option added for IOVDbSvc,!62533createTagMetaInfoFS update,!62410Remove deprecated LLP1 config,!62396Add Iso and Trigger key properties in the example Alg,!62387Draft: Improve Trigger EGamma Emulator python code,!62384store Electron LH (charge ID selector) as float rather than double in derivations,!62222Draft: Replace outdated code with STL,!62134AF3: mirror showers for positrons and negative hadrons,!62001MuonCondTest: Fix compilation with clang15.,!61907Draft: Remove boost from HepMCWeightSvc,!61668Sync with acts JO,!60432Add linear extrapolation in old charge calibration (ATLASRECTS-7337),!58516Draft: optimization in simulation
......@@ -8,7 +8,10 @@ from ActsInterop.ActsConfigFlags import SeedingStrategy
def ActsTrkITkPixelSeedingToolCfg(flags,
**kwargs) -> ComponentAccumulator:
acc = ComponentAccumulator()
## For ITkPixel, use default values for ActsTrk::SeedingTool
## For ITkPixel
kwargs.setdefault("numSeedIncrement" , float("inf"))
kwargs.setdefault("deltaZMax" , float("inf"))
kwargs.setdefault("maxPtScattering", float("inf"))
acc.setPrivateTools(CompFactory.ActsTrk.SeedingTool(name = "ActsSeedingTool_ITkPixel", **kwargs))
return acc
......@@ -34,6 +37,7 @@ def ActsTrkITkStripSeedingToolCfg(flags,
kwargs.setdefault("deltaRMiddleMinSPRange" , 30 * UnitConstants.mm)
kwargs.setdefault("deltaRMiddleMaxSPRange" , 150 * UnitConstants.mm)
kwargs.setdefault("useDetailedDoubleMeasurementInfo" , True)
kwargs.setdefault("maxPtScattering", float("inf"))
# For SeedFilterConfig
kwargs.setdefault("useDeltaRorTopRadius" , False)
kwargs.setdefault("seedConfirmationInFilter" , False)
......@@ -41,8 +45,8 @@ def ActsTrkITkStripSeedingToolCfg(flags,
kwargs.setdefault("compatSeedLimit" , 4)
kwargs.setdefault("numSeedIncrement" , 1.)
kwargs.setdefault("seedWeightIncrement" , 10100.)
kwargs.setdefault("maxSeedsPerSpMConf" , 10e6)
kwargs.setdefault("maxQualitySeedsPerSpMConf" , 10e6)
kwargs.setdefault("maxSeedsPerSpMConf" , 100)
kwargs.setdefault("maxQualitySeedsPerSpMConf" , 100)
# For seeding algorithm
kwargs.setdefault("zBinNeighborsBottom" , [(0,1),(0,1),(0,1),(0,2),(0,1),(0,0),(-1,0),(-2,0),(-1,0),(-1,0),(-1,0)])
......@@ -66,7 +70,6 @@ def ActsTrkITkStripOrthogonalSeedingToolCfg(flags,
kwargs.setdefault("deltaRMaxTopSP" , 300. * UnitConstants.mm)
kwargs.setdefault("deltaRMinBottomSP" , 20. * UnitConstants.mm)
kwargs.setdefault("deltaRMaxBottomSP" , 300. * UnitConstants.mm)
kwargs.setdefault("maxSeedsPerSpMConf" , 10e6)
kwargs.setdefault("deltaZMax" , 900. * UnitConstants.mm)
kwargs.setdefault("interactionPointCut" , False)
kwargs.setdefault("skipPreviousTopSP", False)
......@@ -75,8 +78,8 @@ def ActsTrkITkStripOrthogonalSeedingToolCfg(flags,
kwargs.setdefault("seedWeightIncrement" , 10100.)
kwargs.setdefault("numSeedIncrement" , 1.)
kwargs.setdefault("seedConfirmationInFilter" , False)
kwargs.setdefault("maxSeedsPerSpMConf" , 10e6)
kwargs.setdefault("maxQualitySeedsPerSpMConf" , 10e6)
kwargs.setdefault("maxSeedsPerSpMConf" , 100)
kwargs.setdefault("maxQualitySeedsPerSpMConf" , 100)
kwargs.setdefault("useDeltaRorTopRadius" , False)
kwargs.setdefault("rMinMiddle", 33. * UnitConstants.mm)
kwargs.setdefault("rMaxMiddle", 1200. * UnitConstants.mm)
......
......@@ -367,6 +367,7 @@ namespace ActsTrk {
filterCfg.centralSeedConfirmationRange = m_finderCfg.centralSeedConfirmationRange;
filterCfg.forwardSeedConfirmationRange = m_finderCfg.forwardSeedConfirmationRange;
filterCfg.impactWeightFactor = m_impactWeightFactor;
filterCfg.zOriginWeightFactor = m_zOriginWeightFactor;
filterCfg.compatSeedWeight = m_compatSeedWeight;
filterCfg.compatSeedLimit = m_compatSeedLimit;
filterCfg.seedWeightIncrement = m_seedWeightIncrement;
......
......@@ -142,7 +142,9 @@ namespace ActsTrk {
{1, 2, 3, 4, 11, 10, 9, 8, 6, 5, 7} , "defines order of z bins for looping"};
Gaudi::Property< bool > m_useVariableMiddleSPRange {this, "useVariableMiddleSPRange", true,
"Enable variable range to search for middle SPs"};
Gaudi::Property< std::vector<std::vector<double>> > m_rRangeMiddleSP {this, "rRangeMiddleSP", {}, "radial range for middle SP"};
Gaudi::Property< std::vector<std::vector<double>> > m_rRangeMiddleSP {this, "rRangeMiddleSP",
{{40.0, 90.0}, {40.0, 200.0}, {46.0, 200.0}, {46.0, 200.0}, {46.0, 250.0}, {46.0, 250.0}, {46.0, 250.0}, {46.0, 200.0}, {46.0, 200.0}, {40.0, 200.0}, {40.0, 90.0}},
"radial range for middle SP"};
Gaudi::Property< float > m_deltaRMiddleMinSPRange {this, "deltaRMiddleMinSPRange", 10.,
"delta R for middle SP range (min)"};
Gaudi::Property< float > m_deltaRMiddleMaxSPRange {this, "deltaRMiddleMaxSPRange", 10.,
......@@ -202,9 +204,9 @@ namespace ActsTrk {
Gaudi::Property<float> m_toleranceParam {this, "toleranceParam", 1.1 * Acts::UnitConstants::mm,
"tolerance parameter used to check the compatibility of SPs coordinates in xyz"};
Gaudi::Property<float> m_phiMin {this, "phiMin", - M_PI, ""};
Gaudi::Property<float> m_phiMax {this, "phiMax", M_PI, ""};
Gaudi::Property<float> m_rMin {this, "rMin", 33 * Acts::UnitConstants::mm, ""};
Gaudi::Property<float> m_phiMin {this, "phiMin", 0, ""};
Gaudi::Property<float> m_phiMax {this, "phiMax", 2 * M_PI, ""};
Gaudi::Property<float> m_rMin {this, "rMin", 0 * Acts::UnitConstants::mm, ""};
Gaudi::Property<float> m_zAlign {this, "zAlign", 0 * Acts::UnitConstants::mm, ""};
Gaudi::Property<float> m_rAlign {this, "rAlign", 0 * Acts::UnitConstants::mm, ""};
Gaudi::Property<float> m_sigmaError {this, "sigmaError", 5, ""};
......@@ -212,6 +214,7 @@ namespace ActsTrk {
// Properties to set SeedFilterConfig
Gaudi::Property< float > m_impactWeightFactor {this, "impactWeightFactor", 100.,
"the impact parameters (d0) is multiplied by this factor and subtracted from weight"};
Gaudi::Property< float > m_zOriginWeightFactor {this, "zOriginWeightFactor", 1.};
Gaudi::Property< float > m_compatSeedWeight {this, "compatSeedWeight", 100.,
"seed weight increased by this value if a compatible seed has been found"};
Gaudi::Property< std::size_t > m_compatSeedLimit {this, "compatSeedLimit", 3,
......@@ -224,9 +227,9 @@ namespace ActsTrk {
"sort seed vectors by curvature"};
Gaudi::Property< bool > m_seedConfirmationInFilter {this, "seedConfirmationInFilter", true,
"run seed confirmation"};
Gaudi::Property< int > m_maxSeedsPerSpMConf {this, "maxSeedsPerSpMConf", 5,
Gaudi::Property< std::size_t > m_maxSeedsPerSpMConf {this, "maxSeedsPerSpMConf", 5,
"Maximum number of lower quality seeds in seed confirmation."};
Gaudi::Property< int > m_maxQualitySeedsPerSpMConf {this, "maxQualitySeedsPerSpMConf", 5,
Gaudi::Property< std::size_t > m_maxQualitySeedsPerSpMConf {this, "maxQualitySeedsPerSpMConf", 5,
"Maximum number of quality seeds for each middle-bottom SP-duplet in seed confirmation."};
Gaudi::Property< bool > m_useDeltaRorTopRadius {this, "useDeltaRorTopRadius", true,
"use deltaR (top radius - middle radius) instead of top radius"};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment