CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
18 
19 public:
20  //---------- Constructors / Destructor
22  DeviationSensor2D( ALIdouble posDimFactor, ALIdouble angDimFactor );
24 
25  // read file
26  void fillData( const std::vector<ALIstring>& wl );
27 
28  // Access data
29  const ALIdouble& posX() {
30  return thePosX;
31  }
32  const ALIdouble& posY() {
33  return thePosY;
34  }
35  const ALIdouble& posErrX() {
36  return thePosErrX;
37  }
38  const ALIdouble& posErrY() {
39  return thePosErrY;
40  }
41  const ALIdouble& devX() {
42  return theDevX;
43  }
44  const ALIdouble& devY() {
45  return theDevY;
46  }
47  const ALIdouble& devErrX() {
48  return theDevErrX;
49  }
50  const ALIdouble& devErrY() {
51  return theDevErrY;
52  }
53 
54  private:
60 };
61 
62 #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()