src
Calibration
IsolatedParticles
interface
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
7
#include "
DataFormats/Math/interface/Point3D.h
"
8
#include "
DataFormats/TrackReco/interface/Track.h
"
9
10
namespace
spr
{
11
12
struct
trackSelectionParameters
{
13
trackSelectionParameters
() {
14
minPt
= 0;
15
minQuality
=
reco::TrackBase::highPurity
;
16
maxDxyPV
=
maxDzPV
= 999999.;
17
maxChi2
=
maxDpOverP
= 99999999.,
minOuterHit
=
minLayerCrossed
= 0;
18
maxInMiss
=
maxOutMiss
= -1;
19
}
20
double
minPt
;
21
reco::TrackBase::TrackQuality
minQuality
;
22
double
maxDxyPV
,
maxDzPV
,
maxChi2
,
maxDpOverP
;
23
int
minOuterHit
,
minLayerCrossed
;
24
int
maxInMiss
,
maxOutMiss
;
25
};
26
27
bool
goodTrack
(
const
reco::Track
* pTrack,
28
math::XYZPoint
leadPV,
29
trackSelectionParameters
parameters
,
30
bool
debug
=
false
);
31
32
}
// namespace spr
33
#endif
reco::TrackBase::highPurity
Definition:
TrackBase.h:154
spr::trackSelectionParameters::maxOutMiss
int maxOutMiss
Definition:
TrackSelection.h:24
spr::trackSelectionParameters::minOuterHit
int minOuterHit
Definition:
TrackSelection.h:23
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition:
TrackBase.h:150
spr::trackSelectionParameters::maxInMiss
int maxInMiss
Definition:
TrackSelection.h:24
Point3D.h
spr::trackSelectionParameters::trackSelectionParameters
trackSelectionParameters()
Definition:
TrackSelection.h:13
beamSpotPI::parameters
parameters
Definition:
BeamSpotPayloadInspectorHelper.h:35
spr::goodTrack
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Definition:
TrackSelection.cc:9
spr::trackSelectionParameters::maxDxyPV
double maxDxyPV
Definition:
TrackSelection.h:22
spr::trackSelectionParameters::maxChi2
double maxChi2
Definition:
TrackSelection.h:22
debug
#define debug
Definition:
HDRShower.cc:19
math::XYZPoint
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition:
Point3D.h:12
spr::trackSelectionParameters
Definition:
TrackSelection.h:12
spr::trackSelectionParameters::minLayerCrossed
int minLayerCrossed
Definition:
TrackSelection.h:23
reco::Track
Definition:
Track.h:27
spr
Definition:
CaloConstants.h:6
spr::trackSelectionParameters::minQuality
reco::TrackBase::TrackQuality minQuality
Definition:
TrackSelection.h:21
spr::trackSelectionParameters::maxDpOverP
double maxDpOverP
Definition:
TrackSelection.h:22
Track.h
spr::trackSelectionParameters::minPt
double minPt
Definition:
TrackSelection.h:20
spr::trackSelectionParameters::maxDzPV
double maxDzPV
Definition:
TrackSelection.h:22
Generated for CMSSW Reference Manual by
1.8.14