RecoEgamma
EgammaIsolationAlgos
interface
EgammaTrackSelector.h
Go to the documentation of this file.
1
#ifndef EgammaIsolationAlgos_EgammaTrackSelector_H
2
#define EgammaIsolationAlgos_EgammaTrackSelector_H
3
4
#include "
RecoEgamma/EgammaIsolationAlgos/interface/EgammaRange.h
"
5
#include "
DataFormats/RecoCandidate/interface/IsoDepositDirection.h
"
6
#include "
DataFormats/TrackReco/interface/Track.h
"
7
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
8
#include "
DataFormats/Common/interface/View.h
"
9
#include <list>
10
11
namespace
egammaisolation
{
12
13
class
EgammaTrackSelector
{
14
public
:
15
typedef
egammaisolation::EgammaRange<float>
Range
;
16
typedef
std::list<const reco::Track*>
result_type
;
17
typedef
edm::View<reco::Track>
input_type
;
18
typedef
reco::TrackBase::Point
BeamPoint
;
19
20
enum
{
dz
= 0,
vz
,
bs
,
vtx
};
21
23
struct
Parameters
{
24
Parameters
()
25
:
zRange
(-1e6, 1e6),
26
rRange
(-1e6, 1e6),
27
dir
(0, 0),
28
drMax
(1
e3
),
29
beamPoint
(0, 0, 0),
30
nHitsMin
(0),
31
chi2NdofMax
(1e64),
32
chi2ProbMin
(-1.),
33
ptMin
(-1) {}
34
Parameters
(
const
Range
&
dz
,
35
const
double
d0Max
,
36
const
reco::isodeposit::Direction
& dirC,
37
double
rMax
,
38
const
BeamPoint
&
point
=
BeamPoint
(0, 0, 0))
39
:
zRange
(
dz
),
40
rRange
(
Range
(0,
d0Max
)),
41
dir
(dirC),
42
drMax
(
rMax
),
43
beamPoint
(
point
),
44
nHitsMin
(0),
45
chi2NdofMax
(1e64),
46
chi2ProbMin
(-1.),
47
ptMin
(-1) {}
48
Range
zRange
;
49
Range
rRange
;
50
reco::isodeposit::Direction
dir
;
51
double
drMax
;
52
BeamPoint
beamPoint
;
53
unsigned
int
nHitsMin
;
54
double
chi2NdofMax
;
55
double
chi2ProbMin
;
56
double
ptMin
;
57
int
dzOption
;
58
};
59
60
EgammaTrackSelector
(
const
Parameters
& pars) :
thePars
(pars) {}
61
62
result_type
operator()
(
const
input_type
&
tracks
)
const
;
63
64
private
:
65
Parameters
thePars
;
66
};
67
68
}
// namespace egammaisolation
69
70
#endif
photonAnalyzer_cfi.rMax
rMax
Definition:
photonAnalyzer_cfi.py:91
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
AlignmentTrackSelector_cfi.d0Max
d0Max
Definition:
AlignmentTrackSelector_cfi.py:22
egammaisolation
Definition:
EgammaRange.h:12
egammaisolation::EgammaTrackSelector::BeamPoint
reco::TrackBase::Point BeamPoint
Definition:
EgammaTrackSelector.h:18
egammaisolation::EgammaTrackSelector::vz
Definition:
EgammaTrackSelector.h:20
egammaisolation::EgammaTrackSelector::vtx
Definition:
EgammaTrackSelector.h:20
egammaisolation::EgammaTrackSelector::bs
Definition:
EgammaTrackSelector.h:20
IsoDepositDirection.h
egammaisolation::EgammaTrackSelector::Parameters::ptMin
double ptMin
ChiSquaredProbability( chi2, ndf ) > chi2ProbMin.
Definition:
EgammaTrackSelector.h:56
egammaisolation::EgammaTrackSelector::Parameters
config parameters
Definition:
EgammaTrackSelector.h:23
Track.h
TrackFwd.h
egammaisolation::EgammaTrackSelector::Parameters::chi2NdofMax
double chi2NdofMax
nValidHits >= nHitsMin
Definition:
EgammaTrackSelector.h:54
egammaisolation::EgammaTrackSelector::input_type
edm::View< reco::Track > input_type
Definition:
EgammaTrackSelector.h:17
egammaisolation::EgammaTrackSelector::Parameters::chi2ProbMin
double chi2ProbMin
max value of normalized chi2
Definition:
EgammaTrackSelector.h:55
egammaisolation::EgammaTrackSelector::Parameters::dir
reco::isodeposit::Direction dir
range in d0 or dxy (abs value)
Definition:
EgammaTrackSelector.h:50
egammaisolation::EgammaTrackSelector::dz
Definition:
EgammaTrackSelector.h:20
egammaisolation::EgammaTrackSelector::thePars
Parameters thePars
Definition:
EgammaTrackSelector.h:65
edm::View
Definition:
CaloClusterFwd.h:14
egammaisolation::EgammaTrackSelector::Parameters::dzOption
int dzOption
tk.pt>ptMin
Definition:
EgammaTrackSelector.h:57
egammaisolation::EgammaTrackSelector::operator()
result_type operator()(const input_type &tracks) const
Definition:
EgammaTrackSelector.cc:8
egammaisolation::EgammaTrackSelector::Parameters::zRange
Range zRange
Definition:
EgammaTrackSelector.h:48
egammaisolation::EgammaTrackSelector::EgammaTrackSelector
EgammaTrackSelector(const Parameters &pars)
Definition:
EgammaTrackSelector.h:60
egammaisolation::EgammaTrackSelector
Definition:
EgammaTrackSelector.h:13
reco::TrackBase::Point
math::XYZPoint Point
point in the space
Definition:
TrackBase.h:80
SiPixelPhase1Clusters_cfi.e3
e3
Definition:
SiPixelPhase1Clusters_cfi.py:9
egammaisolation::EgammaTrackSelector::Parameters::beamPoint
BeamPoint beamPoint
cone size
Definition:
EgammaTrackSelector.h:52
egammaisolation::EgammaTrackSelector::Range
egammaisolation::EgammaRange< float > Range
Definition:
EgammaTrackSelector.h:15
egammaisolation::EgammaTrackSelector::Parameters::Parameters
Parameters(const Range &dz, const double d0Max, const reco::isodeposit::Direction &dirC, double rMax, const BeamPoint &point=BeamPoint(0, 0, 0))
Definition:
EgammaTrackSelector.h:34
reco::isodeposit::Direction
Definition:
IsoDepositDirection.h:19
egammaisolation::EgammaTrackSelector::Parameters::rRange
Range rRange
range in z
Definition:
EgammaTrackSelector.h:49
egammaisolation::EgammaTrackSelector::Parameters::drMax
double drMax
direction of the selection cone
Definition:
EgammaTrackSelector.h:51
egammaisolation::EgammaTrackSelector::result_type
std::list< const reco::Track * > result_type
Definition:
EgammaTrackSelector.h:16
egammaisolation::EgammaRange< float >
EgammaRange.h
View.h
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition:
invegas.h:5
egammaisolation::EgammaTrackSelector::Parameters::Parameters
Parameters()
Definition:
EgammaTrackSelector.h:24
egammaisolation::EgammaTrackSelector::Parameters::nHitsMin
unsigned int nHitsMin
beam spot position
Definition:
EgammaTrackSelector.h:53
Generated for CMSSW Reference Manual by
1.8.16