![]() |
ATLAS Offline Software
|
#include <MuonInsideOutRecoTool.h>
Public Member Functions | |
| MuonInsideOutRecoTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Default AlgTool functions. | |
| virtual | ~MuonInsideOutRecoTool ()=default |
| virtual StatusCode | initialize () override |
| virtual void | extendWithPRDs (const InDetCandidateCollection &inDetCandidates, InDetCandidateToTagMap *tagMap, IMuonCombinedInDetExtensionTool::MuonPrdData prdData, TrackCollection *combTracks, TrackCollection *meTracks, Trk::SegmentCollection *segments, const EventContext &ctx) const override |
| IMuonCombinedInDetExtensionTool interface: extend ID candidate with PRDs for segment-finding. | |
| virtual void | extend (const InDetCandidateCollection &inDetCandidates, InDetCandidateToTagMap *tagMap, TrackCollection *combTracks, TrackCollection *meTracks, Trk::SegmentCollection *segments, const EventContext &ctx) const override |
| IMuonCombinedInDetExtensionTool interface: deprecated. | |
| std::pair< std::unique_ptr< const Muon::MuonCandidate >, std::unique_ptr< Trk::Track > > | findBestCandidate (const EventContext &ctx, const xAOD::TrackParticle &indetTrackParticle, const std::vector< Muon::MuonLayerRecoData > &allLayers) const |
| find the best candidate for a given set of segments | |
| 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 | sysInitialize () override |
| Perform system initialization for an algorithm. | |
| 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 |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| access to tool interface | |
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 | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| void | handleCandidate (const InDetCandidate &inDetCandidate, InDetCandidateToTagMap *tagMap, const IMuonCombinedInDetExtensionTool::MuonPrdData &prdData, TrackCollection *combTracks, TrackCollection *meTracks, Trk::SegmentCollection *segColl, std::vector< std::shared_ptr< const Muon::MuonSegment > > segments, const EventContext &ctx) const |
| handle a single candidate | |
| void | addTag (const EventContext &ctx, const InDetCandidate &indetCandidate, InDetCandidateToTagMap *tagMap, const Muon::MuonCandidate &candidate, std::unique_ptr< Trk::Track > &selectedTrack, TrackCollection *combTracks, TrackCollection *meTracks, Trk::SegmentCollection *segments) const |
| add muon candidate to indet candidate | |
| bool | getLayerData (const Muon::MuonLayerSurface &surf, Muon::MuonLayerPrepRawData &layerPrepRawData, IMuonCombinedInDetExtensionTool::MuonPrdData prdData) const |
| access data in layer | |
| template<class COL> | |
| bool | getLayerDataTech (Muon::MuonStationIndex::TechnologyIndex technology, const Muon::MuonLayerSurface &surf, const Muon::MuonPrepDataContainerT< COL > *input, std::vector< const Muon::MuonPrepDataCollection< COL > * > &output) const |
| access data in layer for a given technology | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Definition at line 45 of file MuonInsideOutRecoTool.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| MuonCombined::MuonInsideOutRecoTool::MuonInsideOutRecoTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Default AlgTool functions.
Definition at line 17 of file MuonInsideOutRecoTool.cxx.
|
virtualdefault |
|
private |
add muon candidate to indet candidate
Sort the segments here; note the lifetime of 'copy' is still valid here as it exists inside 'segments'
Sort the CSC segments at the first giving priority to the small sectors
Definition at line 210 of file MuonInsideOutRecoTool.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
IMuonCombinedInDetExtensionTool interface: deprecated.
Implements MuonCombined::IMuonCombinedInDetExtensionTool.
Definition at line 41 of file MuonInsideOutRecoTool.cxx.
|
overridevirtual |
IMuonCombinedInDetExtensionTool interface: extend ID candidate with PRDs for segment-finding.
Implements MuonCombined::IMuonCombinedInDetExtensionTool.
Definition at line 49 of file MuonInsideOutRecoTool.cxx.
|
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
| std::pair< std::unique_ptr< const Muon::MuonCandidate >, std::unique_ptr< Trk::Track > > MuonCombined::MuonInsideOutRecoTool::findBestCandidate | ( | const EventContext & | ctx, |
| const xAOD::TrackParticle & | indetTrackParticle, | ||
| const std::vector< Muon::MuonLayerRecoData > & | allLayers ) const |
find the best candidate for a given set of segments
Check if the fit succeeded and whether there are TSOS & a fitQuality
Definition at line 151 of file MuonInsideOutRecoTool.cxx.
|
private |
access data in layer
Definition at line 304 of file MuonInsideOutRecoTool.cxx.
|
private |
access data in layer for a given technology
Definition at line 362 of file MuonInsideOutRecoTool.cxx.
|
private |
handle a single candidate
Definition at line 70 of file MuonInsideOutRecoTool.cxx.
|
overridevirtual |
Definition at line 23 of file MuonInsideOutRecoTool.cxx.
|
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.
|
inlinestatic |
access to tool interface
Definition at line 53 of file MuonInsideOutRecoTool.h.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
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.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Perform system initialization for an algorithm.
We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.
Reimplemented in asg::AsgMetadataTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and DerivationFramework::CfAthAlgTool.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Definition at line 98 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 100 of file MuonInsideOutRecoTool.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Definition at line 91 of file MuonInsideOutRecoTool.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
private |
Definition at line 90 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 111 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 112 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 117 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 106 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 93 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 109 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 94 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 96 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 104 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 102 of file MuonInsideOutRecoTool.h.
|
private |
Definition at line 108 of file MuonInsideOutRecoTool.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
private |
Definition at line 115 of file MuonInsideOutRecoTool.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.