Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <MuonSegmentFinderAlg.h>
|
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 |
|
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()
virtual MuonSegmentFinderAlg::~MuonSegmentFinderAlg |
( |
| ) |
|
|
virtualdefault |
◆ appendSegmentsFromCombi()
Push back the output containers
Definition at line 132 of file MuonSegmentFinderAlg.cxx.
134 if (!combi_coll)
return;
141 const unsigned int nstations = combi->numberOfStations();
142 const bool useEta = combi->useStripsInSegment(1);
143 const bool usePhi = combi->useStripsInSegment(0);
146 for (
unsigned int i = 0;
i < nstations; ++
i) {
150 if (!segments || segments->empty())
continue;
152 for (std::unique_ptr<Muon::MuonSegment>& seg : *segments) {
155 segmentContainer->push_back(std::move(seg));
◆ cardinality()
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.
◆ createCscSegments()
Retrieve the raw outputs from the Csc segment makers for the curved combination.
Definition at line 115 of file MuonSegmentFinderAlg.cxx.
120 if (!cscPrds)
return StatusCode::SUCCESS;
122 std::vector<const Muon::CscPrepDataCollection*> cscCols;
124 ATH_MSG_DEBUG(
"Retrieved CscPrepDataContainer " << cscCols.size());
125 if (cscCols.empty())
return StatusCode::SUCCESS;
126 std::unique_ptr<MuonSegmentCombinationCollection> csc2dSegmentCombinations =
m_csc2dSegmentFinder->find(cscCols, ctx);
127 if (!csc2dSegmentCombinations)
return StatusCode::SUCCESS;
130 return StatusCode::SUCCESS;
◆ createNSWSegments()
Constrain to NSW hits
Definition at line 161 of file MuonSegmentFinderAlg.cxx.
166 std::map<int, std::vector<std::unique_ptr<const Muon::MuonClusterOnTrack>> > clustersPerSector;
170 if (
it.prepRawDataVec().empty())
continue;
172 const Identifier id =
it.prepRawDataVec().front()->identify();
183 if (!newCluster)
continue;
184 std::vector<std::unique_ptr<const Muon::MuonClusterOnTrack>>&
clusters = clustersPerSector[sector];
188 for (
auto&[sector,
clusters] :clustersPerSector) {
190 cache.inputClust = std::move(
clusters);
◆ createSegmentsWithMDTs()
Definition at line 195 of file MuonSegmentFinderAlg.cxx.
200 ATH_MSG_DEBUG(
"Do not search segments in the Mdt part of the muon spectrometer");
201 return StatusCode::SUCCESS;
209 for (
const ROTRegion& region : hitsPerRegion) {
210 for (
const MdtVec& mdts : region.mdts()) {
211 if (mdts.empty())
continue;
216 std::vector<const Trk::MeasurementBase*> meas {};
217 meas.insert(meas.end(), mdts.begin(), mdts.end());
218 meas.insert(meas.end(), region.clusters().begin(), region.clusters().end());
221 <<
" nMdts: "<<mdts.size()<<
" nClusters "<<region.clusters().size()
225 m_segmentMaker->find(region.regionPos, region.regionDir, mdts, region.clusters(), hasPhiMeasurements, segs,
226 region.regionDir.mag());
228 std::vector<const Trk::RIO_OnTrack*> rios;
229 rios.insert(rios.begin(), mdts.begin(), mdts.end());
234 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 47 of file MuonSegmentFinderAlg.cxx.
52 std::unique_ptr<Trk::SegmentCollection> segmentContainer = std::make_unique<Trk::SegmentCollection>();
53 std::unique_ptr<Trk::SegmentCollection> nswSegmentContainer = !
m_segmentNSWCollectionKey.empty() ? std::make_unique<Trk::SegmentCollection>()
59 ATH_MSG_DEBUG(
"Processing the pattern collections with " << patternColl->size() <<
" Collections ");
71 segmentContainer->
insert(segmentContainer->
end(), std::make_move_iterator(nswCache.constructedSegs.begin()),
72 std::make_move_iterator(nswCache.constructedSegs.end()));
74 nswCache.constructedSegs.clear();
76 if (!nswSegmentContainer)
continue;
77 nswSegmentContainer->
insert(nswSegmentContainer->
end(), std::make_move_iterator(nswCache.quadSegs.begin()),
78 std::make_move_iterator(nswCache.quadSegs.end()));
79 nswCache.quadSegs.clear();
85 std::unique_ptr<MuonSegmentCombinationCollection> csc4dSegmentCombinations{};
105 ATH_CHECK(handle.record(std::move(segmentContainer)));
110 ATH_CHECK(handle_segNSW.record(std::move(nswSegmentContainer)));
112 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.
◆ filterPassed()
◆ initialize()
StatusCode MuonSegmentFinderAlg::initialize |
( |
| ) |
|
|
overridevirtual |
MDT segments
Initialize the alignment container in the NSW
Definition at line 23 of file MuonSegmentFinderAlg.cxx.
44 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
◆ sysExecute()
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.
◆ sysInitialize()
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.
110 if (
sc.isFailure()) {
118 if ( cs.retrieve().isFailure() ) {
120 return StatusCode::SUCCESS;
122 if (cs->regHandle(
this,*
h).isFailure()) {
123 sc = StatusCode::FAILURE;
124 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_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
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_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 ...
virtual void setOwner(IDataHandleHolder *o)=0
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
virtual const DataObjIDColl & extraOutputDeps() const override
Return the list of extra output dependencies.
Gaudi::Property< bool > m_doSTgcSegments
Run the NSW segment maker.
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
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.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
This class holds information needed for the Moore and MoMu pattern recognition for a muon chamber.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode sysExecute(const EventContext &ctx) override
Execute an algorithm.
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.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
std::vector< ROTRegion > ROTsPerRegion
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.
virtual StatusCode sysInitialize() override
Override sysInitialize.
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.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
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)