ATLAS Offline Software
Loading...
Searching...
No Matches
MuonR4::EtaHoughTransformAlg Class Reference

Algorithm to handle the eta hough transform. More...

#include <EtaHoughTransformAlg.h>

Inheritance diagram for MuonR4::EtaHoughTransformAlg:
Collaboration diagram for MuonR4::EtaHoughTransformAlg:

Public Member Functions

virtual ~EtaHoughTransformAlg ()=default
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
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.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

using HoughSetupForBucket = HoughEventData::HoughSetupForBucket
typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

void preProcess (const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const SpacePointContainer &spacePoints, HoughEventData &data) const
 pre-processing method called once per event.
void prepareHoughPlane (HoughEventData &data) const
 prepare the accumulator and the peak finder once per event
void processBucket (const EventContext &ctx, HoughEventData &data, HoughSetupForBucket &currentBucket) const
 process a bucket.
void fillFromSpacePoint (HoughEventData &data, const MuonR4::HoughHitType &SP) const
 fill the accumulator from a given space point.
bool passSeedQuality (const HoughSetupForBucket &currentBucket, const MuonR4::ActsPeakFinderForMuon::Maximum &maximum) const
 apply quality cuts on a given maximum
void extendWithPhiHits (std::vector< HoughHitType > &hitList, HoughSetupForBucket &bucket, const double tanBeta, const double interceptY) const
 extend a maximum with all compatible (pure) phi hits.
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Static Private Member Functions

static bool isPrecisionHit (const HoughHitType &hit)
 Returns whether the hit is a precision hit or not.

Private Attributes

DoubleProperty m_targetResoTanTheta {this, "ResolutionTargetTanTheta", 0.05}
DoubleProperty m_targetResoIntercept {this, "ResolutionTargetIntercept", 10.}
DoubleProperty m_minSigmasSearchTanTheta {this, "minSigmasSearchTanTheta", 2.0}
DoubleProperty m_minSigmasSearchIntercept {this, "minSigmasSearchIntercept", 2.0}
DoubleProperty m_peakThreshold {this, "peakThreshold", 2.5}
DoubleProperty m_minMaxDistTheta {this, "MaximumSeparationTheta", 0.}
DoubleProperty m_minMaxDistIntercept {this, "MaximumSeparationIntercept", 15.}
DoubleProperty m_peakFractionCutOff {this, "PeakFractionCutOff", 0.6}
UnsignedIntegerProperty m_nPrecHitCut {this, "nMinPrecHits", 3}
DoubleProperty m_phiStripSafety {this, "PhiSafetyMargin", 15.*Gaudi::Units::cm}
IntegerProperty m_nBinsTanTheta {this, "nBinsTanTheta", 7}
IntegerProperty m_nBinsIntercept {this, "nBinsIntercept", 15}
BooleanProperty m_downWeightMultiplePrd {this, "downWeightPrdMultiplicity", false}
ServiceHandle< Muon::IMuonIdHelperSvcm_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
 Handle to the IdHelperSvc.
SG::ReadHandleKey< SpacePointContainerm_spacePointKey {this, "SpacePointContainer", "MuonSpacePoints"}
SG::WriteHandleKey< EtaHoughMaxContainerm_maxima {this, "EtaHoughMaxContainer", "MuonHoughStationMaxima"}
SG::ReadHandleKey< ActsTrk::GeometryContextm_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"}
ToolHandle< MuonValR4::IPatternVisualizationToolm_visionTool {this, "VisualizationTool", ""}
 Pattern visualization tool.
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Algorithm to handle the eta hough transform.

This algorithm is responsible for the initial eta hough transform from space-points created in an upstream alg. It will write HoughMaxima into the event store for downstream use.

Definition at line 29 of file EtaHoughTransformAlg.h.

Member Typedef Documentation

◆ HoughSetupForBucket

using MuonR4::EtaHoughTransformAlg::HoughSetupForBucket = HoughEventData::HoughSetupForBucket
private

Definition at line 39 of file EtaHoughTransformAlg.h.

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ ~EtaHoughTransformAlg()

virtual MuonR4::EtaHoughTransformAlg::~EtaHoughTransformAlg ( )
virtualdefault

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode MuonR4::EtaHoughTransformAlg::execute ( const EventContext & ctx) const
overridevirtual

read the PRDs

pre-populate the event data - sort PRDs by station

book the hough plane

now perform the actual HT for each station

Definition at line 72 of file EtaHoughTransformAlg.cxx.

