 |
ATLAS Offline Software
|
Algorithm to handle segment fits
More...
#include <SegmentFittingAlg.h>
|
| virtual | ~SegmentFittingAlg () |
| |
| virtual StatusCode | initialize () override |
| |
| virtual StatusCode | execute (const EventContext &ctx) const override |
| |
| virtual StatusCode | sysInitialize () override |
| | Override sysInitialize. More...
|
| |
| virtual bool | isClonable () const override |
| | Specify if the algorithm is clonable. More...
|
| |
| virtual unsigned int | cardinality () const override |
| | Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
| |
| virtual StatusCode | sysExecute (const EventContext &ctx) override |
| | Execute an algorithm. More...
|
| |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| | Return the list of extra output dependencies. More...
|
| |
| virtual bool | filterPassed (const EventContext &ctx) const |
| |
| virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
| |
| ServiceHandle< StoreGateSvc > & | evtStore () |
| | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | evtStore () const |
| | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
| | The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| virtual StatusCode | sysStart () override |
| | Handle START transition. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| | Return this algorithm's input handles. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| | Return this algorithm's output handles. More...
|
| |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| | Declare a new Gaudi property. More...
|
| |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| |
| MsgStream & | msg () const |
| |
| MsgStream & | msg (const MSG::Level lvl) const |
| |
| bool | msgLvl (const MSG::Level lvl) const |
| |
|
| std::vector< std::unique_ptr< Segment > > | fitSegmentSeed (const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const SegmentSeed *seed) const |
| |
| void | resolveAmbiguities (const ActsTrk::GeometryContext &gctx, std::vector< std::unique_ptr< Segment >> &segmentCandidates) const |
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
| |
|
| SG::ReadHandleKey< SegmentSeedContainer > | m_seedKey {this, "ReadKey", "MuonHoughStationSegmentSeeds"} |
| | ReadHandle of the seeds. More...
|
| |
| SG::WriteHandleKey< SegmentContainer > | m_outSegments {this, "OutSegmentContainer", "R4MuonSegments"} |
| |
| SG::ReadHandleKey< ActsTrk::GeometryContext > | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"} |
| |
| ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
| | IdHelperSvc. More...
|
| |
| ToolHandle< ISpacePointCalibrator > | m_calibTool {this, "Calibrator", "" } |
| | Handle to the space point calibrator. More...
|
| |
| ToolHandle< MuonValR4::IPatternVisualizationTool > | m_visionTool {this, "VisualizationTool", ""} |
| | Pattern visualization tool. More...
|
| |
| Gaudi::Property< bool > | m_doT0Fit {this, "fitSegmentT0", true} |
| |
| Gaudi::Property< bool > | m_recalibInFit {this, "recalibInFit" , false} |
| |
| Gaudi::Property< bool > | m_tryPatternPars {this, "tryPatternPars", false} |
| | Try first to fit the pattern parameters. Then proceed with the straw line tangents. More...
|
| |
| Gaudi::Property< bool > | m_hessianResidual {this, "useHessianResidual", false} |
| | Use the expliciit Hessian in the residual calculation. More...
|
| |
| Gaudi::Property< bool > | m_doBeamspotConstraint {this, "doBeamspotConstraint", false} |
| | Add beamline constraint. More...
|
| |
| Gaudi::Property< double > | m_beamSpotR {this, "BeamSpotRadius", 30.* Gaudi::Units::cm} |
| |
| Gaudi::Property< double > | m_beamSpotL {this, "BeamSpotLength", 2. * Gaudi::Units::m} |
| |
| Gaudi::Property< double > | m_seedHitChi2 {this, "ResoSeedHitAssoc", 5. } |
| | Two mdt seeds are the same if their defining parameters match wihin. More...
|
| |
| Gaudi::Property< bool > | m_recalibSeed {this, "SeedRecalibrate", false} |
| | Toggle seed recalibration. More...
|
| |
| Gaudi::Property< double > | m_outlierRemovalCut {this, "OutlierRemoval", 5.} |
| | Cut on the segment chi2 / nDoF to launch the outlier removal. More...
|
| |
| Gaudi::Property< double > | m_recoveryPull {this, "RecoveryPull", 5.} |
| |
| Gaudi::Property< unsigned > | m_precHitCut {this, "PrecHitCut" , 3} |
| | Minimum number of precision hits to accept the segment. More...
|
| |
| Gaudi::Property< bool > | m_useFastFitter {this, "useFastFitter", true} |
| | Use the fast Mdt fitter where possible. More...
|
| |
| Gaudi::Property< unsigned > | m_maxIter {this, "maxIterations", 50} |
| | Tune the number of iterations. More...
|
| |
| std::unique_ptr< SegmentFit::SegmentAmbiSolver > | m_ambiSolver {} |
| | Pointer to the ambiguity reosolution. More...
|
| |
| std::unique_ptr< SegmentFit::SegmentLineFitter > | m_fitter {} |
| | Pointer to the actual segment fitter. More...
|
| |
| DataObjIDColl | m_extendedExtraObjects |
| | Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
| |
| StoreGateSvc_t | m_evtStore |
| | Pointer to StoreGate (event store by default) More...
|
| |
| StoreGateSvc_t | m_detStore |
| | Pointer to StoreGate (detector store by default) More...
|
| |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| |
| bool | m_varHandleArraysDeclared |
| |
Algorithm to handle segment fits
This is currently a placeholder to test ideas!
Definition at line 34 of file SegmentFittingAlg.h.
◆ Parameters
◆ StoreGateSvc_t
◆ ~SegmentFittingAlg()
| MuonR4::SegmentFittingAlg::~SegmentFittingAlg |
( |
| ) |
|
|
virtualdefault |
◆ cardinality()
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
| StatusCode MuonR4::SegmentFittingAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 59 of file SegmentFittingAlg.cxx.
66 ATH_CHECK(writeSegments.record(std::make_unique<SegmentContainer>()));
67 std::vector<std::unique_ptr<Segment>> allSegments{};
68 for (
const SegmentSeed* seed : *segmentSeeds) {
69 std::vector<std::unique_ptr<Segment>> segments =
fitSegmentSeed(ctx, *gctx, seed);
71 auto drawFinalReco = [
this, &segments, &gctx, &ctx,&
seed](
const std::string& nameTag) {
74 segmentLines.push_back(
drawLabel(
std::format(
"# segments: {:d}", segments.size()), 0.2, yLegend, 14));
76 for (
const std::unique_ptr<Segment>& seg : segments) {
80 std::stringstream signStream{};
81 signStream<<
std::format(
"#chi^{{2}}/nDoF: {:.2f} ({:}), ", seg->chi2() / seg->nDoF(), seg->nDoF());
82 signStream<<
std::format(
"y_{{0}}={:.2f}",
pars[toUnderlying(ParamDefs::y0)])<<
", ";
86 signStream<<(SeedingAux::strawSign(
pos,
dir, *
m) == -1 ?
"L" :
"R");
89 segmentLines.push_back(
drawLabel(signStream.str(), 0.2, yLegend, 13));
93 m_visionTool->visualizeBucket(ctx, *
seed->parentBucket(), nameTag, std::move(segmentLines));
95 drawFinalReco(
"all segments");
96 const unsigned int nBeforeAmbi = segments.size();
97 segments =
m_ambiSolver->resolveAmbiguity(*gctx, std::move(segments));
98 if (nBeforeAmbi != segments.size()) {
99 drawFinalReco(
"post ambiguity");
101 }
else if (
m_visionTool.isEnabled() && segments.empty() &&
102 std::ranges::count_if(
seed->getHitsInMax(),[
this](
const SpacePoint* hit){
103 return m_visionTool->isLabeled(*hit);
107 allSegments.insert(allSegments.end(), std::make_move_iterator(segments.begin()),
108 std::make_move_iterator(segments.end()));
111 writeSegments->insert(writeSegments->end(),
112 std::make_move_iterator(allSegments.begin()),
113 std::make_move_iterator(allSegments.end()));
114 ATH_MSG_VERBOSE(
"Found in total "<<writeSegments->size()<<
" segments. ");
115 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
◆ filterPassed()
◆ fitSegmentSeed()
At very high inclanation angles, the muon may traverse 3 hits in the same layer (E.g. BEE)
Draw the pattern with all possible seeds
Definition at line 119 of file SegmentFittingAlg.cxx.
123 const Amg::Transform3D& locToGlob{patternSeed->msSector()->localToGlobalTrans(gctx)};
124 std::vector<std::unique_ptr<Segment>> segments{};
126 MdtSegmentSeedGenerator::Config genCfg{};
137 MdtSegmentSeedGenerator drawMe{
name(), patternSeed, genCfg};
138 while(
auto s = drawMe.nextSeed(ctx)) {
141 seedLines.push_back(
drawLabel(
std::format(
"possible seeds: {:d}", drawMe.numGenerated()), 0.2, 0.85, 14));
142 m_visionTool->visualizeSeed(ctx, *patternSeed,
"pattern", std::move(seedLines));
145 MdtSegmentSeedGenerator seedGen{
name(), patternSeed, std::move(genCfg)};
147 while (
auto seed = seedGen.nextSeed(ctx)) {
148 auto segment =
m_fitter->fitSegment(ctx, patternSeed,
seed->parameters,
149 locToGlob, std::move(
seed->measurements));
151 segments.push_back(std::move(segment));
154 ATH_MSG_VERBOSE(
"fitSegmentHits() - In total "<<segments.size()<<
" segment were constructed ");
◆ initialize()
| StatusCode MuonR4::SegmentFittingAlg::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 27 of file SegmentFittingAlg.cxx.
34 SegmentAmbiSolver::Config
cfg{};
37 SegmentLineFitter::Config fitCfg{};
55 m_fitter = std::make_unique<SegmentFit::SegmentLineFitter>(
name(), std::move(fitCfg));
57 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ resolveAmbiguities()
Definition at line 158 of file SegmentFittingAlg.cxx.
160 if (segmentCandidates.empty()) {
163 using SegmentVec = std::vector<std::unique_ptr<Segment>>;
164 ATH_MSG_VERBOSE(
"Resolve ambiguities amongst "<<segmentCandidates.size()<<
" segment candidates. ");
165 std::unordered_map<const MuonGMR4::SpectrometerSector*, SegmentVec> candidatesPerChamber{};
167 for (std::unique_ptr<Segment>& sortMe : segmentCandidates) {
169 candidatesPerChamber[chamb].push_back(std::move(sortMe));
171 segmentCandidates.clear();
172 for (
auto& [
chamber, resolveMe] : candidatesPerChamber) {
174 segmentCandidates.insert(segmentCandidates.end(),
175 std::make_move_iterator(resolvedSegments.begin()),
176 std::make_move_iterator(resolvedSegments.end()));
◆ setFilterPassed()
◆ sysExecute()
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.
◆ sysInitialize()
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.
110 if (
sc.isFailure()) {
118 if ( cs.retrieve().isFailure() ) {
120 return StatusCode::SUCCESS;
122 if (cs->regHandle(
this,*
h).isFailure()) {
123 sc = StatusCode::FAILURE;
124 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_ambiSolver
◆ m_beamSpotL
| Gaudi::Property<double> MuonR4::SegmentFittingAlg::m_beamSpotL {this, "BeamSpotLength", 2. * Gaudi::Units::m} |
|
private |
◆ m_beamSpotR
| Gaudi::Property<double> MuonR4::SegmentFittingAlg::m_beamSpotR {this, "BeamSpotRadius", 30.* Gaudi::Units::cm} |
|
private |
◆ m_calibTool
◆ m_detStore
◆ m_doBeamspotConstraint
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_doBeamspotConstraint {this, "doBeamspotConstraint", false} |
|
private |
◆ m_doT0Fit
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_doT0Fit {this, "fitSegmentT0", true} |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 114 of file AthCommonReentrantAlgorithm.h.
◆ m_fitter
◆ m_geoCtxKey
◆ m_hessianResidual
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_hessianResidual {this, "useHessianResidual", false} |
|
private |
Use the expliciit Hessian in the residual calculation.
Definition at line 68 of file SegmentFittingAlg.h.
◆ m_idHelperSvc
◆ m_maxIter
| Gaudi::Property<unsigned> MuonR4::SegmentFittingAlg::m_maxIter {this, "maxIterations", 50} |
|
private |
◆ m_outlierRemovalCut
| Gaudi::Property<double> MuonR4::SegmentFittingAlg::m_outlierRemovalCut {this, "OutlierRemoval", 5.} |
|
private |
◆ m_outSegments
◆ m_precHitCut
| Gaudi::Property<unsigned> MuonR4::SegmentFittingAlg::m_precHitCut {this, "PrecHitCut" , 3} |
|
private |
Minimum number of precision hits to accept the segment.
Definition at line 84 of file SegmentFittingAlg.h.
◆ m_recalibInFit
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_recalibInFit {this, "recalibInFit" , false} |
|
private |
◆ m_recalibSeed
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_recalibSeed {this, "SeedRecalibrate", false} |
|
private |
Toggle seed recalibration.
The two seed circles are recalibrated using the initial seed
Definition at line 79 of file SegmentFittingAlg.h.
◆ m_recoveryPull
| Gaudi::Property<double> MuonR4::SegmentFittingAlg::m_recoveryPull {this, "RecoveryPull", 5.} |
|
private |
◆ m_seedHitChi2
| Gaudi::Property<double> MuonR4::SegmentFittingAlg::m_seedHitChi2 {this, "ResoSeedHitAssoc", 5. } |
|
private |
Two mdt seeds are the same if their defining parameters match wihin.
Definition at line 76 of file SegmentFittingAlg.h.
◆ m_seedKey
◆ m_tryPatternPars
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_tryPatternPars {this, "tryPatternPars", false} |
|
private |
Try first to fit the pattern parameters. Then proceed with the straw line tangents.
Definition at line 66 of file SegmentFittingAlg.h.
◆ m_useFastFitter
| Gaudi::Property<bool> MuonR4::SegmentFittingAlg::m_useFastFitter {this, "useFastFitter", true} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_visionTool
The documentation for this class was generated from the following files:
MuonValR4::IPatternVisualizationTool::PrimitiveVec PrimitiveVec
Gaudi::Property< double > m_outlierRemovalCut
Cut on the segment chi2 / nDoF to launch the outlier removal.
SG::WriteHandleKey< SegmentContainer > m_outSegments
Gaudi::Property< bool > m_tryPatternPars
Try first to fit the pattern parameters. Then proceed with the straw line tangents.
A spectrometer sector forms the envelope of all chambers that are placed in the same MS sector & laye...
Gaudi::Property< double > m_recoveryPull
Gaudi::Property< double > m_beamSpotL
Scalar theta() const
theta method
std::vector< std::unique_ptr< Segment > > fitSegmentSeed(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const SegmentSeed *seed) const
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
Gaudi::Property< double > m_beamSpotR
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
Gaudi::Property< bool > m_doT0Fit
SegmentAmbiSolver::SegmentVec SegmentVec
#define ATH_MSG_VERBOSE(x)
void resolveAmbiguities(const ActsTrk::GeometryContext &gctx, std::vector< std::unique_ptr< Segment >> &segmentCandidates) const
std::unique_ptr< SegmentFit::SegmentAmbiSolver > m_ambiSolver
Pointer to the ambiguity reosolution.
SegmentFit::Parameters Parameters
std::pair< Amg::Vector3D, Amg::Vector3D > makeLine(const Parameters &pars)
Returns the parsed parameters into an Eigen line parametrization.
std::unique_ptr< TLatex > drawLabel(const std::string &text, const double xPos, const double yPos, const unsigned int fontSize=18)
Create a TLatex label,.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
IdHelperSvc.
virtual void setOwner(IDataHandleHolder *o)=0
Gaudi::Property< bool > m_recalibInFit
ToolHandle< ISpacePointCalibrator > m_calibTool
Handle to the space point calibrator.
Gaudi::Property< unsigned > m_precHitCut
Minimum number of precision hits to accept the segment.
std::unique_ptr< CalibratedSpacePoint > MeasType
Calibrated space point type.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Gaudi::Property< double > m_seedHitChi2
Two mdt seeds are the same if their defining parameters match wihin.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
Eigen::Affine3d Transform3D
Gaudi::Property< bool > m_hessianResidual
Use the expliciit Hessian in the residual calculation.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< bool > m_recalibSeed
Toggle seed recalibration.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Gaudi::Property< bool > m_doBeamspotConstraint
Add beamline constraint.
std::unique_ptr< SegmentFit::SegmentLineFitter > m_fitter
Pointer to the actual segment fitter.
SG::ReadHandleKey< SegmentSeedContainer > m_seedKey
ReadHandle of the seeds.
DataVector< SegmentSeed > SegmentSeedContainer
Gaudi::Property< unsigned > m_maxIter
Tune the number of iterations.
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_useFastFitter
Use the fast Mdt fitter where possible.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Parameters localSegmentPars(const xAOD::MuonSegment &seg)
Returns the localSegPars decoration from a xAODMuon::Segment.
virtual StatusCode sysInitialize() override
Override sysInitialize.
ToolHandle< MuonValR4::IPatternVisualizationTool > m_visionTool
Pattern visualization tool.
void drawLine(std::ostream &os)
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.