CMS 3D CMS Logo

EgammaTrackSelector.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationAlgos_EgammaTrackSelector_H
2 #define EgammaIsolationAlgos_EgammaTrackSelector_H
3 
8 
9 #include <list>
10 
11 namespace egammaisolation {
12 
14  public:
15  typedef std::pair<float, float> Range;
16  typedef std::list<const reco::Track*> result_type;
19 
20  enum { dz = 0, vz, bs, vtx };
21 
23  struct Parameters {
25  : zRange(-1e6, 1e6),
26  rRange(-1e6, 1e6),
27  dir(0, 0),
28  drMax(1e3),
29  beamPoint(0, 0, 0),
30  nHitsMin(0),
31  chi2NdofMax(1e64),
32  chi2ProbMin(-1.),
33  ptMin(-1) {}
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),
44  nHitsMin(0),
45  chi2NdofMax(1e64),
46  chi2ProbMin(-1.),
47  ptMin(-1) {}
51  double drMax;
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 
63 
64  private:
66  };
67 
68 } // namespace egammaisolation
69 
70 #endif
EgammaTrackSelector(const Parameters &pars)
result_type operator()(const input_type &tracks) const
double ptMin
ChiSquaredProbability( chi2, ndf ) > chi2ProbMin.
math::XYZPoint Point
point in the space
Definition: TrackBase.h:80
double chi2ProbMin
max value of normalized chi2
reco::isodeposit::Direction dir
range in d0 or dxy (abs value)
Parameters(const Range &dz, const double d0Max, const reco::isodeposit::Direction &dirC, double rMax, const BeamPoint &point=BeamPoint(0, 0, 0))
double drMax
direction of the selection cone
std::list< const reco::Track * > result_type
*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