72 {
73
75 const SpacePointContainer* spacePoints{nullptr};
76 ATH_CHECK(SG::get(spacePoints, m_spacePointKey, ctx));
77
78 // book the output container
79 SG::WriteHandle<EtaHoughMaxContainer> writeMaxima(m_maxima, ctx);
80 ATH_CHECK(writeMaxima.record(std::make_unique<EtaHoughMaxContainer>()));
81
82 const ActsTrk::GeometryContext* gctx{nullptr};
83 ATH_CHECK(SG::get(gctx, m_geoCtxKey, ctx));
84
86
88 preProcess(ctx, *gctx, *spacePoints, data);
89
93 for (auto& [station, stationHoughBuckets] : data.houghSetups) {
94 // reset the list of maxima
95 for (auto& bucket : stationHoughBuckets) {
96 processBucket(ctx, data, bucket);
97 }
98 for (HoughMaximum& max : data.maxima) {
99 writeMaxima->push_back(std::make_unique<HoughMaximum>(std::move(max)));
100 }
101 data.maxima.clear();
102 }
103 std::stable_sort(writeMaxima->begin(), writeMaxima->end(),
104 [](const HoughMaximum* a, const HoughMaximum* b){
105 return (*a->parentBucket()) < (*b->parentBucket());
106 });
107 return StatusCode::SUCCESS;
108}
#define ATH_CHECK
Evaluate an expression and check for errors.
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
static Double_t a
#define max(a, b)
Definition cfImp.cxx:41
void prepareHoughPlane(HoughEventData &data) const
prepare the accumulator and the peak finder once per event
SG::ReadHandleKey< ActsTrk::GeometryContext > m_geoCtxKey
void preProcess(const EventContext &ctx, const ActsTrk::GeometryContext &gctx, const SpacePointContainer &spacePoints, HoughEventData &data) const
pre-processing method called once per event.
void processBucket(const EventContext &ctx, HoughEventData &data, HoughSetupForBucket &currentBucket) const
process a bucket.
SG::WriteHandleKey< EtaHoughMaxContainer > m_maxima
SG::ReadHandleKey< SpacePointContainer > m_spacePointKey
HoughEventData_impl< ActsPeakFinderForMuon, ActsPeakFinderForMuonCfg > HoughEventData
DataVector< SpacePointBucket > SpacePointContainer
Abrivation of the space point container type.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
void stable_sort(DataModel_detail::iterator< DVL > beg, DataModel_detail::iterator< DVL > end)
Specialization of stable_sort for DataVector/List.

◆ extendWithPhiHits()

void MuonR4::EtaHoughTransformAlg::extendWithPhiHits ( std::vector< HoughHitType > & hitList,
HoughSetupForBucket & bucket,
const double tanBeta,
const double interceptY ) const
private

extend a maximum with all compatible (pure) phi hits.

Parameters
hitListlist of hits to extend
bucketthe bucket to take the phi hits from
tanBetaAngle estimates from the hough maximum
interceptYIntercept estimated from the hough maximum

Definition at line 469 of file EtaHoughTransformAlg.cxx.

472 {
473 const Amg::Vector3D maxPos = interceptY * Amg::Vector3D::UnitY();
474 const Amg::Vector3D maxDir = Acts::makeDirectionFromAxisTangents(0., tanBeta);
475
476 for (const SpacePointBucket::value_type& hit : *bucket.bucket) {
477 if (hit->measuresEta()){
478 continue;
479 }
480 using namespace SegmentFit;
481 const Amg::Vector3D& dir{hit->sensorDirection()};
482 const Amg::Vector3D& pos{hit->localPosition()};
483 const double distAlongStrip = std::abs(dir.dot(SeedingAux::extrapolateToPlane(maxPos,maxDir, *hit) - pos));
484 const double stripL = std::sqrt(hit->covariance()[Acts::toUnderlying(AxisDefs::etaCov)]);
485 if (!hit->measuresEta() && distAlongStrip < stripL + m_phiStripSafety) {
486 hitList.push_back(hit.get());
487 }
488 }
489}
Eigen::Matrix< double, 3, 1 > Vector3D

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

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.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ fillFromSpacePoint()

void MuonR4::EtaHoughTransformAlg::fillFromSpacePoint ( HoughEventData & data,
const MuonR4::HoughHitType & SP ) const
private

fill the accumulator from a given space point.

Parameters
dataevent data object
SPspace point to fill from

Definition at line 439 of file EtaHoughTransformAlg.cxx.

439 {
440
441 using namespace std::placeholders;
442 double w = 1.0;
443 // convert Gaudi::property to double to avoid deep copy in std::bind expression
444 double resolutionTarget = m_targetResoIntercept;
445 // downweight RPC measurements in the barrel relative to MDT
447 w = 0.5;
448 }
450 // if invalid time, do not count this hit towards a potential peak.
451 // The hits will still be included in a potential maximum formed by valid hits,
452 // for later recovery.
453 if (!isPrecisionHit(SP)) w = 0;
454 const auto* dc = static_cast<const xAOD::MdtDriftCircle*>(SP->primaryMeasurement());
455 // dummy index for precision layer counting within the hough plane
456 const unsigned precisionLayerIndex = (dc->readoutElement()->multilayer() * 10 + dc->tubeLayer());
457 data.houghPlane->fill<HoughHitType>(SP, data.currAxisRanges, HoughHelpers::Eta::houghParamMdtLeft,
458 std::bind(HoughHelpers::Eta::houghWidthMdt, _1, _2, resolutionTarget), SP, precisionLayerIndex, w);
459 data.houghPlane->fill<HoughHitType>(SP, data.currAxisRanges, HoughHelpers::Eta::houghParamMdtRight,
460 std::bind(HoughHelpers::Eta::houghWidthMdt, _1, _2, resolutionTarget), SP, precisionLayerIndex, w);
461 } else {
462 if (SP->measuresEta()) {
463 data.houghPlane->fill<HoughHitType>(SP, data.currAxisRanges, HoughHelpers::Eta::houghParamStrip,
464 std::bind(HoughHelpers::Eta::houghWidthStrip, _1, _2, resolutionTarget), SP, 0, w * (
465 m_downWeightMultiplePrd ? 1.0 / SP->nEtaInstanceCounts() : 1.));
466 }
467 }
468}
static bool isPrecisionHit(const HoughHitType &hit)
Returns whether the hit is a precision hit or not.
bool measuresEta() const
: Does the space point contain an eta measurement
const xAOD::UncalibratedMeasurement * primaryMeasurement() const
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
double houghWidthStrip(double tanBeta, const MuonR4::HoughHitType &strip, double targetReso)
Uncertainty parametrisation for strip measurements.
double houghParamMdtRight(double tanBeta, const MuonR4::HoughHitType &dc)
right-side straight line parametrisation for drift circles
double houghParamStrip(double tanBeta, const MuonR4::HoughHitType &strip)
straight line parametrisation for strip detector measurements
double houghWidthMdt(double tanBeta, const MuonR4::HoughHitType &dc, double targetReso)
uncertainty parametrisation for drift circles
double houghParamMdtLeft(double tanBeta, const MuonR4::HoughHitType &dc)
left-side straight line parametrisation for drift circles
const SpacePoint * HoughHitType
MdtDriftCircle_v1 MdtDriftCircle

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ initialize()

