|
ATLAS Offline Software
|
Go to the documentation of this file.
46 for(; mdtseg_itr!=mdtseg_end; ++mdtseg_itr){
47 if(!(*mdtseg_itr)->muonSegment().isValid())
continue;
50 if (segm ==
nullptr) {
56 int nMdtMeas[4] = {0,0,0,0};
57 bool isMdt=
false, isEndcap=
false;
76 if(!isEndcap)
continue;
80 for(
int jMDT=0;jMDT<4;jMDT++){
86 if(nStations!=1)
continue;
90 int segmAC = (segmGlobalPos.z()<0);
93 for(
int jMDT=0;jMDT<4;jMDT++){
96 float segmGlobalEta = std::abs(segmGlobalPos.eta());
97 float segmGlobalPhi = segmGlobalPos.phi();
98 if(segmGlobalPhi<0) segmGlobalPhi+=2*
M_PI;
100 m_mdt_segmmap[segmAC][jMDT]->Fill(segmGlobalPhi, segmGlobalEta);
115 tgc_itc!= tgc_itc_end;
125 int tgcStationName =
m_idHelperSvc->tgcIdHelper().stationName(tgcid);
129 float tgcGlobalPhi = tgcGlobalPos.phi();
130 if(tgcGlobalPhi<0)tgcGlobalPhi+=2*
M_PI;
133 if(tgcStationName<41 || tgcStationName>48)
continue;
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
Const iterator class for DataVector/DataList.
void maphists(const xAOD::MuonSegmentContainer *m_newsegment, const Muon::TgcPrepDataContainer *tgc_prepcontainer)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
const Trk::RIO_OnTrack * rioOnTrack(unsigned int) const
returns the RIO_OnTrack (also known as ROT) objects depending on the integer
virtual const MuonGM::TgcReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD The pointer will be zero if the det el is not ...
unsigned int numberOfContainedROTs() const
number of RIO_OnTracks
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
const_iterator end() const
return const_iterator for end of container
const_iterator begin() const
return const_iterator for first entry
Eigen::Matrix< double, 3, 1 > Vector3D
TH2 * m_mdt_segmmap[2][4]
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
std::string getStationType() const
Identifier identify() const
return the identifier -extends MeasurementBase
Class to represent TGC measurements.
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global position.
virtual const Amg::Vector3D & globalPosition() const override final
global position
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.