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