Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
FastSimulation
TrackingRecHitProducer
src
SiStripGaussianSmearingRecHitConverterAlgorithm.h
Go to the documentation of this file.
1
#ifndef FastSimulation_TrackingRecHitProducer_SiStripGaussianSmearingRecHitConverterAlgorithm_h
2
#define FastSimulation_TrackingRecHitProducer_SiStripGaussianSmearingRecHitConverterAlgorithm_h
3
4
//---------------------------------------------------------------------------
9
//---------------------------------------------------------------------------
10
11
// PSimHit
12
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
13
14
// Vectors
15
#include "
DataFormats/GeometryVector/interface/Point3DBase.h
"
16
#include "
DataFormats/GeometrySurface/interface/LocalError.h
"
17
//#include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
18
19
// STL
20
#include <string>
21
22
class
RandomEngineAndDistribution
;
23
24
class
SiStripGaussianSmearingRecHitConverterAlgorithm
{
25
26
public
:
27
//--- Constructor, virtual destructor (just in case)
28
explicit
SiStripGaussianSmearingRecHitConverterAlgorithm
();
29
virtual
~SiStripGaussianSmearingRecHitConverterAlgorithm
() {;}
30
31
// return results
32
const
Local3DPoint
&
getPosition
()
const
{
return
thePosition
;}
33
double
getPositionX
()
const
{
return
thePositionX
;}
34
double
getPositionY
()
const
{
return
thePositionY
;}
35
double
getPositionZ
()
const
{
return
thePositionZ
;}
36
const
LocalError
&
getError
()
const
{
return
theError
;}
37
double
getErrorX
()
const
{
return
theErrorX
;}
38
double
getErrorY
()
const
{
return
theErrorY
;}
39
double
getErrorZ
()
const
{
return
theErrorZ
;}
40
//
41
void
smearHit
(
const
PSimHit
& simHit ,
42
double
localPositionResolutionX,
43
double
localPositionResolutionY,
44
double
localPositionResolutionZ,
45
double
boundX,
46
double
boundY,
47
RandomEngineAndDistribution
const
*);
48
49
private
:
50
51
// output
52
Local3DPoint
thePosition
;
53
double
thePositionX
;
54
double
thePositionY
;
55
double
thePositionZ
;
56
LocalError
theError
;
57
double
theErrorX
;
58
double
theErrorY
;
59
double
theErrorZ
;
60
};
61
#endif
LocalError.h
SiStripGaussianSmearingRecHitConverterAlgorithm
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:24
SiStripGaussianSmearingRecHitConverterAlgorithm::thePositionY
double thePositionY
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:54
SiStripGaussianSmearingRecHitConverterAlgorithm::getErrorY
double getErrorY() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:38
SiStripGaussianSmearingRecHitConverterAlgorithm::getErrorZ
double getErrorZ() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:39
SiStripGaussianSmearingRecHitConverterAlgorithm::getPosition
const Local3DPoint & getPosition() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:32
Point3DBase.h
SiStripGaussianSmearingRecHitConverterAlgorithm::theError
LocalError theError
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:56
SiStripGaussianSmearingRecHitConverterAlgorithm::~SiStripGaussianSmearingRecHitConverterAlgorithm
virtual ~SiStripGaussianSmearingRecHitConverterAlgorithm()
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:29
SiStripGaussianSmearingRecHitConverterAlgorithm::thePosition
Local3DPoint thePosition
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:52
SiStripGaussianSmearingRecHitConverterAlgorithm::getErrorX
double getErrorX() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:37
SiStripGaussianSmearingRecHitConverterAlgorithm::getPositionX
double getPositionX() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:33
SiStripGaussianSmearingRecHitConverterAlgorithm::thePositionX
double thePositionX
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:53
SiStripGaussianSmearingRecHitConverterAlgorithm::getError
const LocalError & getError() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:36
SiStripGaussianSmearingRecHitConverterAlgorithm::theErrorX
double theErrorX
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:57
SiStripGaussianSmearingRecHitConverterAlgorithm::thePositionZ
double thePositionZ
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:55
PSimHit.h
SiStripGaussianSmearingRecHitConverterAlgorithm::SiStripGaussianSmearingRecHitConverterAlgorithm
SiStripGaussianSmearingRecHitConverterAlgorithm()
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.cc:20
SiStripGaussianSmearingRecHitConverterAlgorithm::theErrorZ
double theErrorZ
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:59
LocalError
Definition:
LocalError.h:12
Point3DBase< float, LocalTag >
PSimHit
Definition:
PSimHit.h:15
SiStripGaussianSmearingRecHitConverterAlgorithm::getPositionZ
double getPositionZ() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:35
RandomEngineAndDistribution
Definition:
RandomEngineAndDistribution.h:18
SiStripGaussianSmearingRecHitConverterAlgorithm::getPositionY
double getPositionY() const
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:34
SiStripGaussianSmearingRecHitConverterAlgorithm::theErrorY
double theErrorY
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.h:58
SiStripGaussianSmearingRecHitConverterAlgorithm::smearHit
void smearHit(const PSimHit &simHit, double localPositionResolutionX, double localPositionResolutionY, double localPositionResolutionZ, double boundX, double boundY, RandomEngineAndDistribution const *)
Definition:
SiStripGaussianSmearingRecHitConverterAlgorithm.cc:24
Generated for CMSSW Reference Manual by
1.8.5