#include <TrackingTools/TrackAssociator/interface/TAMuonChamberMatch.h>
Public Member Functions | |
int | detector () const |
std::string | info () const |
int | station () const |
Public Attributes | |
DetId | id |
float | localDistanceX |
float | localDistanceY |
std::vector< TAMuonSegmentMatch > | segments |
distance sign convention: negative - crossed chamber, positive - missed chamber | |
TrajectoryStateOnSurface | tState |
It's used to store information of about crossed muon detector elements regardless of whether a segment was reconstructed or not for a given chamber.
Definition at line 20 of file TAMuonChamberMatch.h.
int TAMuonChamberMatch::detector | ( | ) | const [inline] |
std::string TAMuonChamberMatch::info | ( | void | ) | const |
Definition at line 26 of file TAMuonChamberMatch.cc.
References CSCDetId::chamber(), CSCDetId::endcap(), CSCDetId::layer(), CSCDetId::ring(), DTChamberId::sector(), DTChamberId::station(), CSCDetId::station(), and DTChamberId::wheel().
00026 { 00027 int muonSubdetId = id.subdetId(); 00028 std::ostringstream oss; 00029 00030 if(muonSubdetId==1) {//DT 00031 DTChamberId segId(id.rawId()); 00032 oss << "DT chamber (wheel, station, sector): " 00033 << segId.wheel() << ", " 00034 << segId.station() << ", " 00035 << segId.sector(); 00036 } 00037 00038 if(muonSubdetId==2) {//CSC 00039 CSCDetId segId(id.rawId()); 00040 oss << "CSC chamber (endcap, station, ring, chamber, layer): " 00041 << segId.endcap() << ", " 00042 << segId.station() << ", " 00043 << segId.ring() << ", " 00044 << segId.chamber() << ", " 00045 << segId.layer(); 00046 } 00047 if(muonSubdetId==3) {//RPC 00048 // RPCDetId segId(id.rawId()); 00049 oss << "RPC chamber"; 00050 } 00051 00052 return oss.str(); 00053 }
int TAMuonChamberMatch::station | ( | ) | const |
Definition at line 7 of file TAMuonChamberMatch.cc.
References RPCDetId::station(), DTChamberId::station(), and CSCDetId::station().
00007 { 00008 int muonSubdetId = id.subdetId(); 00009 00010 if(muonSubdetId==1) {//DT 00011 DTChamberId segId(id.rawId()); 00012 return segId.station(); 00013 } 00014 if(muonSubdetId==2) {//CSC 00015 CSCDetId segId(id.rawId()); 00016 return segId.station(); 00017 } 00018 if(muonSubdetId==3) {//RPC 00019 RPCDetId segId(id.rawId()); 00020 return segId.station(); 00021 } 00022 00023 return -1; 00024 }
Definition at line 31 of file TAMuonChamberMatch.h.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), and TrackDetectorAssociator::getTAMuonChamberMatches().
Definition at line 28 of file TAMuonChamberMatch.h.
Referenced by TrackDetectorAssociator::getTAMuonChamberMatches().
Definition at line 29 of file TAMuonChamberMatch.h.
Referenced by TrackDetectorAssociator::getTAMuonChamberMatches().
std::vector<TAMuonSegmentMatch> TAMuonChamberMatch::segments |
distance sign convention: negative - crossed chamber, positive - missed chamber
Definition at line 27 of file TAMuonChamberMatch.h.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch().
Definition at line 30 of file TAMuonChamberMatch.h.
Referenced by TrackDetectorAssociator::addTAMuonSegmentMatch(), and TrackDetectorAssociator::getTAMuonChamberMatches().