CMS 3D CMS Logo

TrackSelection.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticlesTrackSelection_h
2 #define CalibrationIsolatedParticlesTrackSelection_h
3 
4 // system include files
5 #include <cmath>
6 
9 
10 namespace spr {
11 
14  minPt = 0;
16  maxDxyPV = maxDzPV = 999999.;
17  maxChi2 = maxDpOverP = 99999999., minOuterHit = minLayerCrossed = 0;
18  maxInMiss = maxOutMiss = -1;
19  }
20  double minPt;
25  };
26 
27  bool goodTrack(const reco::Track* pTrack,
28  math::XYZPoint leadPV,
30  bool debug = false);
31 
32 } // namespace spr
33 #endif
spr::trackSelectionParameters::maxDxyPV
double maxDxyPV
Definition: TrackSelection.h:22
spr
Definition: CaloConstants.h:6
spr::trackSelectionParameters::maxDzPV
double maxDzPV
Definition: TrackSelection.h:22
spr::trackSelectionParameters::maxChi2
double maxChi2
Definition: TrackSelection.h:22
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition: TrackBase.h:150
spr::goodTrack
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Definition: TrackSelection.cc:10
parameters
parameters
Definition: BeamSpot_PayloadInspector.cc:14
debug
#define debug
Definition: HDRShower.cc:19
Track.h
reco::Track
Definition: Track.h:27
spr::trackSelectionParameters::minPt
double minPt
Definition: TrackSelection.h:20
spr::trackSelectionParameters
Definition: TrackSelection.h:12
spr::trackSelectionParameters::minOuterHit
int minOuterHit
Definition: TrackSelection.h:23
spr::trackSelectionParameters::maxDpOverP
double maxDpOverP
Definition: TrackSelection.h:22
spr::trackSelectionParameters::minLayerCrossed
int minLayerCrossed
Definition: TrackSelection.h:23
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
spr::trackSelectionParameters::maxOutMiss
int maxOutMiss
Definition: TrackSelection.h:24
spr::trackSelectionParameters::minQuality
reco::TrackBase::TrackQuality minQuality
Definition: TrackSelection.h:21
spr::trackSelectionParameters::maxInMiss
int maxInMiss
Definition: TrackSelection.h:24
Point3D.h
spr::trackSelectionParameters::trackSelectionParameters
trackSelectionParameters()
Definition: TrackSelection.h:13
reco::TrackBase::highPurity
Definition: TrackBase.h:154