#include <MuonMesh.h>
Public Member Functions | |
void | clearMesh () |
bool | isClusteredWith (const std::pair< CSCDetId, CSCSegmentRef > &lhs, const std::pair< CSCDetId, CSCSegmentRef > &rhs) const |
bool | isDuplicateOf (const CSCSegmentRef &lhs, const CSCSegmentRef &rhs) const |
bool | isDuplicateOf (const std::pair< CSCDetId, CSCSegmentRef > &rhs, const std::pair< CSCDetId, CSCSegmentRef > &lhs) const |
MuonMesh (const edm::ParameterSet &) | |
void | runMesh (std::vector< reco::Muon > *p) |
void | setCSCGeometry (const CSCGeometry *pg) |
Private Types | |
typedef std::vector< std::pair< reco::Muon *, std::pair< reco::MuonChamberMatch *, reco::MuonSegmentMatch * > > > | AssociationType |
typedef std::map< reco::Muon *, std::vector< std::pair< reco::Muon *, std::pair< reco::MuonChamberMatch *, reco::MuonSegmentMatch * > > > > | MeshType |
Private Member Functions | |
void | fillMesh (std::vector< reco::Muon > *) |
void | pruneMesh () |
bool | withinTwoSigma (const std::pair< CSCDetId, CSCSegmentRef > &rhs, const std::pair< CSCDetId, CSCSegmentRef > &lhs) const |
Private Attributes | |
const double | ClusterDPhi |
const double | ClusterDTheta |
const bool | doClustering |
const bool | doME1a |
const bool | doOverlaps |
const CSCGeometry * | geometry_ |
MeshType | mesh_ |
const double | OverlapDPhi |
const double | OverlapDTheta |
Definition at line 17 of file MuonMesh.h.
|
private |
Definition at line 33 of file MuonMesh.h.
|
private |
Definition at line 26 of file MuonMesh.h.
MuonMesh::MuonMesh | ( | const edm::ParameterSet & | parm | ) |
Definition at line 9 of file MuonMesh.cc.
|
inline |
Definition at line 41 of file MuonMesh.h.
References mesh_.
Referenced by MuonIdProducer::fillArbitrationInfo().
|
private |
Definition at line 18 of file MuonMesh.cc.
References begin, reco::MuonSegmentMatch::BelongsToTrackByCleaning, MuonSubdetId::CSC, doClustering, doME1a, doOverlaps, MuonSubdetId::DT, end, spr::find(), mps_fire::i, isClusteredWith(), isDuplicateOf(), mesh_, and CSCDetId::ring().
Referenced by runMesh(), and setCSCGeometry().
bool MuonMesh::isClusteredWith | ( | const std::pair< CSCDetId, CSCSegmentRef > & | lhs, |
const std::pair< CSCDetId, CSCSegmentRef > & | rhs | ||
) | const |
Definition at line 482 of file MuonMesh.cc.
References CSCGeometry::chamber(), ClusterDPhi, ClusterDTheta, geometry_, M_PI, phi, hitfit::phidiff(), mps_fire::result, theta(), and GeomDet::toGlobal().
Referenced by fillMesh(), pruneMesh(), and setCSCGeometry().
bool MuonMesh::isDuplicateOf | ( | const CSCSegmentRef & | lhs, |
const CSCSegmentRef & | rhs | ||
) | const |
Definition at line 342 of file MuonMesh.cc.
References mps_fire::result.
Referenced by MuonIdProducer::fillArbitrationInfo(), fillMesh(), pruneMesh(), and setCSCGeometry().
bool MuonMesh::isDuplicateOf | ( | const std::pair< CSCDetId, CSCSegmentRef > & | rhs, |
const std::pair< CSCDetId, CSCSegmentRef > & | lhs | ||
) | const |
Definition at line 389 of file MuonMesh.cc.
References CSCGeometry::chamber(), geometry_, M_PI, OverlapDPhi, OverlapDTheta, phi, hitfit::phidiff(), mps_fire::result, theta(), GeomDet::toGlobal(), and z.
|
private |
Definition at line 175 of file MuonMesh.cc.
References reco::MuonSegmentMatch::BelongsToTrackByCleaning, reco::MuonSegmentMatch::BelongsToTrackByClusClean, reco::MuonSegmentMatch::BelongsToTrackByOvlClean, doClustering, doME1a, doOverlaps, mps_fire::i, isClusteredWith(), isDuplicateOf(), mesh_, and CSCDetId::ring().
Referenced by runMesh(), and setCSCGeometry().
|
inline |
Definition at line 39 of file MuonMesh.h.
References fillMesh(), and pruneMesh().
Referenced by MuonIdProducer::fillArbitrationInfo().
|
inline |
Definition at line 43 of file MuonMesh.h.
References fillMesh(), geometry_, isClusteredWith(), isDuplicateOf(), and pruneMesh().
Referenced by MuonIdProducer::beginRun().
|
inlineprivate |
Definition at line 60 of file MuonMesh.h.
|
private |
Definition at line 75 of file MuonMesh.h.
Referenced by isClusteredWith().
|
private |
Definition at line 75 of file MuonMesh.h.
Referenced by isClusteredWith().
|
private |
Definition at line 73 of file MuonMesh.h.
Referenced by fillMesh(), and pruneMesh().
|
private |
Definition at line 73 of file MuonMesh.h.
Referenced by fillMesh(), and pruneMesh().
|
private |
Definition at line 73 of file MuonMesh.h.
Referenced by fillMesh(), and pruneMesh().
|
private |
Definition at line 70 of file MuonMesh.h.
Referenced by isClusteredWith(), isDuplicateOf(), and setCSCGeometry().
|
private |
Definition at line 67 of file MuonMesh.h.
Referenced by clearMesh(), fillMesh(), and pruneMesh().
|
private |
Definition at line 75 of file MuonMesh.h.
Referenced by isDuplicateOf().
|
private |
Definition at line 75 of file MuonMesh.h.
Referenced by isDuplicateOf().