StatusCode MuonR4::EtaHoughTransformAlg::initialize ( )
overridevirtual

Definition at line 64 of file EtaHoughTransformAlg.cxx.

64 {
65 ATH_CHECK(m_geoCtxKey.initialize());
66 ATH_CHECK(m_spacePointKey.initialize());
67 ATH_CHECK(m_maxima.initialize());
68 ATH_CHECK(m_idHelperSvc.retrieve());
69 ATH_CHECK(m_visionTool.retrieve(EnableTool{!m_visionTool.empty()}));
70 return StatusCode::SUCCESS;
71}
ToolHandle< MuonValR4::IPatternVisualizationTool > m_visionTool
Pattern visualization tool.
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Handle to the IdHelperSvc.

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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()

◆ isPrecisionHit()

bool MuonR4::EtaHoughTransformAlg::isPrecisionHit ( const HoughHitType & hit)
staticprivate

Returns whether the hit is a precision hit or not.

Definition at line 152 of file EtaHoughTransformAlg.cxx.

152 {
153 switch (hit->type()){
155 const auto* dc = static_cast<const xAOD::MdtDriftCircle*>(hit->primaryMeasurement());
156 return dc->status() == Muon::MdtDriftCircleStatus::MdtStatusDriftTime;
157 }
159 return hit->measuresEta();
160 }
162 const auto* meas = static_cast<const xAOD::sTgcMeasurement*>(hit->primaryMeasurement());
164 } default:
165 break;
166 }
167 return false;
168}
MdtDriftCircleStatus status() const
Returns the status of the measurement.
virtual sTgcChannelTypes channelType() const =0
Returns the channel type of the measurement (Pad/Wire/Strip)
sTgcMeasurement_v1 sTgcMeasurement

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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.

◆ passSeedQuality()

bool MuonR4::EtaHoughTransformAlg::passSeedQuality ( const HoughSetupForBucket & currentBucket,
const MuonR4::ActsPeakFinderForMuon::Maximum & maximum ) const
private

apply quality cuts on a given maximum

Determine the minimal & maximal possible position along the tube / strip

Calculate the width / tube length at the centre crossing point (maximum.x -> tanBeta, maximum.y -> y0)

Definition at line 182 of file EtaHoughTransformAlg.cxx.

