|
ATLAS Offline Software
|
#include <MuonSegmentFinderAlg.h>
|
| MuonSegmentFinderAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~MuonSegmentFinderAlg ()=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 |
|
|
StatusCode | createSegmentsWithMDTs (const EventContext &ctx, const Muon::MuonPatternCombination *patt, Trk::SegmentCollection *segs) const |
|
void | createNSWSegments (const EventContext &ctx, const Muon::MuonPatternCombination *patt, NSWSegmentCache &cache) const |
|
StatusCode | createCscSegments (const EventContext &ctx, std::unique_ptr< MuonSegmentCombinationCollection > &csc4dSegmentCombinations) const |
| Retrieve the raw outputs from the Csc segment makers for the curved combination. More...
|
|
void | appendSegmentsFromCombi (const std::unique_ptr< MuonSegmentCombinationCollection > &combi_coll, Trk::SegmentCollection *segments) const |
|
template<class ContType > |
StatusCode | loadFromStoreGate (const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&cont_ptr) const |
| load the container from storegate given a ReadHandleKey. 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...
|
|
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc |
|
PublicToolHandle< Muon::MuonEDMPrinterTool > | m_printer |
|
ToolHandle< Muon::IMuonPatternCalibration > | m_patternCalibration |
|
ToolHandle< Muon::IMuonSegmentMaker > | m_segmentMaker |
|
ToolHandle< Muon::IMuonSegmentOverlapRemovalTool > | m_segmentOverlapRemovalTool |
|
ToolHandle< Muon::IMuonClusterOnTrackCreator > | m_clusterCreator |
|
ToolHandle< Muon::IMuonNSWSegmentFinderTool > | m_clusterSegMakerNSW |
|
ToolHandle< ICscSegmentFinder > | m_csc2dSegmentFinder |
|
ToolHandle< ICscSegmentFinder > | m_csc4dSegmentFinder |
|
ToolHandle< Muon::IMuonSegmentSelectionTool > | m_segmentSelector |
|
SG::WriteHandleKey< Trk::SegmentCollection > | m_segmentCollectionKey |
|
SG::WriteHandleKey< Trk::SegmentCollection > | m_segmentNSWCollectionKey |
|
SG::ReadHandleKey< Muon::CscPrepDataContainer > | m_cscPrdsKey |
|
SG::ReadHandleKey< MuonPatternCombinationCollection > | m_patternCollKey |
|
Gaudi::Property< bool > | m_printSummary {this, "PrintSummary", false} |
|
Gaudi::Property< bool > | m_doFullFinder {this, "FullFinder", true} |
| Run segment finding with eta / phi determination. More...
|
|
Gaudi::Property< bool > | m_runMdtSegments {this, "doMdtSegments", true} |
| Run the Mdt segment maker (Switched of the NCB systems) More...
|
|
Gaudi::Property< bool > | m_doSTgcSegments {this, "doStgcSegments", true} |
| Run the NSW segment maker. More...
|
|
Gaudi::Property< bool > | m_doMMSegments {this, "doMMSegments", true} |
|
Gaudi::Property< bool > | m_removeUsedNswHits {this, "removeUsedNSW", true} |
| If switched to true, hits that have been already successfully combined to a segment are removed from future searches. More...
|
|
Gaudi::Property< int > | m_segQuality {this, "SegmentQuality", -1} |
| Apply a preselection on the segments. 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 |
|
Definition at line 22 of file MuonSegmentFinderAlg.h.
◆ NSWSegmentCache
◆ StoreGateSvc_t
◆ MuonSegmentFinderAlg()
MuonSegmentFinderAlg::MuonSegmentFinderAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~MuonSegmentFinderAlg()
virtual MuonSegmentFinderAlg::~MuonSegmentFinderAlg |
( |
| ) |
|
|
virtualdefault |
◆ appendSegmentsFromCombi()
Push back the output containers
Definition at line 133 of file MuonSegmentFinderAlg.cxx.
135 if (!combi_coll)
return;
142 const unsigned int nstations = combi->numberOfStations();
143 const bool useEta = combi->useStripsInSegment(1);
144 const bool usePhi = combi->useStripsInSegment(0);
147 for (
unsigned int i = 0;
i < nstations; ++
i) {
151 if (!segments || segments->empty())
continue;
153 for (std::unique_ptr<Muon::MuonSegment>& seg : *segments) {
156 segmentContainer->push_back(std::move(seg));
◆ 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.
◆ createCscSegments()
Retrieve the raw outputs from the Csc segment makers for the curved combination.
Definition at line 116 of file MuonSegmentFinderAlg.cxx.
121 if (!cscPrds)
return StatusCode::SUCCESS;
123 std::vector<const Muon::CscPrepDataCollection*> cscCols;
125 ATH_MSG_DEBUG(
"Retrieved CscPrepDataContainer " << cscCols.size());
126 if (cscCols.empty())
return StatusCode::SUCCESS;
127 std::unique_ptr<MuonSegmentCombinationCollection> csc2dSegmentCombinations =
m_csc2dSegmentFinder->find(cscCols, ctx);
128 if (!csc2dSegmentCombinations)
return StatusCode::SUCCESS;
131 return StatusCode::SUCCESS;
◆ createNSWSegments()
Constrain to NSW hits
Definition at line 162 of file MuonSegmentFinderAlg.cxx.
167 std::map<int, std::vector<std::unique_ptr<const Muon::MuonClusterOnTrack>> > clustersPerSector;
171 if (
it.prepRawDataVec().empty())
continue;
173 const Identifier id =
it.prepRawDataVec().front()->identify();
184 if (!newCluster)
continue;
185 std::vector<std::unique_ptr<const Muon::MuonClusterOnTrack>>&
clusters = clustersPerSector[sector];
189 for (
auto&[sector,
clusters] :clustersPerSector) {
191 cache.inputClust = std::move(
clusters);
◆ createSegmentsWithMDTs()
Definition at line 196 of file MuonSegmentFinderAlg.cxx.
201 ATH_MSG_DEBUG(
"Do not search segments in the Mdt part of the muon spectrometer");
202 return StatusCode::SUCCESS;
210 for (
const ROTRegion& region : hitsPerRegion) {
211 for (
const MdtVec& mdts : region.mdts()) {
212 if (mdts.empty())
continue;
217 std::vector<const Trk::MeasurementBase*> meas {};
218 meas.insert(meas.end(), mdts.begin(), mdts.end());
219 meas.insert(meas.end(), region.clusters().begin(), region.clusters().end());
222 <<
" nMdts: "<<mdts.size()<<
" nClusters "<<region.clusters().size()
226 m_segmentMaker->find(region.regionPos, region.regionDir, mdts, region.clusters(), hasPhiMeasurements, segs,
227 region.regionDir.mag());
229 std::vector<const Trk::RIO_OnTrack*> rios;
230 rios.insert(rios.begin(), mdts.begin(), mdts.end());
235 return StatusCode::SUCCESS;
◆ 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 MuonSegmentFinderAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Move the segments into the output
Get rid of all the duplicates in the segment container
Definition at line 48 of file MuonSegmentFinderAlg.cxx.
53 std::unique_ptr<Trk::SegmentCollection> segmentContainer = std::make_unique<Trk::SegmentCollection>();
54 std::unique_ptr<Trk::SegmentCollection> nswSegmentContainer = !
m_segmentNSWCollectionKey.empty() ? std::make_unique<Trk::SegmentCollection>()
60 ATH_MSG_DEBUG(
"Processing the pattern collections with " << patternColl->size() <<
" Collections ");
72 segmentContainer->
insert(segmentContainer->
end(), std::make_move_iterator(nswCache.constructedSegs.begin()),
73 std::make_move_iterator(nswCache.constructedSegs.end()));
75 nswCache.constructedSegs.clear();
77 if (!nswSegmentContainer)
continue;
78 nswSegmentContainer->
insert(nswSegmentContainer->
end(), std::make_move_iterator(nswCache.quadSegs.begin()),
79 std::make_move_iterator(nswCache.quadSegs.end()));
80 nswCache.quadSegs.clear();
86 std::unique_ptr<MuonSegmentCombinationCollection> csc4dSegmentCombinations{};
106 ATH_CHECK(handle.record(std::move(segmentContainer)));
111 ATH_CHECK(handle_segNSW.record(std::move(nswSegmentContainer)));
113 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 |
◆ initialize()
StatusCode MuonSegmentFinderAlg::initialize |
( |
| ) |
|
|
overridevirtual |
MDT segments
Initialize the alignment container in the NSW
Definition at line 24 of file MuonSegmentFinderAlg.cxx.
45 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()
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.
◆ loadFromStoreGate()
template<class ContType >
load the container from storegate given a ReadHandleKey.
If the key is empty a nullptr will be returned
Definition at line 237 of file MuonSegmentFinderAlg.cxx.
243 return StatusCode::SUCCESS;
246 if (!readHandle.isValid()) {
248 return StatusCode::FAILURE;
250 cont_ptr = readHandle.cptr();
251 return StatusCode::SUCCESS;
◆ 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()
◆ 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_clusterCreator
Initial value:{
this,
"MuonClusterCreator",
"Muon::MuonClusterOnTrackCreator/MuonClusterOnTrackCreator",
}
Definition at line 58 of file MuonSegmentFinderAlg.h.
◆ m_clusterSegMakerNSW
◆ m_csc2dSegmentFinder
Initial value:{
this,
"Csc2dSegmentMaker",
"Csc2dSegmentMaker/Csc2dSegmentMaker",
}
Definition at line 68 of file MuonSegmentFinderAlg.h.
◆ m_csc4dSegmentFinder
Initial value:{
this,
"Csc4dSegmentMaker",
"Csc4dSegmentMaker/Csc4dSegmentMaker",
}
Definition at line 73 of file MuonSegmentFinderAlg.h.
◆ m_cscPrdsKey
Initial value:{
this,
"CSC_clusterkey",
"CSC_Clusters",
"CSC PRDs",
}
Definition at line 95 of file MuonSegmentFinderAlg.h.
◆ m_detStore
◆ m_doFullFinder
Gaudi::Property<bool> MuonSegmentFinderAlg::m_doFullFinder {this, "FullFinder", true} |
|
private |
◆ m_doMMSegments
Gaudi::Property<bool> MuonSegmentFinderAlg::m_doMMSegments {this, "doMMSegments", true} |
|
private |
◆ m_doSTgcSegments
Gaudi::Property<bool> MuonSegmentFinderAlg::m_doSTgcSegments {this, "doStgcSegments", true} |
|
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_idHelperSvc
Initial value:{
this,
"MuonIdHelperSvc",
"Muon::MuonIdHelperSvc/MuonIdHelperSvc",
}
Definition at line 32 of file MuonSegmentFinderAlg.h.
◆ m_patternCalibration
Initial value:{
this,
"MuonPatternCalibration",
"Muon::MuonPatternCalibration/MuonPatternCalibration",
}
Definition at line 43 of file MuonSegmentFinderAlg.h.
◆ m_patternCollKey
Initial value:{
this,
"MuonLayerHoughCombisKey",
"MuonLayerHoughCombis",
"Hough combinations",
}
Definition at line 101 of file MuonSegmentFinderAlg.h.
◆ m_printer
Initial value:{
this,
"EDMPrinter",
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
}
Definition at line 38 of file MuonSegmentFinderAlg.h.
◆ m_printSummary
Gaudi::Property<bool> MuonSegmentFinderAlg::m_printSummary {this, "PrintSummary", false} |
|
private |
◆ m_removeUsedNswHits
Gaudi::Property<bool> MuonSegmentFinderAlg::m_removeUsedNswHits {this, "removeUsedNSW", true} |
|
private |
If switched to true, hits that have been already successfully combined to a segment are removed from future searches.
Definition at line 135 of file MuonSegmentFinderAlg.h.
◆ m_runMdtSegments
Gaudi::Property<bool> MuonSegmentFinderAlg::m_runMdtSegments {this, "doMdtSegments", true} |
|
private |
◆ m_segmentCollectionKey
Initial value:{
this,
"SegmentCollectionName",
"TrackMuonSegments",
"Muon Segments",
}
Definition at line 83 of file MuonSegmentFinderAlg.h.
◆ m_segmentMaker
Initial value:{
this,
"SegmentMaker",
"Muon::DCMathSegmentMaker/DCMathSegmentMaker",
}
Definition at line 48 of file MuonSegmentFinderAlg.h.
◆ m_segmentNSWCollectionKey
Initial value:{
this,
"NSWSegmentCollectionName",
"TrackMuonNSWSegments",
"WriteHandleKey for NSW Segments",
}
Definition at line 89 of file MuonSegmentFinderAlg.h.
◆ m_segmentOverlapRemovalTool
Initial value:{
this,
"MuonSegmentOverlapRemovalTool",
"Muon::MuonSegmentOverlapRemovalTool/MuonSegmentOverlapRemovalTool",
}
Definition at line 53 of file MuonSegmentFinderAlg.h.
◆ m_segmentSelector
Initial value:{this, "SegmentSelector",
"Muon::MuonSegmentSelectionTool/MuonSegmentSelectionTool"}
Definition at line 79 of file MuonSegmentFinderAlg.h.
◆ m_segQuality
Gaudi::Property<int> MuonSegmentFinderAlg::m_segQuality {this, "SegmentQuality", -1} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
const std::vector< MuonPatternChamberIntersect > & chamberData() const
access to the MuonPatternChamberIntersect associated with the MuonPatternCombination
Gaudi::Property< int > m_segQuality
Apply a preselection on the segments.
void appendSegmentsFromCombi(const std::unique_ptr< MuonSegmentCombinationCollection > &combi_coll, Trk::SegmentCollection *segments) const
std::vector< const MdtDriftCircleOnTrack * > MdtVec
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Gaudi::Property< bool > m_doMMSegments
ToolHandle< Muon::IMuonClusterOnTrackCreator > m_clusterCreator
ToolHandle< ICscSegmentFinder > m_csc4dSegmentFinder
ToolHandle< Muon::IMuonPatternCalibration > m_patternCalibration
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
ToolHandle< Muon::IMuonSegmentSelectionTool > m_segmentSelector
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)
SG::WriteHandleKey< Trk::SegmentCollection > m_segmentCollectionKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool msgLvl(const MSG::Level lvl) const
SG::ReadHandleKey< Muon::CscPrepDataContainer > m_cscPrdsKey
Gaudi::Property< bool > m_doFullFinder
Run segment finding with eta / phi determination.
#define ATH_MSG_VERBOSE(x)
Gaudi::Property< bool > m_removeUsedNswHits
If switched to true, hits that have been already successfully combined to a segment are removed from ...
StatusCode loadFromStoreGate(const EventContext &ctx, const SG::ReadHandleKey< ContType > &key, const ContType *&cont_ptr) const
load the container from storegate given a ReadHandleKey.
virtual void setOwner(IDataHandleHolder *o)=0
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
Gaudi::Property< bool > m_doSTgcSegments
Run the NSW segment maker.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
AthReentrantAlgorithm()
Default constructor:
StatusCode createSegmentsWithMDTs(const EventContext &ctx, const Muon::MuonPatternCombination *patt, Trk::SegmentCollection *segs) const
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
This class holds information needed for the Moore and MoMu pattern recognition for a muon chamber.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< bool > m_printSummary
Out copy_if(In first, const In &last, Out res, const Pred &p)
iterator insert(iterator position, value_type pElem)
Add a new element to the collection.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Template to hold collections of MuonPrepRawData objects.
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
std::vector< ROTRegion > ROTsPerRegion
virtual StatusCode sysInitialize() override
Override sysInitialize.
ToolHandle< Muon::IMuonSegmentMaker > m_segmentMaker
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void createNSWSegments(const EventContext &ctx, const Muon::MuonPatternCombination *patt, NSWSegmentCache &cache) const
ToolHandle< ICscSegmentFinder > m_csc2dSegmentFinder
ToolHandle< Muon::IMuonSegmentOverlapRemovalTool > m_segmentOverlapRemovalTool
#define ATH_MSG_WARNING(x)
std::vector< std::unique_ptr< MuonSegment > > SegmentVec
SG::WriteHandleKey< Trk::SegmentCollection > m_segmentNSWCollectionKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Class representing clusters in the muon system.
The MuonPatternCombination class provides the means to store the output of the initial global pattern...
SG::ReadHandleKey< MuonPatternCombinationCollection > m_patternCollKey
StatusCode createCscSegments(const EventContext &ctx, std::unique_ptr< MuonSegmentCombinationCollection > &csc4dSegmentCombinations) const
Retrieve the raw outputs from the Csc segment makers for the curved combination.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
ToolHandle< Muon::IMuonNSWSegmentFinderTool > m_clusterSegMakerNSW
Muon::IMuonNSWSegmentFinderTool::SegmentMakingCache NSWSegmentCache
Base class for Muon cluster RIO_OnTracks.
Gaudi::Property< bool > m_runMdtSegments
Run the Mdt segment maker (Switched of the NCB systems)