CMS 3D CMS Logo

Functions
MuonSeedCleaner.cc File Reference
#include <RecoMuon/MuonSeedGenerator/src/MuonSeedCleaner.h>
#include <DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h>
#include <DataFormats/TrajectorySeed/interface/TrajectorySeed.h>
#include <DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h>
#include <DataFormats/CSCRecHit/interface/CSCRecHit2D.h>
#include <DataFormats/CSCRecHit/interface/CSCSegmentCollection.h>
#include <DataFormats/CSCRecHit/interface/CSCSegment.h>
#include <DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h>
#include <DataFormats/DTRecHit/interface/DTRecSegment4D.h>
#include <Geometry/CommonDetUnit/interface/GeomDet.h>
#include <TrackingTools/DetLayers/interface/DetLayer.h>
#include <RecoMuon/MeasurementDet/interface/MuonDetLayerMeasurements.h>
#include <RecoMuon/DetLayers/interface/MuonDetLayerGeometry.h>
#include <RecoMuon/Records/interface/MuonRecoGeometryRecord.h>
#include <TrackingTools/TrajectoryState/interface/TrajectoryStateTransform.h>
#include <DataFormats/TrajectoryState/interface/PTrajectoryStateOnDet.h>
#include <FWCore/ParameterSet/interface/ParameterSet.h>
#include "FWCore/Framework/interface/Event.h"
#include <FWCore/Framework/interface/ESHandle.h>
#include <FWCore/MessageLogger/interface/MessageLogger.h>
#include <DataFormats/Common/interface/Handle.h>
#include <vector>
#include <deque>
#include <utility>

Go to the source code of this file.

Functions

static bool lengthSorting (const TrajectorySeed &s1, const TrajectorySeed &s2)
 

Function Documentation

◆ lengthSorting()

static bool lengthSorting ( const TrajectorySeed s1,
const TrajectorySeed s2 
)
static

See header file for a description of this class.

Author
Shih-Chuan Kao, Dominique Fortin - UCR

Definition at line 44 of file MuonSeedCleaner.cc.

References TrajectorySeed::nHits().

Referenced by MuonSeedCleaner::GroupSeeds().

44 { return (s1.nHits() > s2.nHits()); }
unsigned int nHits() const