![]() |
ATLAS Offline Software
|
segment candidate object. More...
#include <MuPatSegment.h>
Public Types | |
| using | ChIdx = MuonStationIndex::ChIndex |
| using | StIdx = MuonStationIndex::StIndex |
| using | MeasVec = std::vector<const Trk::MeasurementBase*> |
Public Member Functions | |
| MuPatSegment ()=default | |
| ~MuPatSegment ()=default | |
| const Trk::TrackParameters & | entryPars () const |
| returns first track parameters | |
| void | addTrack (MuPatTrack *) |
| add a new track to the segment | |
| void | removeTrack (MuPatTrack *) |
| remove a track from the segment | |
| const std::set< MuPatTrack * > & | tracks () const |
| access to the tracks the segment is associated with | |
| const MeasVec & | etaHits () const |
| return all eta hits on the entry | |
| const MeasVec & | phiHits () const |
| return all phi hits on the entry | |
| const MeasVec & | fakePhiHits () const |
| return all fake phi hits on the entry | |
| const MeasVec & | hits () const |
| return all hits on the entry. | |
| bool | hasSmallChamber () const |
| returns whether entry contains a small chamber | |
| bool | hasLargeChamber () const |
| returns whether entry contains a small chamber | |
| bool | hasSLOverlap () const |
| returns whether there is at least one small/large overlap in the same station layer | |
| bool | hasEndcap () const |
| returns whether the entry contains endcap hits | |
| void | hasEndcap (bool hasEC) |
| set whether entry has endcap hits | |
| bool | hasMomentum () const |
| returns whether entry has a momentum measurement | |
| const std::set< MuonStationIndex::StIndex > & | stations () const |
| returns set with contained stationIndices | |
| const std::set< MuonStationIndex::ChIndex > & | chambers () const |
| returns set with contained chamberIndices | |
| bool | containsChamber (MuonStationIndex::ChIndex chIndex) const |
| returns whether the ChamberIndex is already contained in candidate | |
| bool | containsStation (MuonStationIndex::StIndex chIndex) const |
| returns whether the StationIndex is already contained in candidate | |
| const MuPatHitList & | hitList () const |
| returns a reference to the hit list | |
| const std::set< Identifier > & | chamberIds () const |
| returns set with contained chamber ids | |
| bool | shareChambers (const MuPatCandidateBase &entry) const |
| checks whether the two entries contain the same chamber | |
| const Trk::MeasurementBase * | addToTrash (std::unique_ptr< const Trk::MeasurementBase > meas) |
| adds the measurement to the garbage container. | |
| void | addToTrash (const std::vector< std::shared_ptr< const Trk::MeasurementBase > > &measurements) |
| const std::vector< std::shared_ptr< const Trk::MeasurementBase > > & | garbage () const |
Static Public Member Functions | |
| static std::size_t | numberOfInstantiations () |
Public Attributes | |
| int | quality {0} |
| const MuonSegmentQuality * | segQuality {nullptr} |
| const MuonSegment * | segment {nullptr} |
| std::shared_ptr< const Trk::AtaPlane > | segPars {nullptr} |
| int | segmentIndex {-1} |
| index of segment within station | |
| int | usedInFit {0} |
| Identifier | chid {0} |
| std::string | name {} |
| ChIdx | chIndex {ChIdx::ChUnknown} |
| StIdx | stIndex {StIdx::StUnknown} |
| bool | isEndcap {false} |
| bool | isMdt {false} |
| true for MDT, false for CSC | |
| unsigned int | nmdtHitsMl1 {0} |
| public hit counters | |
| unsigned int | nmdtHitsMl2 {0} |
| unsigned int | ncscHitsEta {0} |
| unsigned int | ncscHitsPhi {0} |
| unsigned int | nrpcHitsEta {0} |
| unsigned int | nrpcHitsPhi {0} |
| unsigned int | ntgcHitsEta {0} |
| unsigned int | ntgcHitsPhi {0} |
Static Public Attributes | |
| static std::atomic_size_t | s_numberOfInstantiations |
Protected Member Functions | |
| void | hasSmallChamber (bool hasSmall) |
| set whether entry has small chamber | |
| void | hasLargeChamber (bool hasLarge) |
| set whether entry has large chamber | |
| void | hasSLOverlap (bool hasSL) |
| set whether entry has at least one small/large overlap in the same station layer | |
| MuPatHitList & | hitList () |
| returns a reference to the hit list | |
| std::set< Identifier > & | chamberIds () |
| returns set with contained chamber ids | |
| void | setEtaHits (const MeasVec &hits) |
| set eta hits on the entry | |
| void | setPhiHits (const MeasVec &hits) |
| set phi hits on the entry | |
| void | setFakePhiHits (const MeasVec &hits) |
| set fake phi hits on the entry | |
| void | setAllHits (const MeasVec &hits) |
| set all hits on the entry | |
| void | clearChambers () |
| clear the list of contained chambers. | |
| void | addChamber (MuonStationIndex::ChIndex chIndex) |
| add the chamber to the list of contained chambers. | |
| void | setChambers (const std::set< MuonStationIndex::ChIndex > &chambers) |
| Set the list of chambers and update list of stations. | |
Protected Attributes | |
| std::set< MuonStationIndex::ChIndex > | m_chambers |
| std::set< MuonStationIndex::StIndex > | m_stations |
| bool | m_hasMomentum {false} |
Private Attributes | |
| std::set< MuPatTrack * > | m_associatedTracks |
| MeasVec | m_etaHits |
| MeasVec | m_phiHits |
| MeasVec | m_fakePhiHits |
| MeasVec | m_allHits |
| MuPatHitList | m_hitList |
| std::set< Identifier > | m_chamberIds |
| bool | m_hasEndcap {false} |
| bool | m_hasSmallChamber {false} |
| bool | m_hasLargeChamber {false} |
| bool | m_hasSLOverlap {false} |
| std::vector< std::shared_ptr< const Trk::MeasurementBase > > | m_garbage {} |
segment candidate object.
The purpose of the segment candidate is three folded:
The following information is cached:
Definition at line 43 of file MuPatSegment.h.
Definition at line 45 of file MuPatSegment.h.
|
inherited |
Definition at line 50 of file MuPatCandidateBase.h.
Definition at line 46 of file MuPatSegment.h.
|
default |
|
default |
|
protectedinherited |
add the chamber to the list of contained chambers.
Will also add the corresponding station.
Definition at line 38 of file MuPatCandidateBase.cxx.
|
inherited |
Definition at line 97 of file MuPatCandidateBase.cxx.
|
inherited |
adds the measurement to the garbage container.
Definition at line 92 of file MuPatCandidateBase.cxx.
| void Muon::MuPatSegment::addTrack | ( | MuPatTrack * | track | ) |
add a new track to the segment
Definition at line 10 of file MuPatSegment.cxx.
|
protectedinherited |
returns set with contained chamber ids
Definition at line 36 of file MuPatCandidateBase.cxx.
|
inherited |
|
inherited |
|
protectedinherited |
clear the list of contained chambers.
Will also clear the list of contained stations and list of chamber Ids.
Definition at line 83 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether the ChamberIndex is already contained in candidate
Definition at line 75 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether the StationIndex is already contained in candidate
Definition at line 79 of file MuPatCandidateBase.cxx.
|
inlinevirtual |
returns first track parameters
Implements Muon::MuPatCandidateBase.
Definition at line 84 of file MuPatSegment.h.
|
inherited |
return all eta hits on the entry
|
inherited |
|
inherited |
Definition at line 103 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether the entry contains endcap hits
Definition at line 71 of file MuPatCandidateBase.cxx.
|
inherited |
set whether entry has endcap hits
Definition at line 73 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether entry contains a small chamber
Definition at line 45 of file MuPatCandidateBase.cxx.
|
protectedinherited |
set whether entry has large chamber
Definition at line 51 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether entry has a momentum measurement
Definition at line 89 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether there is at least one small/large overlap in the same station layer
Definition at line 47 of file MuPatCandidateBase.cxx.
|
protectedinherited |
set whether entry has at least one small/large overlap in the same station layer
Definition at line 53 of file MuPatCandidateBase.cxx.
|
inherited |
returns whether entry contains a small chamber
Definition at line 43 of file MuPatCandidateBase.cxx.
|
protectedinherited |
set whether entry has small chamber
Definition at line 49 of file MuPatCandidateBase.cxx.
|
inlineprotectedinherited |
|
inlineinherited |
|
inherited |
return all hits on the entry.
(Does not including the fake phi hits)
Definition at line 61 of file MuPatCandidateBase.cxx.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
inherited |
| void Muon::MuPatSegment::removeTrack | ( | MuPatTrack * | track | ) |
remove a track from the segment
Definition at line 13 of file MuPatSegment.cxx.
|
protectedinherited |
set all hits on the entry
Definition at line 69 of file MuPatCandidateBase.cxx.
|
protectedinherited |
Set the list of chambers and update list of stations.
Definition at line 14 of file MuPatCandidateBase.cxx.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
set phi hits on the entry
Definition at line 65 of file MuPatCandidateBase.cxx.
|
inherited |
checks whether the two entries contain the same chamber
Definition at line 20 of file MuPatCandidateBase.cxx.
|
inherited |
|
inline |
| Identifier Muon::MuPatSegment::chid {0} |
Definition at line 57 of file MuPatSegment.h.
| ChIdx Muon::MuPatSegment::chIndex {ChIdx::ChUnknown} |
Definition at line 59 of file MuPatSegment.h.
| bool Muon::MuPatSegment::isEndcap {false} |
Definition at line 61 of file MuPatSegment.h.
| bool Muon::MuPatSegment::isMdt {false} |
|
privateinherited |
Definition at line 163 of file MuPatCandidateBase.h.
|
private |
Definition at line 77 of file MuPatSegment.h.
|
privateinherited |
Definition at line 167 of file MuPatCandidateBase.h.
|
protectedinherited |
Definition at line 170 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 160 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 162 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 191 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 186 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 188 of file MuPatCandidateBase.h.
|
protectedinherited |
Definition at line 172 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 189 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 187 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 165 of file MuPatCandidateBase.h.
|
privateinherited |
Definition at line 161 of file MuPatCandidateBase.h.
|
protectedinherited |
Definition at line 171 of file MuPatCandidateBase.h.
| std::string Muon::MuPatSegment::name {} |
Definition at line 58 of file MuPatSegment.h.
|
inherited |
Definition at line 178 of file MuPatCandidateBase.h.
|
inherited |
Definition at line 179 of file MuPatCandidateBase.h.
|
inherited |
|
inherited |
Definition at line 177 of file MuPatCandidateBase.h.
|
inherited |
Definition at line 180 of file MuPatCandidateBase.h.
|
inherited |
Definition at line 181 of file MuPatCandidateBase.h.
|
inherited |
Definition at line 182 of file MuPatCandidateBase.h.
|
inherited |
Definition at line 183 of file MuPatCandidateBase.h.
| int Muon::MuPatSegment::quality {0} |
Definition at line 51 of file MuPatSegment.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.
| const MuonSegment* Muon::MuPatSegment::segment {nullptr} |
Definition at line 53 of file MuPatSegment.h.
| int Muon::MuPatSegment::segmentIndex {-1} |
| std::shared_ptr<const Trk::AtaPlane> Muon::MuPatSegment::segPars {nullptr} |
Definition at line 54 of file MuPatSegment.h.
| const MuonSegmentQuality* Muon::MuPatSegment::segQuality {nullptr} |
Definition at line 52 of file MuPatSegment.h.
| StIdx Muon::MuPatSegment::stIndex {StIdx::StUnknown} |
Definition at line 60 of file MuPatSegment.h.
| int Muon::MuPatSegment::usedInFit {0} |
Definition at line 56 of file MuPatSegment.h.