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 
22 class RandomEngine;
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);
47 
48 private:
49 
50  // output
52  double thePositionX;
53  double thePositionY;
54  double thePositionZ;
56  double theErrorX;
57  double theErrorY;
58  double theErrorZ;
59  //
60 
61  // The random engine
63 
64 };
65 
66 
67 #endif
void smearHit(const PSimHit &simHit, double localPositionResolutionX, double localPositionResolutionY, double localPositionResolutionZ, double boundX, double boundY)