182 {
183
184 // now we propagate along the seed trajectory and collect crossed volumes
185 int expectedPrecisionChambers{0}, seenPrecisionChambers{0};
186 bool hasTrig = false;
187
188 std::unordered_set<const MuonGMR4::MuonReadoutElement*> seenChambers{};
189 std::set<std::pair<int,int>> seenLayers;
190 const double halfX = currentBucket.bucket->msSector()->halfXLong();
192 std::array<double, 2> tubeExtend{halfX, -halfX};
193
194 auto addSeenHit = [&tubeExtend, &seenLayers, &seenChambers](const SpacePoint& sp,
195 const MuonGMR4::MuonReadoutElement* re,
196 const double sensorL,
197 const int mL, const int layer){
198 seenLayers.emplace(mL, layer);
199 seenChambers.insert(re);
200 tubeExtend[0] = std::min(tubeExtend[0], sp.localPosition().x() - sensorL);
201 tubeExtend[1] = std::max(tubeExtend[1], sp.localPosition().x() + sensorL);
202 };
203 for (const SpacePoint* SP : maximum.hitIdentifiers){
204 ATH_MSG_VERBOSE(__func__<<"() - "<<__LINE__<<" Maximum has associated hit in "
205 << m_idHelperSvc->toStringDetEl(SP->identify()));
206
207 if (isPrecisionHit(SP)) {
209 const auto* dc = static_cast<const xAOD::MdtDriftCircle*>(SP->primaryMeasurement());
210 const MuonGMR4::MdtReadoutElement* re = dc->readoutElement();
211 addSeenHit(*SP, re, 0.5*re->activeTubeLength(dc->measurementHash()),
212 re->multilayer(), dc->tubeLayer());
213 } else if(SP->type() == xAOD::UncalibMeasType::MMClusterType){
214 const auto* clust = static_cast<const xAOD::MMCluster*>(SP->primaryMeasurement());
215 const MuonGMR4::MmReadoutElement* re = clust->readoutElement();
216 addSeenHit(*SP, re, 0.5*re->stripLayer(clust->measurementHash()).design().stripLength(clust->channelNumber()),
217 re->multilayer(), clust->gasGap());
218 } else if (SP->type() == xAOD::UncalibMeasType::sTgcStripType) {
219 const auto* clust = static_cast<const xAOD::sTgcMeasurement*>(SP->primaryMeasurement());
220 const MuonGMR4::sTgcReadoutElement* re = clust->readoutElement();
221 addSeenHit(*SP, re, 0.5*re->stripLayer(clust->measurementHash()).design().stripLength(clust->channelNumber()),
222 re->multilayer(), clust->gasGap());
223 }
224 } else {
225 seenChambers.insert(xAOD::muonReadoutElement(SP->primaryMeasurement()));
226 }
227 }
228 // loop over all chambers in the bucket
229 for (const auto & muonChamber : currentBucket.bucket->chamberLocations()){
230 // skip any we don't touch
231 if (!passesThrough(muonChamber, maximum.y, maximum.x)) {
232 ATH_MSG_VERBOSE(__func__<<"() - "<<__LINE__<<" maximum does not cross "
233 << m_idHelperSvc->toStringDetEl(muonChamber.readoutEle()->identify()));
234 continue;
235 }
236 ATH_MSG_VERBOSE(__func__<<"() - "<<__LINE__<<" maximum crosses "
237 << m_idHelperSvc->toStringDetEl(muonChamber.readoutEle()->identify())<<", "
238 <<(*muonChamber.bounds())<<", @: "<<Amg::toString(muonChamber.location()));
239 // for MDT multilayers, we increase our expected number of crossed chambers / tubes
240 const ActsTrk::DetectorType type = muonChamber.readoutEle()->detectorType();
241
242 // now we check if we have a compatible measurement on our seed
243 const bool hasHit = seenChambers.count(muonChamber.readoutEle());
244 const bool precTech = (type == ActsTrk::DetectorType::Mdt || type == ActsTrk::DetectorType::Mm ||
246 if (hasHit) {
247 // if we find an MDT hit, we increment the counter for seen chambers
248 if (precTech) {
249 ++seenPrecisionChambers;
250 } else {
251 hasTrig = true;
252 continue;
253 }
254 } else if (precTech) {
257 const double lowL = muonChamber.width(maximum.y + muonChamber.location().z() * maximum.x);
258 const std::array<double, 2> chambEdges{muonChamber.location().x() - lowL,
259 muonChamber.location().x() + lowL};
260
261 const double coverage = chamberCoverage(tubeExtend, chambEdges);
262 if (coverage < 0.95){
263 ATH_MSG_VERBOSE(__func__<<"() - "<<__LINE__<<" Reject chamber due to partial coverage: "<<coverage
264 <<", chamb extend: "<<chambEdges[0]<<"-"<<chambEdges[1]
265 <<", tube extend: "<<tubeExtend[0]<<"-"<<tubeExtend[1]
266 <<", "<<(*muonChamber.readoutEle()->msSector()->bounds()));
267 continue;
268 }
269 } else {
270 continue;
271 }
272 ++expectedPrecisionChambers;
273 }
274 // compute the minimum number of requested precision layers
275 // the integer division will round down (resulting cut: 2 for single-ML, 4 for dual-ML)
276 int minLayers = seenLayers.size() / 2 + 1;
277 // require 2 precision chambers with measurements, except if we only cross one precision multilayer in total
278 int minSeenPrecisionChambers = (expectedPrecisionChambers > 1) + 1;
279 // if we have at least one trigger hit, we loosen the requirements on precision hits and chambers
280 if (hasTrig) {
281 minLayers -= 1;
282 minSeenPrecisionChambers = 1;
283 }
284 ATH_MSG_VERBOSE(__func__<<"() - "<<__LINE__<<": "<<currentBucket.bucket->msSector()->identString()<<
285 ", seen prec: "<<seenPrecisionChambers<<", required: "<<minSeenPrecisionChambers
286 <<" -- layers: "<<seenLayers.size()<<", required: "<<minLayers);
287 return seenPrecisionChambers >= minSeenPrecisionChambers && (int)seenLayers.size() >= minLayers;
288}
const boost::regex re(r_e)
#define ATH_MSG_VERBOSE(x)
static Double_t sp
const MuonGMR4::MmReadoutElement * readoutElement() const
Retrieve the associated MmReadoutElement.
const MuonGMR4::MdtReadoutElement * readoutElement() const
Retrieve the associated MdtReadoutElement.
const MuonGMR4::sTgcReadoutElement * readoutElement() const
Retrieve the associated sTgcReadoutElement.
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
@ Mm
Maybe not needed in the migration.
@ sTgc
Micromegas (NSW)
@ Mdt
MuonSpectrometer.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
constexpr double chamberCoverage(const std::array< double, 2 > &seedEdges, const std::array< double, 2 > &chambEdges)
Calculates how much of the unkknown coordinate along the tube range is covered by the chamber of inte...
bool passesThrough(const SpacePointBucket::chamberLocation &loc, double y0, double tanBeta)
constexpr unsigned minLayers
@ layer
Definition HitInfo.h:79
const MuonGMR4::MuonReadoutElement * muonReadoutElement(const UncalibratedMeasurement *meas)
Returns the associated readout element to the measurement.
MMCluster_v1 MMCluster

