#include <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 |
Description: An auxiliary class to store a muon trajetory matching to chambers. 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] |
Definition at line 24 of file TAMuonChamberMatch.h.
{ return id.subdetId(); }
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().
{ int muonSubdetId = id.subdetId(); std::ostringstream oss; if(muonSubdetId==1) {//DT DTChamberId segId(id.rawId()); oss << "DT chamber (wheel, station, sector): " << segId.wheel() << ", " << segId.station() << ", " << segId.sector(); } if(muonSubdetId==2) {//CSC CSCDetId segId(id.rawId()); oss << "CSC chamber (endcap, station, ring, chamber, layer): " << segId.endcap() << ", " << segId.station() << ", " << segId.ring() << ", " << segId.chamber() << ", " << segId.layer(); } if(muonSubdetId==3) {//RPC // RPCDetId segId(id.rawId()); oss << "RPC chamber"; } return oss.str(); }
int TAMuonChamberMatch::station | ( | ) | const |
Definition at line 7 of file TAMuonChamberMatch.cc.
References RPCDetId::station(), CSCDetId::station(), and DTChamberId::station().
{ int muonSubdetId = id.subdetId(); if(muonSubdetId==1) {//DT DTChamberId segId(id.rawId()); return segId.station(); } if(muonSubdetId==2) {//CSC CSCDetId segId(id.rawId()); return segId.station(); } if(muonSubdetId==3) {//RPC RPCDetId segId(id.rawId()); return segId.station(); } return -1; }
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().