Go to the documentation of this file. 1 #ifndef Validation_DTRecHits_DTHitQualityUtils_h
2 #define Validation_DTRecHits_DTHitQualityUtils_h
32 const std::map<DTWireId, edm::PSimHitContainer> &simHitWireMap);
38 const std::map<DTWireId, const PSimHit *> &mapWireAndMuSimHit);
42 const std::pair<const PSimHit *, const PSimHit *> &inAndOutSimHit,
const DetId detId,
const DTGeometry *muonGeom);
std::map< DTWireId, const PSimHit * > mapMuSimHitsPerWire(const std::map< DTWireId, edm::PSimHitContainer > &simHitWireMap)
Create a map between the Mu SimHits and corresponding MuBarWireId ;.
std::atomic< bool > debug
std::pair< double, double > findSegmentAlphaAndBeta(const LocalVector &direction)
std::pair< const PSimHit *, const PSimHit * > findMuSimSegment(const std::map< DTWireId, const PSimHit * > &mapWireAndMuSimHit)
const PSimHit * findMuSimHit(const edm::PSimHitContainer &hits)
Select the SimHit from a muon in a vector of SimHits.
std::pair< LocalVector, LocalPoint > findMuSimSegmentDirAndPos(const std::pair< const PSimHit *, const PSimHit * > &inAndOutSimHit, const DetId detId, const DTGeometry *muonGeom)
std::map< DTWireId, edm::PSimHitContainer > mapSimHitsPerWire(const edm::PSimHitContainer &simhits)
double sigmaAngle(double Angle, double sigma2TanAngle)
std::vector< PSimHit > PSimHitContainer