CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
13 
14 // Vectors
17 //#include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
18 
19 // STL
20 #include <string>
21 
23 
25 
26 public:
27  //--- Constructor, virtual destructor (just in case)
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,
48 
49 private:
50 
51  // output
53  double thePositionX;
54  double thePositionY;
55  double thePositionZ;
57  double theErrorX;
58  double theErrorY;
59  double theErrorZ;
60 };
61 #endif
void smearHit(const PSimHit &simHit, double localPositionResolutionX, double localPositionResolutionY, double localPositionResolutionZ, double boundX, double boundY, RandomEngineAndDistribution const *)