Functions | |
const PSimHit * | findMuSimHit (const edm::PSimHitContainer &hits) |
Select the SimHit from a muon in a vector of SimHits. More... | |
std::pair< const PSimHit *, const PSimHit * > | findMuSimSegment (const std::map< DTWireId, const PSimHit * > &mapWireAndMuSimHit) |
std::pair< LocalVector, LocalPoint > | findMuSimSegmentDirAndPos (const std::pair< const PSimHit *, const PSimHit * > &inAndOutSimHit, const DetId detId, const DTGeometry *muonGeom) |
std::pair< double, double > | findSegmentAlphaAndBeta (const LocalVector &direction) |
std::map< DTWireId, const PSimHit * > | mapMuSimHitsPerWire (const std::map< DTWireId, edm::PSimHitContainer > &simHitWireMap) |
Create a map between the Mu SimHits and corresponding MuBarWireId ;. More... | |
std::map< DTWireId, edm::PSimHitContainer > | mapSimHitsPerWire (const edm::PSimHitContainer &simhits) |
double | sigmaAngle (double Angle, double sigma2TanAngle) |
const PSimHit* DTHitQualityUtils::findMuSimHit | ( | const edm::PSimHitContainer & | hits | ) |
Select the SimHit from a muon in a vector of SimHits.
Referenced by DTRecHitQuality::compute(), GlobalRecHitsAnalyzer::compute(), and GlobalRecHitsProducer::compute().
std::pair<const PSimHit *, const PSimHit *> DTHitQualityUtils::findMuSimSegment | ( | const std::map< DTWireId, const PSimHit * > & | mapWireAndMuSimHit | ) |
Find Innermost and outermost SimHit from Mu in a SL (they identify a simulated segment)
Referenced by DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), and DTSegment4DQuality::dqmAnalyze().
std::pair<LocalVector, LocalPoint> DTHitQualityUtils::findMuSimSegmentDirAndPos | ( | const std::pair< const PSimHit *, const PSimHit * > & | inAndOutSimHit, |
const DetId | detId, | ||
const DTGeometry * | muonGeom | ||
) |
Find direction and position of a segment (in local RF) from outer and inner mu SimHit in the RF of object Det
Referenced by DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), and DTSegment4DQuality::dqmAnalyze().
std::pair<double, double> DTHitQualityUtils::findSegmentAlphaAndBeta | ( | const LocalVector & | direction | ) |
Find the angles from a segment direction: atan(dx/dz) = "phi" angle in the chamber RF atan(dy/dz) = "theta" angle in the chamber RF (note: this has opposite sign in the SLZ RF!)
Referenced by DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), and DTSegment4DQuality::dqmAnalyze().
std::map<DTWireId, const PSimHit *> DTHitQualityUtils::mapMuSimHitsPerWire | ( | const std::map< DTWireId, edm::PSimHitContainer > & | simHitWireMap | ) |
Create a map between the Mu SimHits and corresponding MuBarWireId ;.
Referenced by DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), and DTSegment4DQuality::dqmAnalyze().
std::map<DTWireId, edm::PSimHitContainer> DTHitQualityUtils::mapSimHitsPerWire | ( | const edm::PSimHitContainer & | simhits | ) |
Operations Create a map between the SimHits in a chamber and the corrisponding MuBarWireId
Referenced by DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), DTSegment4DQuality::dqmAnalyze(), DTRecHitQuality::dqmAnalyze(), GlobalRecHitsAnalyzer::fillMuon(), and GlobalRecHitsProducer::fillMuon().
double DTHitQualityUtils::sigmaAngle | ( | double | Angle, |
double | sigma2TanAngle | ||
) |
Referenced by DTSegment4DQuality::dqmAnalyze(), and HRes2DHit::fill().