◆ prepareHoughPlane()

void MuonR4::EtaHoughTransformAlg::prepareHoughPlane ( HoughEventData & data) const
private

prepare the accumulator and the peak finder once per event

Parameters
dataevent data object

Definition at line 170 of file EtaHoughTransformAlg.cxx.

170 {
171 HoughPlaneConfig cfg;
172 cfg.nBinsX = m_nBinsTanTheta;
173 cfg.nBinsY = m_nBinsIntercept;
174 ActsPeakFinderForMuonCfg peakFinderCfg;
175 peakFinderCfg.fractionCutoff = m_peakFractionCutOff;
176 peakFinderCfg.threshold = m_peakThreshold;
177 peakFinderCfg.minSpacingBetweenPeaks = {m_minMaxDistTheta, m_minMaxDistIntercept};
178 data.houghPlane = std::make_unique<HoughPlane>(cfg);
179 data.peakFinder = std::make_unique<ActsPeakFinderForMuon>(peakFinderCfg);
180}
Acts::HoughTransformUtils::PeakFinders::IslandsAroundMaxConfig ActsPeakFinderForMuonCfg

◆ preProcess()

void MuonR4::EtaHoughTransformAlg::preProcess ( const EventContext & ctx,
const ActsTrk::GeometryContext & gctx,
const SpacePointContainer & spacePoints,
HoughEventData & data ) const
private

pre-processing method called once per event.

Populates the event data with the space points for each bucket and identifies the optimal search space in each bucket.

Parameters
ctxEventContext to parse to the visualization tool
gctxGeometry context to retrieve global positioning of the chambers
spacePointspoint list from store gate
dataevent data object

Project the hits onto the center (z=0) axis of the chamber, using our guesstimate of tan(theta)

Definition at line 109 of file EtaHoughTransformAlg.cxx.

112 {
113
114 ATH_MSG_DEBUG("Load " << spacePoints.size() << " space point buckets");
115 for (const SpacePointBucket* bucket : spacePoints) {
116 if (m_visionTool.isEnabled()) {
117 m_visionTool->visualizeBucket(ctx, *bucket, "bucket");
118 }
119 std::vector<HoughSetupForBucket>& buckets = data.houghSetups[bucket->front()->msSector()];
120 HoughSetupForBucket& hs{buckets.emplace_back(bucket)};
121 const Amg::Transform3D globToLoc{hs.bucket->msSector()->globalToLocalTrans(gctx)};
122 Amg::Vector3D leftSide = globToLoc.translation() - (hs.bucket->coveredMin() * Amg::Vector3D::UnitY());
123 Amg::Vector3D rightSide = globToLoc.translation() - (hs.bucket->coveredMax() * Amg::Vector3D::UnitY());
124
125 // get the average z of our hits and use it to correct our angle estimate
126 double zmin{1.e9}, zmax{-1.e9};
127 for (const std::shared_ptr<MuonR4::SpacePoint> & sp : *bucket) {
128 zmin = std::min(zmin, sp->localPosition().z());
129 zmax = std::max(zmax, sp->localPosition().z());
130 }
131 const double z = 0.5*(zmin + zmax);
132
133 // estimate the angle, adding extra tolerance based on our target resolution
134 const double tanThetaLeft = (leftSide.y() - m_targetResoIntercept) / (leftSide.z() - z) - m_targetResoTanTheta;
135 const double tanThetaRight = (rightSide.y() + m_targetResoIntercept) / (rightSide.z() - z) + m_targetResoTanTheta;
136 hs.searchWindowTanAngle = {tanThetaLeft, tanThetaRight};
137 double ymin{1e9}, ymax{-1e9};
138
141 for (const std::shared_ptr<MuonR4::SpacePoint> & hit : *bucket){
142 // two estimates: For the two extrema of tan(theta) resulting from the guesstimate
143 double y0l = hit->localPosition().y() - hit->localPosition().z() * tanThetaLeft;
144 double y0r = hit->localPosition().y() - hit->localPosition().z() * tanThetaRight;
145 // pick the widest envelope
146 ymin=std::min(ymin, std::min(y0l, y0r) - m_targetResoIntercept);
147 ymax=std::max(ymax, std::max(y0l, y0r) + m_targetResoIntercept);
148 }
149 hs.searchWindowIntercept = {ymin, ymax};
150 }
151}
#define ATH_MSG_DEBUG(x)
#define z
HoughEventData::HoughSetupForBucket HoughSetupForBucket
double ymin
Definition listroot.cxx:63
double ymax
Definition listroot.cxx:64
Eigen::Affine3d Transform3D

◆ processBucket()

void MuonR4::EtaHoughTransformAlg::processBucket ( const EventContext & ctx,
HoughEventData & data,
HoughSetupForBucket & currentBucket ) const
private

process a bucket.

Performs the hough transform in the given bucket and adds the maxima to the event data.

Parameters
ctxEventContext to parse to the visualization tool
dataevent data object
currentBucketbucket to process

tune the search space

Definition at line 291 of file EtaHoughTransformAlg.cxx.

