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
10
#include "
TrackingTools/DetLayers/interface/MeasurementEstimator.h
"
11
#include "
DataFormats/GeometryVector/interface/Vector2DBase.h
"
12
#include "
DataFormats/GeometryVector/interface/LocalTag.h
"
13
14
15
class
TrajectoryStateOnSurface
;
16
class
RecHit;
17
class
Plane
;
18
19
class
ConversionBarrelEstimator
:
public
MeasurementEstimator
{
20
public
:
21
22
ConversionBarrelEstimator
() {};
23
ConversionBarrelEstimator
(
float
phiRangeMin,
float
phiRangeMax,
24
float
zRangeMin,
float
zRangeMax,
double
nSigma = 3. ) :
25
thePhiRangeMin
( phiRangeMin),
thePhiRangeMax
( phiRangeMax),
26
theZRangeMin
( zRangeMin),
theZRangeMax
( zRangeMax),
theNSigma
(nSigma) {
27
// std::cout << " ConversionBarrelEstimator CTOR " << std::endl;
28
}
29
30
// zero value indicates incompatible ts - hit pair
31
virtual
std::pair<bool,double>
estimate
(
const
TrajectoryStateOnSurface
& ts,
32
const
TransientTrackingRecHit
&
hit
)
const
;
33
virtual
bool
estimate
(
const
TrajectoryStateOnSurface
& ts,
34
const
Plane
& plane)
const
;
35
virtual
ConversionBarrelEstimator
*
clone
()
const
{
36
return
new
ConversionBarrelEstimator
(*
this
);
37
}
38
39
40
41
42
43
virtual
Local2DVector
maximalLocalDisplacement
(
const
TrajectoryStateOnSurface
& ts,
const
Plane
& plane)
const
;
44
45
46
double
nSigmaCut
()
const
{
return
theNSigma
;}
47
48
private
:
49
50
float
thePhiRangeMin
;
51
float
thePhiRangeMax
;
52
float
theZRangeMin
;
53
float
theZRangeMax
;
54
double
theNSigma
;
55
56
57
58
};
59
60
#endif // ConversionBarrelEstimator_H
ConversionBarrelEstimator::estimate
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const
Definition:
ConversionBarrelEstimator.cc:12
Vector2DBase.h
ConversionBarrelEstimator::thePhiRangeMin
float thePhiRangeMin
Definition:
ConversionBarrelEstimator.h:50
ConversionBarrelEstimator
Definition:
ConversionBarrelEstimator.h:19
MeasurementEstimator.h
MeasurementEstimator
Definition:
MeasurementEstimator.h:20
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator()
Definition:
ConversionBarrelEstimator.h:22
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:15
Plane
Definition:
Plane.h:17
LocalTag.h
ConversionBarrelEstimator::theZRangeMin
float theZRangeMin
Definition:
ConversionBarrelEstimator.h:52
ConversionBarrelEstimator::maximalLocalDisplacement
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
Definition:
ConversionBarrelEstimator.cc:99
ConversionBarrelEstimator::theZRangeMax
float theZRangeMax
Definition:
ConversionBarrelEstimator.h:53
ConversionBarrelEstimator::clone
virtual ConversionBarrelEstimator * clone() const
Definition:
ConversionBarrelEstimator.h:35
Vector2DBase< float, LocalTag >
ConversionBarrelEstimator::nSigmaCut
double nSigmaCut() const
Definition:
ConversionBarrelEstimator.h:46
TransientTrackingRecHit
Definition:
TransientTrackingRecHit.h:21
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
ConversionBarrelEstimator::theNSigma
double theNSigma
Definition:
ConversionBarrelEstimator.h:54
ConversionBarrelEstimator::thePhiRangeMax
float thePhiRangeMax
Definition:
ConversionBarrelEstimator.h:51
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator(float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma=3.)
Definition:
ConversionBarrelEstimator.h:23
Generated for CMSSW Reference Manual by
1.8.5