30 std::vector<const Muon::MuonSegment*> (&sortedSegments)[2][4]){
35 for(; mdtseg_itr!=mdtseg_end; ++mdtseg_itr){
36 if(!(*mdtseg_itr)->muonSegment().isValid())
continue;
39 if (segm ==
nullptr) {
44 bool isMdt=
false, isEndcap=
false;
45 int nMdtMeas[4]={0,0,0,0};
60 int stationName = int(
m_idHelperSvc->mdtIdHelper().stationName(
id));
63 if((stationName==13)||(stationName==49))nMdtMeas[0]++;
64 if((stationName==14)||(stationName==15))nMdtMeas[1]++;
65 if((stationName==17)||(stationName==18))nMdtMeas[2]++;
66 if((stationName==20)||(stationName==21))nMdtMeas[3]++;
70 if(!isMdt||!isEndcap)
continue;
76 int nMDTStations=0;
int MDTStationj=-1;
77 for(
int jMDT=0;jMDT<4;jMDT++){
78 if(nMdtMeas[jMDT]!=0){
85 if((segmAC==0)&&(MDTStationj==0)&&
92 sortedSegments[segmAC][MDTStationj].push_back(segm);
Scalar eta() const
pseudorapidity method
DataModel_detail::const_iterator< DataVector > const_iterator
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
void SortMDTSegments(const xAOD::MuonSegmentContainer *m_newsegment, std::vector< const Muon::MuonSegment * >(&sortedSegments)[2][4])
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
This is the common class for 3D segments used in the muon spectrometer.
const Trk::RIO_OnTrack * rioOnTrack(unsigned int) const
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
unsigned int numberOfContainedROTs() const
number of RIO_OnTracks
virtual const Amg::Vector3D & globalPosition() const override final
global position
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
Identifier identify() const
return the identifier -extends MeasurementBase
MuonSegmentContainer_v1 MuonSegmentContainer
Definition of the current "MuonSegment container version".