8 std::vector<int>& numHitsDT,
9 std::vector<int>& numHitsCSC,
10 std::vector<int>& numHitsRPC) {
11 if (
muon.outerTrack().isNonnull()) {
20 if (muonStation >= 0 && muonStation < 4) {
22 ++numHitsDT[muonStation];
24 ++numHitsCSC[muonStation];
26 ++numHitsRPC[muonStation];
34 std::ostringstream os;
37 for (
unsigned iEntry = 0; iEntry <
numEntries; ++iEntry) {
47 std::vector<int>& numMatchesDT,
48 std::vector<int>& numMatchesCSC,
49 std::vector<int>& numMatchesRPC) {
50 const std::vector<reco::MuonChamberMatch>& muonSegments =
muon.matches();
51 for (std::vector<reco::MuonChamberMatch>::const_iterator muonSegment = muonSegments.begin();
52 muonSegment != muonSegments.end();
54 if (muonSegment->segmentMatches.empty())
56 int muonDetector = muonSegment->detector();
57 int muonStation = muonSegment->station() - 1;
58 assert(muonStation >= 0 && muonStation <= 3);
60 ++numMatchesDT[muonStation];
62 ++numMatchesCSC[muonStation];
64 ++numMatchesRPC[muonStation];