CMS 3D CMS Logo

DeviationSensor2D.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: DeviationSensor2D.h
3 //CAT: Model
4 //
5 // Base class to describe Optical Objects of type sensor 2D
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _DEVIATIONSensor2D_HH
11 #define _DEVIATIONSensor2D_HH
12 
14 #include <vector>
15 
17 public:
18  //---------- Constructors / Destructor
20  DeviationSensor2D(ALIdouble posDimFactor, ALIdouble angDimFactor);
22 
23  // read file
24  void fillData(const std::vector<ALIstring>& wl);
25 
26  // Access data
27  const ALIdouble& posX() { return thePosX; }
28  const ALIdouble& posY() { return thePosY; }
29  const ALIdouble& posErrX() { return thePosErrX; }
30  const ALIdouble& posErrY() { return thePosErrY; }
31  const ALIdouble& devX() { return theDevX; }
32  const ALIdouble& devY() { return theDevY; }
33  const ALIdouble& devErrX() { return theDevErrX; }
34  const ALIdouble& devErrY() { return theDevErrY; }
35 
36 private:
42 };
43 
44 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
const ALIdouble & devY()
const ALIdouble & devErrY()
const ALIdouble & posErrY()
const ALIdouble & posY()
const ALIdouble & devErrX()
const ALIdouble & posX()
void fillData(const std::vector< ALIstring > &wl)
const ALIdouble & posErrX()
const ALIdouble & devX()