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
egammaisolation::EgammaTrackSelector::vz
Definition: EgammaTrackSelector.h:20
photonAnalyzer_cfi.rMax
rMax
Definition: photonAnalyzer_cfi.py:91
egammaisolation::EgammaTrackSelector::vtx
Definition: EgammaTrackSelector.h:20
AlignmentTrackSelector_cfi.d0Max
d0Max
Definition: AlignmentTrackSelector_cfi.py:22
egammaisolation
Definition: EgammaTrackSelector.h:11
egammaisolation::EgammaTrackSelector::BeamPoint
reco::TrackBase::Point BeamPoint
Definition: EgammaTrackSelector.h:18
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::Range
std::pair< float, float > Range
Definition: EgammaTrackSelector.h:15
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::thePars
Parameters thePars
Definition: EgammaTrackSelector.h:65
egammaisolation::EgammaTrackSelector::dz
Definition: EgammaTrackSelector.h:20
edm::View
Definition: CaloClusterFwd.h:14
egammaisolation::EgammaTrackSelector::Parameters::dzOption
int dzOption
tk.pt>ptMin
Definition: EgammaTrackSelector.h:57
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
egammaisolation::EgammaTrackSelector::operator()
result_type operator()(const input_type &tracks) const
Definition: EgammaTrackSelector.cc:15
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::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::EgammaTrackSelector::bs
Definition: EgammaTrackSelector.h:20
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