|
ATLAS Offline Software
|
Algorithm to handle the phi hough transform.
More...
#include <PhiHoughTransformAlg.h>
|
| PhiHoughTransformAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~PhiHoughTransformAlg ()=default |
|
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 > &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 |
|
|
template<class ContainerType > |
StatusCode | retrieveContainer (const EventContext &ctx, const SG::ReadHandleKey< ContainerType > &key, const ContainerType *&contToPush) const |
| Helper method to fetch data from StoreGate. More...
|
|
void | prepareHoughPlane (HoughEventData &data) const |
| prepare the hough plane once per event. More...
|
|
void | preProcessMaximum (const ActsGeometryContext &gctx, const MuonR4::HoughMaximum &maximum, HoughEventData &data) const |
| pre-processing for a given input eta-maximum Counts potential phi-hits and defines the search space More...
|
|
std::unique_ptr< SegmentSeed > | recoverSinglePhiMax (HoughEventData &data, const MuonR4::HoughMaximum &maximum) const |
| extend an eta maximum with just a single attached phi measurement. More...
|
|
std::vector< MuonR4::ActsPeakFinderForMuon::Maximum > | findRankedSegmentSeeds (const EventContext &ctx, HoughEventData &data, const MuonR4::HoughMaximum &maximum) const |
| perform a hough search for the most promising phi extension of an eta-maximum Performs a local hough transform using the phi-measurements on the maximum and returns the maxima ranked by their compatibility with the eta-measurements on the maximum. More...
|
|
int | countIncompatibleEtaHits (const MuonR4::ActsPeakFinderForMuon::Maximum &phiMaximum, const MuonR4::HoughMaximum &etaMaximum) const |
| helper to count the number of eta measurements that would be discarded for a given phi extension candidate. More...
|
|
std::unique_ptr< SegmentSeed > | buildSegmentSeed (const HoughMaximum &etaMax, const MuonR4::ActsPeakFinderForMuon::Maximum &phiMax) const |
| constructs a segment seed from an eta maximum and a phi-extension. More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
SG::ReadHandleKey< EtaHoughMaxContainer > | m_maxima {this, "ReadKey", "MuonHoughStationMaxima"} |
|
SG::WriteHandleKey< SegmentSeedContainer > | m_segmentSeeds {this, "WriteKey", "MuonHoughStationSegmentSeeds"} |
|
SG::ReadHandleKey< ActsGeometryContext > | m_geoCtxKey {this, "AlignmentKey", "ActsAlignment", "cond handle key"} |
|
ToolHandle< MuonValR4::IPatternVisualizationTool > | m_visionTool {this, "VisualizationTool", ""} |
| Pattern visualization tool. More...
|
|
DoubleProperty | m_targetResoTanPhi {this, "ResolutionTargetTanAngle", 0.04} |
|
DoubleProperty | m_targetResoIntercept {this, "ResolutionTargetIntercept", 30.} |
|
DoubleProperty | m_minSigmasSearchTanPhi {this, "minSigmasSearchTanPhi", 1.} |
|
DoubleProperty | m_minSigmasSearchIntercept {this, "minSigmasSearchIntercept", 1.} |
|
IntegerProperty | m_nBinsTanPhi {this, "nBinsTanAngle", 5} |
|
IntegerProperty | m_nBinsIntercept {this, "nBinsIntercept", 10} |
|
IntegerProperty | m_maxEtaHolesOnMax {this, "maxEtaHoles", 1} |
|
BooleanProperty | m_recoverSinglePhiWithBS {this, "recoverSinglePhiHitsWithBS", true} |
|
BooleanProperty | m_downWeightMultiplePrd {this, "downWeightPrdMultiplicity", false} |
|
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 the phi hough transform.
This algorithm is responsible for extending existing hough maxima found in a previous eta-transform. It will try to form a phi extension from the phi-sensitive measurements attached to the maximum and remove incompatible ones. It will write MuonSegmentSeeds into the event store for downstream use.
Definition at line 34 of file PhiHoughTransformAlg.h.
◆ StoreGateSvc_t
◆ PhiHoughTransformAlg()
MuonR4::PhiHoughTransformAlg::PhiHoughTransformAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~PhiHoughTransformAlg()
virtual MuonR4::PhiHoughTransformAlg::~PhiHoughTransformAlg |
( |
| ) |
|
|
virtualdefault |
◆ buildSegmentSeed()
std::unique_ptr< SegmentSeed > MuonR4::PhiHoughTransformAlg::buildSegmentSeed |
( |
const HoughMaximum & |
etaMax, |
|
|
const MuonR4::ActsPeakFinderForMuon::Maximum & |
phiMax |
|
) |
| const |
|
private |
constructs a segment seed from an eta maximum and a phi-extension.
Will keep all pure eta-measurements on the original maximum and add those eta-phi or pure phi measurements compatible with the extension.
- Parameters
-
etaMax | the eta-maximum |
phiMax | the phi-transform maximum |
- Returns
- a SegmentSeed representing the updated candidate
Definition at line 85 of file PhiHoughTransformAlg.cxx.
88 std::vector<HoughHitType> hitsOnMax;
91 return (hit->measuresEta() && !hit->measuresPhi());
94 hitsOnMax.insert(hitsOnMax.end(), phiMax.hitIdentifiers.begin(), phiMax.hitIdentifiers.end());
97 return std::make_unique<SegmentSeed>(
etaMax.tanTheta(),
etaMax.interceptY(), phiMax.x, phiMax.y, hitsOnMax.size(), std::move(hitsOnMax),
etaMax.parentBucket());
◆ cardinality()
unsigned int AthReentrantAlgorithm::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.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ countIncompatibleEtaHits()
int MuonR4::PhiHoughTransformAlg::countIncompatibleEtaHits |
( |
const MuonR4::ActsPeakFinderForMuon::Maximum & |
phiMaximum, |
|
|
const MuonR4::HoughMaximum & |
etaMaximum |
|
) |
| const |
|
private |
helper to count the number of eta measurements that would be discarded for a given phi extension candidate.
Correct extensions should have a very small or zero number.
- Parameters
-
phiMaximum | Phi-maximum to evaluate |
etaMaximum | Eta-maximum the candidate was obtained from
|
Definition at line 65 of file PhiHoughTransformAlg.cxx.
67 std::unordered_map<const xAOD::UncalibratedMeasurement*, bool> foundEtas;
70 if (hit->measuresEta() && hit->measuresPhi()) {
71 auto [iter, added] = foundEtas.emplace(hit->primaryMeasurement(),
false);
75 iter->second |= phiMaximum.hitIdentifiers.count(hit);
79 return std::count_if(foundEtas.begin(), foundEtas.end(),
80 [](
const std::pair<const xAOD::UncalibratedMeasurement*, bool>&
p) {
◆ 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::PhiHoughTransformAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 207 of file PhiHoughTransformAlg.cxx.
224 ATH_CHECK(writeMaxima.record(std::make_unique<SegmentSeedContainer>()));
227 for (
const HoughMaximum*
max : *maxima) {
229 ATH_MSG_VERBOSE(
"Search extra phi hits on maximum "<<
max->msSector()->identString()<<
", tanTheta: "<<
max->tanTheta()
230 <<
", y0: "<<
max->interceptY());
232 for (
const auto& truth :
m_visionTool->fetchTruthSegs(
max->getHitsInMax())) {
239 bool foundSolution=
false;
241 if (eventData.phiHitsOnMax > 1){
243 for (
auto & phiSolution : rankedSeeds){
244 foundSolution =
true;
247 m_visionTool->visualizeSeed(ctx, *seed,
"#phi pattern seed");
261 m_visionTool->visualizeSeed(ctx, *singleMax,
"Single #phi hit recovery");
266 writeMaxima->push_back(std::make_unique<SegmentSeed>(*
max));
272 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()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ findRankedSegmentSeeds()
perform a hough search for the most promising phi extension of an eta-maximum Performs a local hough transform using the phi-measurements on the maximum and returns the maxima ranked by their compatibility with the eta-measurements on the maximum.
- Parameters
-
ctx | EventContext to access StoreGate |
data | event data object |
maximum | eta maximum to extend |
- Returns
- : The best maxima found by the extension (lowest number of eta measurements that would need to be discarded)
Definition at line 150 of file PhiHoughTransformAlg.cxx.
152 std::unordered_map<int, std::vector<ActsPeakFinderForMuon::Maximum>> rankedSeeds;
153 using namespace std::placeholders;
155 eventData.houghPlane->reset();
158 if (!hit->measuresPhi()) {
159 ATH_MSG_VERBOSE(
"Hit "<<hit->msSector()->idHelperSvc()->toString(hit->identify())<<
" does not have a phi measurement");
164 hit, eventData.currAxisRanges,
173 auto foundMaxPhi = eventData.peakFinder->findPeaks(*eventData.houghPlane, eventData.currAxisRanges);
175 m_visionTool->visualizeAccumulator(ctx,*eventData.houghPlane, eventData.currAxisRanges, foundMaxPhi,
179 for (
const auto& solution : foundMaxPhi) {
185 auto best = rankedSeeds.begin();
◆ initialize()
StatusCode MuonR4::PhiHoughTransformAlg::initialize |
( |
| ) |
|
|
overridevirtual |
◆ 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()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, InDet::SiSPGNNTrackMaker, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ 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.
◆ prepareHoughPlane()
void MuonR4::PhiHoughTransformAlg::prepareHoughPlane |
( |
HoughEventData & |
data | ) |
const |
|
private |
prepare the hough plane once per event.
Books the accumulator and attaches it to the event data
- Parameters
-
- Returns
- a status code
Definition at line 51 of file PhiHoughTransformAlg.cxx.
58 peakFinderCfg.fractionCutoff = 0.4;
59 peakFinderCfg.threshold = 2;
60 peakFinderCfg.minSpacingBetweenPeaks = {0., 30.};
61 data.houghPlane = std::make_unique<HoughPlane>(
cfg);
62 data.peakFinder = std::make_unique<ActsPeakFinderForMuon>(peakFinderCfg);
◆ preProcessMaximum()
pre-processing for a given input eta-maximum Counts potential phi-hits and defines the search space
- Parameters
-
gctx | The geometry context to fetch the global positions |
maximum | An (eta) maximum |
data | Event data object
|
- Returns
- a status code
Definition at line 100 of file PhiHoughTransformAlg.cxx.
104 eventData.phiHitsOnMax = 0;
105 eventData.searchSpaceTanAngle = std::make_pair(resetVal, -resetVal);
106 eventData.searchSpaceIntercept = std::make_pair(resetVal, -resetVal);
110 if (!hit->measuresPhi()) {
114 const Amg::Vector3D extrapDir = (hit->positionInChamber() - hit->msSector()->globalToLocalTrans(gctx).translation()).
unit();
117 std::optional<double> dummyIntercept = Amg::intersect<3>(hit->positionInChamber(), extrapDir, Amg::Vector3D::UnitZ(),0);
118 double x0 = (hit->positionInChamber() + dummyIntercept.value_or(0) * extrapDir).
x();
122 eventData.updateSearchWindow(eventData.searchSpaceTanAngle, tanPhi);
123 eventData.updateSearchWindow(eventData.searchSpaceIntercept, x0);
125 ++eventData.phiHitsOnMax;
128 double chamberCenter = (eventData.searchSpaceIntercept.second + eventData.searchSpaceIntercept.first) * 0.5;
136 double tanPhiMean = 0.5 * (eventData.searchSpaceTanAngle.first + eventData.searchSpaceTanAngle.second);
137 double searchStartTanPhi = tanPhiMean - 0.5 * eventData.houghPlane->nBinsX() *
m_targetResoTanPhi;
138 double searchEndTanPhi = tanPhiMean + 0.5* eventData.houghPlane->nBinsX() *
m_targetResoTanPhi;
143 eventData.currAxisRanges =
144 Acts::HoughTransformUtils::HoughAxisRanges{searchStartTanPhi, searchEndTanPhi, searchStart, searchEnd};
145 ATH_MSG_VERBOSE(
"Accumulator search window: tanPhi: ["<<searchStartTanPhi<<
";"<<searchEndTanPhi<<
"], x0: ["
146 <<searchStart<<
";"<<searchEnd<<
"]");
◆ recoverSinglePhiMax()
extend an eta maximum with just a single attached phi measurement.
Uses the beam spot direction to guess an approximate phi-intercept and direction.
- Parameters
-
data | event data object |
maximum | eta-maximum to extend |
- Returns
- a SegmentSeed extended using the pointing assumption
Definition at line 193 of file PhiHoughTransformAlg.cxx.
199 data.searchSpaceTanAngle.first,
200 data.searchSpaceIntercept.first,
◆ renounce()
◆ renounceArray()
◆ retrieveContainer()
template<class ContainerType >
StatusCode MuonR4::PhiHoughTransformAlg::retrieveContainer |
( |
const EventContext & |
ctx, |
|
|
const SG::ReadHandleKey< ContainerType > & |
key, |
|
|
const ContainerType *& |
contToPush |
|
) |
| const |
|
private |
Helper method to fetch data from StoreGate.
If the key is empty, a nullptr is assigned to the container ptr Failure is returned in cases, of non-empty keys and failed retrieval
Definition at line 36 of file PhiHoughTransformAlg.cxx.
42 <<
typeid(ContainerType).
name());
43 return StatusCode::SUCCESS;
47 contToPush = readHandle.cptr();
48 return StatusCode::SUCCESS;
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::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 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::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 InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 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_detStore
◆ m_downWeightMultiplePrd
BooleanProperty MuonR4::PhiHoughTransformAlg::m_downWeightMultiplePrd {this, "downWeightPrdMultiplicity", false} |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_geoCtxKey
◆ m_maxEtaHolesOnMax
IntegerProperty MuonR4::PhiHoughTransformAlg::m_maxEtaHolesOnMax {this, "maxEtaHoles", 1} |
|
private |
◆ m_maxima
◆ m_minSigmasSearchIntercept
DoubleProperty MuonR4::PhiHoughTransformAlg::m_minSigmasSearchIntercept {this, "minSigmasSearchIntercept", 1.} |
|
private |
◆ m_minSigmasSearchTanPhi
DoubleProperty MuonR4::PhiHoughTransformAlg::m_minSigmasSearchTanPhi {this, "minSigmasSearchTanPhi", 1.} |
|
private |
◆ m_nBinsIntercept
IntegerProperty MuonR4::PhiHoughTransformAlg::m_nBinsIntercept {this, "nBinsIntercept", 10} |
|
private |
◆ m_nBinsTanPhi
IntegerProperty MuonR4::PhiHoughTransformAlg::m_nBinsTanPhi {this, "nBinsTanAngle", 5} |
|
private |
◆ m_recoverSinglePhiWithBS
BooleanProperty MuonR4::PhiHoughTransformAlg::m_recoverSinglePhiWithBS {this, "recoverSinglePhiHitsWithBS", true} |
|
private |
◆ m_segmentSeeds
◆ m_targetResoIntercept
DoubleProperty MuonR4::PhiHoughTransformAlg::m_targetResoIntercept {this, "ResolutionTargetIntercept", 30.} |
|
private |
◆ m_targetResoTanPhi
DoubleProperty MuonR4::PhiHoughTransformAlg::m_targetResoTanPhi {this, "ResolutionTargetTanAngle", 0.04} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
◆ m_visionTool
The documentation for this class was generated from the following files:
char data[hepevt_bytes_allocation_ATLAS]
double tanTheta() const
getter
AmgVector(toInt(ParamDefs::nPars)) Parameters
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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)
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
double houghParamStrip(double tanPhi, const MuonR4::HoughHitType &dc)
straight line parametrisation for strip detector measurements, in the x-direction
Acts::HoughTransformUtils::PeakFinders::IslandsAroundMaxConfig ActsPeakFinderForMuonCfg
#define ATH_MSG_VERBOSE(x)
HoughMaximum::HitType HoughHitType
const std::vector< HitType > & getHitsInMax() const
getter
std::string toString(const CalibratedSpacePoint::Covariance_t &mat)
Returns the matrix in string.
void sortByLayer(std::vector< const SpacePoint * > &spacePoints)
Sorts the space points in a vector by z.
virtual void setOwner(IDataHandleHolder *o)=0
HoughEventData_impl< ActsPeakFinderForMuon, ActsPeakFinderForMuonCfg > HoughEventData
double houghTanPhi(const Amg::Vector3D &v)
: Returns the hough tanPhi [x] / [z]
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
AthReentrantAlgorithm()
Default constructor:
double houghWidthStrip(double tanPhi, const MuonR4::HoughHitType &dc, double targetReso)
Uncertainty parametrisation for strip measurements.
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
const SpacePointBucket * parentBucket() const
getter
def best(iterable, priorities=[3, 2, 1, -1, 0])
Out copy_if(In first, const In &last, Out res, const Pred &p)
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.
Include the GeoPrimitives which need to be put first.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
constexpr int toInt(const ParamDefs p)
virtual StatusCode sysInitialize() override
Override sysInitialize.
double getCounts() const
getter
Eigen::Matrix< double, 3, 1 > Vector3D
#define ATH_MSG_WARNING(x)
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
double interceptY() const
getter
Parameters localSegmentPars(const xAOD::MuonSegment &seg)
Returns the localSegPars decoration from a xAODMuon::Segment.
DataVector< HoughMaximum > EtaHoughMaxContainer
Amg::Vector3D dirFromAngles(const double phi, const double theta)
Constructs a direction vector from the polar theta & phi angles.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>