Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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.,
18
minOuterHit
=
minLayerCrossed
= 0;
19
maxInMiss
=
maxOutMiss
=-1;
20
}
21
double
minPt
;
22
reco::TrackBase::TrackQuality
minQuality
;
23
double
maxDxyPV
,
maxDzPV
,
maxChi2
,
maxDpOverP
;
24
int
minOuterHit
,
minLayerCrossed
;
25
int
maxInMiss
,
maxOutMiss
;
26
};
27
28
bool
goodTrack
(
const
reco::Track
* pTrack,
math::XYZPoint
leadPV,
trackSelectionParameters
parameters
,
bool
debug
=
false
);
29
30
}
31
#endif
reco::TrackBase::highPurity
Definition:
TrackBase.h:117
spr::trackSelectionParameters::maxOutMiss
int maxOutMiss
Definition:
TrackSelection.h:25
Parameters.parameters
dictionary parameters
Definition:
Parameters.py:2
spr::trackSelectionParameters::minOuterHit
int minOuterHit
Definition:
TrackSelection.h:24
reco::TrackBase::TrackQuality
TrackQuality
track quality
Definition:
TrackBase.h:113
spr::trackSelectionParameters::maxInMiss
int maxInMiss
Definition:
TrackSelection.h:25
Point3D.h
spr::trackSelectionParameters::trackSelectionParameters
trackSelectionParameters()
Definition:
TrackSelection.h:13
spr::goodTrack
bool goodTrack(const reco::Track *pTrack, math::XYZPoint leadPV, trackSelectionParameters parameters, bool debug=false)
Definition:
TrackSelection.cc:8
spr::trackSelectionParameters::maxDxyPV
double maxDxyPV
Definition:
TrackSelection.h:23
spr::trackSelectionParameters::maxChi2
double maxChi2
Definition:
TrackSelection.h:23
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:24
reco::Track
Definition:
Track.h:28
spr::trackSelectionParameters::minQuality
reco::TrackBase::TrackQuality minQuality
Definition:
TrackSelection.h:22
spr::trackSelectionParameters::maxDpOverP
double maxDpOverP
Definition:
TrackSelection.h:23
spr::trackSelectionParameters::minPt
double minPt
Definition:
TrackSelection.h:21
Track.h
spr::trackSelectionParameters::maxDzPV
double maxDzPV
Definition:
TrackSelection.h:23
Generated for CMSSW Reference Manual by
1.8.5