51 <<
" Number of phi standard deviations: " <<
m_nPhiSigma <<
"\n"
64 return StatusCode::SUCCESS;
68 std::vector<const SpacePointContainer*> inSpacePoints{};
71 auto& spc = inSpacePoints.emplace_back(
nullptr);
73 ATH_MSG_DEBUG(
"Reading " << spc->size() <<
" SP buckets from collection: " << key);
83 ATH_CHECK(patWriteHandle.
record(std::make_unique<GlobalPatternContainer>()));
85 patWriteHandle->push_back(std::make_unique<GlobalPattern>(std::move(pat)));
87 ATH_MSG_DEBUG(
"Written "<<patWriteHandle->size()<<
" GlobalPatterns into StoreGate.");
89 for (
const auto& pat : *patWriteHandle) {
94 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
std::unique_ptr< const Acts::Logger > makeActsAthenaLogger(IMessageSvc *svc, const std::string &name, int level, std::optional< std::string > parent_name)
bool msgLvl(const MSG::Level lvl) const
Muon::MuonStationIndex::LayerIndex LayerIndex
Type alias for the station layer index.
Data class to represent an eta maximum in hough space.
DoubleProperty m_beamSpotRadius
Beam spot radius.
virtual StatusCode execute(const EventContext &ctx) const override
UnsignedIntegerProperty m_minPhiLayers
Minimum number of phi layers required to accept a pattern.
DoubleProperty m_thetaSearchWindow
Size of theta window [rad] to search for compatible hits with a seed, tailored to the target pt cutof...
UnsignedIntegerProperty m_minTriggerLayers
Requirement on trigger layers in the bending direction to accept a pattern.
UnsignedIntegerProperty m_maxSeedAttempts
Maximum number of attempts to build a pattern from hits already used in existing patterns.
DoubleProperty m_nResidualSigma
Number of standard deviations to consider for residual acceptance.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Handle to the MuonIdHelper service.
virtual StatusCode initialize() override
DoubleProperty m_meanNormRes2Cut
Quality cut on pattern'mean squared normalized residual.
BooleanProperty m_seedFromInner
Activate the seeding from Inner station.
std::unique_ptr< FastReco::GlobalPatternFinder > m_globPatFinder
Pointer to the actual global pattern finder.
DoubleProperty m_minHitDistance4Line
Minimum distance [mm] between two hits for being used to compute a reliable pattern line.
SG::WriteHandleKey< GlobalPatternContainer > m_outPatterns
Write handle key for the output global patterns.
DoubleProperty m_lowConfidenceResSigma
Residual uncertainty to consider the hit as low confidence.
ToolHandle< MuonValR4::IFastRecoVisualizationTool > m_patVisionTool
Handle to the visualization tool for global patterns.
UnsignedIntegerProperty m_minPrecisionLayers
Requirement on precision layers in the bending direction to accept a pattern.
DoubleProperty m_beamSpotLength
Beam spot length.
SG::ReadHandleKeyArray< SpacePointContainer > m_inSpacePoints
Keys of SpacePoint containers to read.
UnsignedIntegerProperty m_maxMissLayersInStation
Maximum number of missed candidate hits in different measurement layers during pattern building allow...
BooleanProperty m_useMdtHits
Toggle the utilization of MDT hits to build patterns.
ActsTrk::GeoContextReadKey_t m_geoCtxKey
Geometry context key.
DoubleProperty m_nPhiSigma
Number of standard deviations to consider for phi compatibility veto.
UnsignedIntegerProperty m_minStationLayers
Minimum number of layers in a station to be considered a good station.
BooleanProperty m_seedFromMdt
Toggle the seeding from MDT hits.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
std::vector< std::string > patterns
This header ties the generic definitions in this package.
LayerIndex
enum to classify the different layers in the muon spectrometer
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
Configuration object for the patter finder.
bool useMdtHits
Toggle the utilization of MDT hits to build patterns.
double lowConfidenceResSigma
Residual uncertainty to consider the hit as low confidence.
double nResidualSigma
Number of standard deviations to consider for residual acceptance.
double thetaSearchWindow
Size of theta window in radians to search for comapatible hits with a pattern, tailored to the target...
bool seedFromMdt
Toggle the seeding from MDT hits.
unsigned int minPhiLayers
Minimum number of phi layers required to accept a pattern.
const Muon::IMuonIdHelperSvc * idHelperSvc
Pointer to the idHelperSvc.
std::vector< LayerIndex > layerSeedings
Vector configuring the seeding layers.
double beamSpotRadius
Beamspot radius.
double beamSpotLength
Beamspot length.
double nPhiSigma
Number of standard deviations to consider for phi acceptance.
unsigned int minTriggerLayers
Minimum number of trigger layers in the bending direction required to accept a pattern.
const MuonValR4::IFastRecoVisualizationTool * visionTool
Pointer to the visualization tool.
unsigned int minStationLayers
Minimum number of layers in a station to be considered a good station.
unsigned int maxSeedAttempts
Maximum number of attempts to build a pattern from hits already used in existing patterns.
double minHitDistance4Line
Minimum distance (in mm) between two hits for being used to compute a reliable pattern line.
unsigned int minPrecisionLayers
Minimum number of precision layers in the bending direction required to accept a pattern.
double meanNormRes2Cut
Quality cut on pattern'mean squared normalized residual.
unsigned int maxMissLayersInStation
Maximum number of missed candidate hits in different measurement layers in a station.