CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
MuonMesh Class Reference

#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 CSCGeometrygeometry_
 
MeshType mesh_
 
const double OverlapDPhi
 
const double OverlapDTheta
 

Detailed Description

Definition at line 17 of file MuonMesh.h.

Member Typedef Documentation

typedef std::vector<std::pair<reco::Muon*, std::pair<reco::MuonChamberMatch*, reco::MuonSegmentMatch* > > > MuonMesh::AssociationType
private

Definition at line 33 of file MuonMesh.h.

typedef std::map<reco::Muon*, std::vector<std::pair<reco::Muon*, std::pair<reco::MuonChamberMatch*, reco::MuonSegmentMatch* > > > > MuonMesh::MeshType
private

Definition at line 26 of file MuonMesh.h.

Constructor & Destructor Documentation

MuonMesh::MuonMesh ( const edm::ParameterSet parm)

Definition at line 9 of file MuonMesh.cc.

Member Function Documentation

void MuonMesh::clearMesh ( )
inline

Definition at line 41 of file MuonMesh.h.

References mesh_.

41 { mesh_.clear(); }
MeshType mesh_
Definition: MuonMesh.h:67
void MuonMesh::fillMesh ( std::vector< reco::Muon > *  inputMuons)
private

Definition at line 18 of file MuonMesh.cc.

Referenced by runMesh().

bool MuonMesh::isClusteredWith ( const std::pair< CSCDetId, CSCSegmentRef > &  lhs,
const std::pair< CSCDetId, CSCSegmentRef > &  rhs 
) const

Definition at line 482 of file MuonMesh.cc.

bool MuonMesh::isDuplicateOf ( const CSCSegmentRef lhs,
const CSCSegmentRef rhs 
) const

Definition at line 342 of file MuonMesh.cc.

bool MuonMesh::isDuplicateOf ( const std::pair< CSCDetId, CSCSegmentRef > &  rhs,
const std::pair< CSCDetId, CSCSegmentRef > &  lhs 
) const

Definition at line 389 of file MuonMesh.cc.

void MuonMesh::pruneMesh ( )
private

Definition at line 175 of file MuonMesh.cc.

Referenced by runMesh().

void MuonMesh::runMesh ( std::vector< reco::Muon > *  p)
inline

Definition at line 39 of file MuonMesh.h.

References fillMesh(), and pruneMesh().

39 {fillMesh(p); pruneMesh();}
void pruneMesh()
Definition: MuonMesh.cc:175
void fillMesh(std::vector< reco::Muon > *)
Definition: MuonMesh.cc:18
void MuonMesh::setCSCGeometry ( const CSCGeometry pg)
inline

Definition at line 43 of file MuonMesh.h.

References geometry_.

43 { geometry_ = pg; }
const CSCGeometry * geometry_
Definition: MuonMesh.h:70
bool MuonMesh::withinTwoSigma ( const std::pair< CSCDetId, CSCSegmentRef > &  rhs,
const std::pair< CSCDetId, CSCSegmentRef > &  lhs 
) const
inlineprivate

Definition at line 60 of file MuonMesh.h.

61  { return false; }

Member Data Documentation

const double MuonMesh::ClusterDPhi
private

Definition at line 75 of file MuonMesh.h.

const double MuonMesh::ClusterDTheta
private

Definition at line 75 of file MuonMesh.h.

const bool MuonMesh::doClustering
private

Definition at line 73 of file MuonMesh.h.

const bool MuonMesh::doME1a
private

Definition at line 73 of file MuonMesh.h.

const bool MuonMesh::doOverlaps
private

Definition at line 73 of file MuonMesh.h.

const CSCGeometry* MuonMesh::geometry_
private

Definition at line 70 of file MuonMesh.h.

Referenced by setCSCGeometry().

MeshType MuonMesh::mesh_
private

Definition at line 67 of file MuonMesh.h.

Referenced by clearMesh().

const double MuonMesh::OverlapDPhi
private

Definition at line 75 of file MuonMesh.h.

const double MuonMesh::OverlapDTheta
private

Definition at line 75 of file MuonMesh.h.