![]() |
ATLAS Offline Software
|
Class to hold a set of MuonSegments belonging together. More...
#include <MuonSegmentCombination.h>
Public Types | |
| typedef std::vector< std::unique_ptr< MuonSegment > > | SegmentVec |
| typedef std::vector< std::unique_ptr< SegmentVec > > | SegmentVecVec |
Public Member Functions | |
| MuonSegmentCombination () | |
| Default constructor. | |
| MuonSegmentCombination (const MuonSegmentCombination &) | |
| Copy constructor. | |
| ~MuonSegmentCombination () | |
| Destructor. | |
| MuonSegmentCombination & | operator= (const MuonSegmentCombination &) |
| assigment operator | |
| bool | addSegments (std::unique_ptr< SegmentVec >) |
| Add a set of Segments for a give station. | |
| unsigned int | numberOfStations () const |
| Number of stations with segment. | |
| SegmentVec * | stationSegments (unsigned int index) const |
| Access to segments in a given station. | |
| unsigned int | numberOfAmbiguities () const |
| Number of ambiguities. | |
| void | setNGoodCscLayers (int nEta, int nPhi) |
| int | getNGoodCscLayers (int isEta) const |
| bool | use2LayerSegments (int isEta) const |
| bool | useStripsInSegment (int isEta) const |
Private Member Functions | |
| void | clear () |
| clear data | |
| void | copy (const MuonSegmentCombination &segc) |
| copy data | |
Private Attributes | |
| SegmentVecVec | m_segmentsPerStation |
| int | m_nGood [2] {} |
Class to hold a set of MuonSegments belonging together.
The MuonSegments are stored per chamber, making it easier to keep track of possible ambiguities per station.
Definition at line 30 of file MuonSegmentCombination.h.
| typedef std::vector< std::unique_ptr<MuonSegment> > Muon::MuonSegmentCombination::SegmentVec |
Definition at line 32 of file MuonSegmentCombination.h.
| typedef std::vector< std::unique_ptr<SegmentVec> > Muon::MuonSegmentCombination::SegmentVecVec |
Definition at line 33 of file MuonSegmentCombination.h.
Copy constructor.
Definition at line 20 of file MuonSegmentCombination.cxx.
|
inline |
Add a set of Segments for a give station.
For now no sorting but this could be changed so the segments are stored with increasing radius. Also no check is performed whether there are already segments for the given station. This is up to the user.
Definition at line 102 of file MuonSegmentCombination.h.
|
private |
clear data
Definition at line 48 of file MuonSegmentCombination.cxx.
|
private |
copy data
Definition at line 34 of file MuonSegmentCombination.cxx.
|
inline |
Definition at line 97 of file MuonSegmentCombination.h.
|
inline |
Number of ambiguities.
Definition at line 120 of file MuonSegmentCombination.h.
|
inline |
Number of stations with segment.
Definition at line 108 of file MuonSegmentCombination.h.
| MuonSegmentCombination & Muon::MuonSegmentCombination::operator= | ( | const MuonSegmentCombination & | segc | ) |
assigment operator
Definition at line 25 of file MuonSegmentCombination.cxx.
|
inline |
Definition at line 64 of file MuonSegmentCombination.h.
|
inline |
Access to segments in a given station.
Definition at line 114 of file MuonSegmentCombination.h.
|
inline |
Definition at line 86 of file MuonSegmentCombination.h.
|
inline |
Definition at line 92 of file MuonSegmentCombination.h.
|
private |
Definition at line 82 of file MuonSegmentCombination.h.
Definition at line 79 of file MuonSegmentCombination.h.