Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoEgamma
EgammaPhotonAlgos
interface
ConversionBarrelEstimator.h
Go to the documentation of this file.
1
#ifndef RecoEGAMMA_ConversionBarrelEstimator_H
2
#define RecoEGAMMA_ConversionBarrelEstimator_H
3
10
#include "
TrackingTools/DetLayers/interface/MeasurementEstimator.h
"
11
#include "
DataFormats/GeometryVector/interface/Vector2DBase.h
"
12
#include "
DataFormats/GeometryVector/interface/LocalTag.h
"
13
14
class
TrajectoryStateOnSurface
;
15
class
RecHit;
16
class
Plane
;
17
18
class
ConversionBarrelEstimator
:
public
MeasurementEstimator
{
19
public
:
20
ConversionBarrelEstimator
(){};
21
ConversionBarrelEstimator
(
float
phiRangeMin,
float
phiRangeMax,
float
zRangeMin,
float
zRangeMax,
double
nSigma
= 3.)
22
:
thePhiRangeMin
(phiRangeMin),
23
thePhiRangeMax
(phiRangeMax),
24
theZRangeMin
(zRangeMin),
25
theZRangeMax
(zRangeMax),
26
theNSigma
(
nSigma
) {
27
// std::cout << " ConversionBarrelEstimator CTOR " << std::endl;
28
}
29
30
// zero value indicates incompatible ts - hit pair
31
std::pair<bool, double>
estimate
(
const
TrajectoryStateOnSurface
& ts,
const
TrackingRecHit
&
hit
)
const override
;
32
bool
estimate
(
const
TrajectoryStateOnSurface
& ts,
const
Plane
& plane)
const override
;
33
ConversionBarrelEstimator
*
clone
()
const override
{
return
new
ConversionBarrelEstimator
(*
this
); }
34
35
Local2DVector
maximalLocalDisplacement
(
const
TrajectoryStateOnSurface
& ts,
const
Plane
& plane)
const override
;
36
37
double
nSigmaCut
()
const
{
return
theNSigma
; }
38
39
private
:
40
float
thePhiRangeMin
;
41
float
thePhiRangeMax
;
42
float
theZRangeMin
;
43
float
theZRangeMax
;
44
double
theNSigma
;
45
};
46
47
#endif // ConversionBarrelEstimator_H
ConversionBarrelEstimator::clone
ConversionBarrelEstimator * clone() const override
Definition:
ConversionBarrelEstimator.h:33
Vector2DBase.h
ConversionBarrelEstimator::thePhiRangeMin
float thePhiRangeMin
Definition:
ConversionBarrelEstimator.h:40
ConversionBarrelEstimator
Definition:
ConversionBarrelEstimator.h:18
MeasurementEstimator.h
MeasurementEstimator
Definition:
MeasurementEstimator.h:19
TrackingRecHit
Definition:
TrackingRecHit.h:21
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator()
Definition:
ConversionBarrelEstimator.h:20
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
Plane
Definition:
Plane.h:16
ConversionBarrelEstimator::maximalLocalDisplacement
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Definition:
ConversionBarrelEstimator.cc:78
LocalTag.h
ConversionBarrelEstimator::theZRangeMin
float theZRangeMin
Definition:
ConversionBarrelEstimator.h:42
ConversionBarrelEstimator::theZRangeMax
float theZRangeMax
Definition:
ConversionBarrelEstimator.h:43
HLT_FULL_cff.nSigma
tuple nSigma
Definition:
HLT_FULL_cff.py:7097
ConversionBarrelEstimator::estimate
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Definition:
ConversionBarrelEstimator.cc:10
Vector2DBase
Definition:
Vector2DBase.h:8
ConversionBarrelEstimator::nSigmaCut
double nSigmaCut() const
Definition:
ConversionBarrelEstimator.h:37
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
ConversionBarrelEstimator::theNSigma
double theNSigma
Definition:
ConversionBarrelEstimator.h:44
ConversionBarrelEstimator::thePhiRangeMax
float thePhiRangeMax
Definition:
ConversionBarrelEstimator.h:41
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator(float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma=3.)
Definition:
ConversionBarrelEstimator.h:21
Generated for CMSSW Reference Manual by
1.8.5