CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaTrackSelector.h
Go to the documentation of this file.
1 #ifndef EgammaIsolationAlgos_EgammaTrackSelector_H
2 #define EgammaIsolationAlgos_EgammaTrackSelector_H
3 
9 #include <list>
10 
11 namespace egammaisolation {
12 
13 
15  public:
16 
18  typedef std::list<const reco::Track*> result_type;
21 
22  enum { dz = 0, vz, bs, vtx };
23 
25  struct Parameters {
27  : zRange(-1e6,1e6), rRange(-1e6,1e6), dir(0,0), drMax(1e3), beamPoint(0,0,0),
28  nHitsMin(0), chi2NdofMax(1e64), chi2ProbMin(-1.), ptMin(-1) {}
29  Parameters(const Range& dz, const double d0Max, const reco::isodeposit::Direction& dirC, double rMax,
30  const BeamPoint& point = BeamPoint(0,0,0))
31  : zRange(dz), rRange(Range(0,d0Max)), dir(dirC), drMax(rMax), beamPoint(point),
32  nHitsMin(0), chi2NdofMax(1e64), chi2ProbMin(-1.), ptMin(-1) {}
36  double drMax;
38  unsigned int nHitsMin;
39  double chi2NdofMax;
40  double chi2ProbMin;
41  double ptMin;
42  int dzOption;
43  };
44 
45 
46  EgammaTrackSelector(const Parameters& pars) : thePars(pars) { }
47 
48  result_type operator()(const input_type & tracks) const;
49 
50 
51  private:
53  };
54 
55 }
56 
57 #endif
result_type operator()(const input_type &tracks) const
egammaisolation::EgammaRange< float > Range
EgammaTrackSelector(const Parameters &pars)
double ptMin
ChiSquaredProbability( chi2, ndf ) &gt; chi2ProbMin.
math::XYZPoint Point
point in the space
Definition: TrackBase.h:83
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
tuple tracks
Definition: testEve_cfg.py:39
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