293 {
295
296 double chamberCenter = 0.5 * (bucket.searchWindowIntercept.first +
297 bucket.searchWindowIntercept.second);
298 // build a symmetric window around the (geometric) chamber center so that
299 // the bin width is equivalent to our target resolution
300 double searchStart = chamberCenter - 0.5 * data.houghPlane->nBinsY() * m_targetResoIntercept;
301 double searchEnd = chamberCenter + 0.5 * data.houghPlane->nBinsY() * m_targetResoIntercept;
302 // Protection for very wide buckets - if the search space does not cover all
303 // of the bucket, widen the bin size so that we cover everything
304 searchStart = std::min(searchStart, bucket.searchWindowIntercept.first -
306 searchEnd = std::max(searchEnd, bucket.searchWindowIntercept.second +
308 // also treat tan(theta)
309 double tanThetaMean = 0.5 * (bucket.searchWindowTanAngle.first +
310 bucket.searchWindowTanAngle.second);
311 double searchStartTanTheta = tanThetaMean - 0.5 * data.houghPlane->nBinsX() * m_targetResoTanTheta;
312 double searchEndTanTheta = tanThetaMean + 0.5 * data.houghPlane->nBinsX() * m_targetResoTanTheta;
313 searchStartTanTheta = std::min(searchStartTanTheta, bucket.searchWindowTanAngle.first -
315 searchEndTanTheta = std::max(searchEndTanTheta, bucket.searchWindowTanAngle.second +
317
318 data.currAxisRanges = Acts::HoughTransformUtils::HoughAxisRanges{
319 searchStartTanTheta, searchEndTanTheta, searchStart, searchEnd};
320
321 data.houghPlane->reset();
322 for (const SpacePointBucket::value_type& hit : *(bucket.bucket)) {
323 fillFromSpacePoint(data, hit.get());
324 }
325 auto maxima = data.peakFinder->findPeaks(*(data.houghPlane), data.currAxisRanges);
326 if (m_visionTool.isEnabled()) {
327 m_visionTool->visualizeAccumulator(ctx, *data.houghPlane, data.currAxisRanges, maxima,
328 "#eta Hough accumulator");
329 }
330 if (maxima.empty()) {
331 ATH_MSG_DEBUG("Station "<<bucket.bucket->msSector()->identString()
332 <<":\n Mean tanBeta was "<<tanThetaMean
333 << " and my intercept "<<chamberCenter
334 <<", with hits in the bucket in "<< bucket.bucket->coveredMin()
335 <<" - "<<bucket.bucket->coveredMax()
336 <<". The bucket found a search range of ("
337 <<bucket.searchWindowTanAngle.first<<" - "
338 <<bucket.searchWindowTanAngle.second<<") and ("
339 <<bucket.searchWindowIntercept.first<<" - "
340 <<bucket.searchWindowIntercept.second
341 <<") , and my final search range is ["
342 <<searchStartTanTheta<<" - "<<searchEndTanTheta
343 <<"] and ["<<searchStart<<" - "<<searchEnd
344 <<"] with "<<m_nBinsTanTheta<<" and "
345 <<m_nBinsIntercept<<" bins.");
346 return;
347 }
348
349 // remember used hits - assign only to first maximum when counting
350 // precision hits
351 std::set<HoughHitType> seenHits;
352
353 // now clean up and potentially write the maxima
354 for (const auto& max : maxima) {
355
356 // precision hit cut, using only the measurements on the hough maximum
357 unsigned int nPrec{0};
358 auto toBins = [&data](double x, double y){
359 return std::make_pair(
360 Acts::HoughTransformUtils::binIndex(data.currAxisRanges.xMin, data.currAxisRanges.xMax, data.houghPlane->nBinsX(), x),
361 Acts::HoughTransformUtils::binIndex(data.currAxisRanges.yMin, data.currAxisRanges.yMax, data.houghPlane->nBinsY(), y)
362 );
363 };
364 auto accumulatorBins = toBins(max.x,max.y);
365 for (const HoughHitType& hit : data.houghPlane->hitIds(accumulatorBins.first, accumulatorBins.second)) {
366 auto res = seenHits.emplace(hit);
367 if (res.second){
368 nPrec += isPrecisionHit(hit);
369 }
370 }
371 if (nPrec < m_nPrecHitCut) {
372 ATH_MSG_VERBOSE("The maximum did not pass the precision hit cut");
373 continue;
374 }
375
376 // convert the set of hit identifiers from ACTS to the vector we need later
377 std::vector<HoughHitType> hitList{max.hitIdentifiers.begin(), max.hitIdentifiers.end()};
378
379 // apply a seed quality cut.
380 if (!passSeedQuality(bucket, max)) {
381 // if seed visualisation is enabled, draw the rejected seed
382 if (m_visionTool.isEnabled()) {
383 const HoughMaximum& houghMax{max.x, max.y, 1. *hitList.size(), std::move(hitList), bucket.bucket};
384 const SegmentSeed seed{houghMax};
387 for (auto & chamber : bucket.bucket->chamberLocations()) {
388 primitives.push_back(MuonValR4::drawBox(chamber.minY(), chamber.minZ(),
389 chamber.maxY(), chamber.maxZ(), kGray+2));
390 const Identifier detId{chamber.readoutEle()->identify()};
391 const int eta = m_idHelperSvc->stationEta(detId);
392 std::string chLabel = std::format("{:}{:1d}{:}{:2d}", m_idHelperSvc->stationNameString(detId),
393 std::abs(eta), eta > 0? 'A' : 'C', m_idHelperSvc->stationPhi(detId));
394 switch (chamber.readoutEle()->detectorType()) {
396 chLabel += std::format("M{:1d}", m_idHelperSvc->mdtIdHelper().multilayer(detId));
397 } default:
398 break;
399 }
400 primitives.push_back(MuonValR4::drawLabel(chLabel, chamber.minY(), chamber.maxZ() + 0.02,8));
401 }
402
403 primitives.push_back(MuonValR4::drawLabel(std::format("Missed seed - score {}, layer score {}, comprising {} measurements ",data.houghPlane->nHits(accumulatorBins.first, accumulatorBins.second),data.houghPlane->nLayers(accumulatorBins.first, accumulatorBins.second),hitList.size()),0.05,0.03,12));
404
405 primitivesForAcc.push_back(MuonValR4::drawLabel(std::format("Missed seed - score {}, layer score {}, comprising {} measurements ",data.houghPlane->nHits(accumulatorBins.first, accumulatorBins.second),data.houghPlane->nLayers(accumulatorBins.first, accumulatorBins.second),hitList.size()),0.05,0.03,12));
406 m_visionTool->visualizeAccumulator(ctx, *data.houghPlane, data.currAxisRanges, {max},
407 "MissedAccumulator", std::move(primitivesForAcc));
408 m_visionTool->visualizeSeed(ctx, seed, "Missed seed",std::move(primitives));
409 }
410 continue;
411 }
412
413 // this seed looks good! Let's finalise it
414 size_t nHits = hitList.size();
415 // add phi measurements - will be filtered for compatibility in separate algorithm
416 extendWithPhiHits(hitList, bucket, max.x, max.y);
417 // sort hits by layer
418 const SpacePointPerLayerSorter sorter{};
419 std::ranges::stable_sort(hitList, sorter);
420 // create hough maximum instance and add it to the event data for later writing!
421 const HoughMaximum& houghMax{data.maxima.emplace_back(max.x, max.y, nHits, std::move(hitList), bucket.bucket)};
422
423 // if desired, visualise the result
424 if (m_visionTool.isEnabled()) {
425 const SegmentSeed seed{houghMax};
428 for (auto & chamber : bucket.bucket->chamberLocations()){
429 primitives.push_back(MuonValR4::drawBox(chamber.minY(), chamber.minZ(), chamber.maxY(), chamber.maxZ(), kGray+2));
430 }
431 primitives.push_back(MuonValR4::drawLabel(std::format("score {}, layer score {}, comprising {} measurements. wx = {:.2f}, wy = {:.1f} ",data.houghPlane->nHits(accumulatorBins.first, accumulatorBins.second),data.houghPlane->nLayers(accumulatorBins.first, accumulatorBins.second),hitList.size(), max.wx, max.wy),0.05,0.03,12));
432 primitivesForAcc.push_back(MuonValR4::drawLabel(std::format("score {}, layer score {}, comprising {} measurements. wx = {:.2f}, wy = {:.1f} ",data.houghPlane->nHits(accumulatorBins.first, accumulatorBins.second),data.houghPlane->nLayers(accumulatorBins.first, accumulatorBins.second),hitList.size(), max.wx / m_targetResoTanTheta, max.wy / m_targetResoIntercept),0.05,0.03,12));
433
434 m_visionTool->visualizeAccumulator(ctx, *data.houghPlane, data.currAxisRanges, {max},"#eta Hough accumulator", std::move(primitivesForAcc));
435 m_visionTool->visualizeSeed(ctx, seed, "#eta-HoughSeed", std::move(primitives));
436 }
437 }
438}
Scalar eta() const
pseudorapidity method
std::pair< std::vector< unsigned int >, bool > res
static const uint32_t nHits
#define y
#define x
void extendWithPhiHits(std::vector< HoughHitType > &hitList, HoughSetupForBucket &bucket, const double tanBeta, const double interceptY) const
extend a maximum with all compatible (pure) phi hits.
void fillFromSpacePoint(HoughEventData &data, const MuonR4::HoughHitType &SP) const
fill the accumulator from a given space point.
bool passSeedQuality(const HoughSetupForBucket &currentBucket, const MuonR4::ActsPeakFinderForMuon::Maximum &maximum) const
apply quality cuts on a given maximum
UnsignedIntegerProperty m_nPrecHitCut
std::unique_ptr< TLatex > drawLabel(const std::string &text, const double xPos, const double yPos, const unsigned int fontSize=18)
Create a TLatex label,.
std::unique_ptr< TBox > drawBox(const Amg::Vector3D &boxCenter, const double boxWidth, const double boxHeight, const int color=kGreen+2, const int fillStyle=hollowFilling, const int view=objViewEta)
Creates a box for drawing, e.g strip measurements.

◆ renounce()

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 > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
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)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

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.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

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 HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_downWeightMultiplePrd

BooleanProperty MuonR4::EtaHoughTransformAlg::m_downWeightMultiplePrd {this, "downWeightPrdMultiplicity", false}
private

Definition at line 116 of file EtaHoughTransformAlg.h.

116{this, "downWeightPrdMultiplicity", false};

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

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_geoCtxKey

SG::ReadHandleKey<ActsTrk::GeometryContext> MuonR4::EtaHoughTransformAlg::m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"}
private

Definition at line 125 of file EtaHoughTransformAlg.h.

125{this, "AlignmentKey", "ActsAlignment", "cond handle key"};

◆ m_idHelperSvc

ServiceHandle<Muon::IMuonIdHelperSvc> MuonR4::EtaHoughTransformAlg::m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"}
private

Handle to the IdHelperSvc.

Definition at line 118 of file EtaHoughTransformAlg.h.

118{this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"};

◆ m_maxima

SG::WriteHandleKey<EtaHoughMaxContainer> MuonR4::EtaHoughTransformAlg::m_maxima {this, "EtaHoughMaxContainer", "MuonHoughStationMaxima"}
private

Definition at line 123 of file EtaHoughTransformAlg.h.

123{this, "EtaHoughMaxContainer", "MuonHoughStationMaxima"};

◆ m_minMaxDistIntercept

DoubleProperty MuonR4::EtaHoughTransformAlg::m_minMaxDistIntercept {this, "MaximumSeparationIntercept", 15.}
private

Definition at line 101 of file EtaHoughTransformAlg.h.

101{this, "MaximumSeparationIntercept", 15.};

◆ m_minMaxDistTheta

DoubleProperty MuonR4::EtaHoughTransformAlg::m_minMaxDistTheta {this, "MaximumSeparationTheta", 0.}
private

Definition at line 99 of file EtaHoughTransformAlg.h.

99{this, "MaximumSeparationTheta", 0.};

◆ m_minSigmasSearchIntercept

DoubleProperty MuonR4::EtaHoughTransformAlg::m_minSigmasSearchIntercept {this, "minSigmasSearchIntercept", 2.0}
private

Definition at line 95 of file EtaHoughTransformAlg.h.

95{this, "minSigmasSearchIntercept", 2.0};

◆ m_minSigmasSearchTanTheta

DoubleProperty MuonR4::EtaHoughTransformAlg::m_minSigmasSearchTanTheta {this, "minSigmasSearchTanTheta", 2.0}
private

Definition at line 92 of file EtaHoughTransformAlg.h.

92{this, "minSigmasSearchTanTheta", 2.0};

◆ m_nBinsIntercept

IntegerProperty MuonR4::EtaHoughTransformAlg::m_nBinsIntercept {this, "nBinsIntercept", 15}
private

Definition at line 113 of file EtaHoughTransformAlg.h.

113{this, "nBinsIntercept", 15};

◆ m_nBinsTanTheta

IntegerProperty MuonR4::EtaHoughTransformAlg::m_nBinsTanTheta {this, "nBinsTanTheta", 7}
private

Definition at line 111 of file EtaHoughTransformAlg.h.

111{this, "nBinsTanTheta", 7};

◆ m_nPrecHitCut

UnsignedIntegerProperty MuonR4::EtaHoughTransformAlg::m_nPrecHitCut {this, "nMinPrecHits", 3}
private

Definition at line 105 of file EtaHoughTransformAlg.h.

105{this, "nMinPrecHits", 3};

◆ m_peakFractionCutOff

DoubleProperty MuonR4::EtaHoughTransformAlg::m_peakFractionCutOff {this, "PeakFractionCutOff", 0.6}
private

Definition at line 103 of file EtaHoughTransformAlg.h.

103{this, "PeakFractionCutOff", 0.6};

◆ m_peakThreshold

DoubleProperty MuonR4::EtaHoughTransformAlg::m_peakThreshold {this, "peakThreshold", 2.5}
private

Definition at line 97 of file EtaHoughTransformAlg.h.

97{this, "peakThreshold", 2.5};

◆ m_phiStripSafety

DoubleProperty MuonR4::EtaHoughTransformAlg::m_phiStripSafety {this, "PhiSafetyMargin", 15.*Gaudi::Units::cm}
private

Definition at line 108 of file EtaHoughTransformAlg.h.

108{this, "PhiSafetyMargin", 15.*Gaudi::Units::cm};

◆ m_spacePointKey

SG::ReadHandleKey<SpacePointContainer> MuonR4::EtaHoughTransformAlg::m_spacePointKey {this, "SpacePointContainer", "MuonSpacePoints"}
private

Definition at line 121 of file EtaHoughTransformAlg.h.

121{this, "SpacePointContainer", "MuonSpacePoints"};

◆ m_targetResoIntercept

DoubleProperty MuonR4::EtaHoughTransformAlg::m_targetResoIntercept {this, "ResolutionTargetIntercept", 10.}
private

Definition at line 89 of file EtaHoughTransformAlg.h.

89{this, "ResolutionTargetIntercept", 10.};

◆ m_targetResoTanTheta

DoubleProperty MuonR4::EtaHoughTransformAlg::m_targetResoTanTheta {this, "ResolutionTargetTanTheta", 0.05}
private

Definition at line 87 of file EtaHoughTransformAlg.h.

87{this, "ResolutionTargetTanTheta", 0.05};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.

◆ m_visionTool

ToolHandle<MuonValR4::IPatternVisualizationTool> MuonR4::EtaHoughTransformAlg::m_visionTool {this, "VisualizationTool", ""}
private

Pattern visualization tool.

Definition at line 127 of file EtaHoughTransformAlg.h.

127{this, "VisualizationTool", ""};

The documentation for this class was generated from the following files: