Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:26

0001 //   COCOA class header file

0002 //Id:  DeviationSensor2D.h

0003 //CAT: Model

0004 //

0005 //   Base class to describe Optical Objects of type sensor 2D

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef _DEVIATIONSensor2D_HH
0011 #define _DEVIATIONSensor2D_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include <vector>
0015 
0016 class DeviationSensor2D {
0017 public:
0018   //---------- Constructors / Destructor

0019   DeviationSensor2D(){};
0020   DeviationSensor2D(ALIdouble posDimFactor, ALIdouble angDimFactor);
0021   ~DeviationSensor2D(){};
0022 
0023   // read file

0024   void fillData(const std::vector<ALIstring>& wl);
0025 
0026   // Access data

0027   const ALIdouble& posX() { return thePosX; }
0028   const ALIdouble& posY() { return thePosY; }
0029   const ALIdouble& posErrX() { return thePosErrX; }
0030   const ALIdouble& posErrY() { return thePosErrY; }
0031   const ALIdouble& devX() { return theDevX; }
0032   const ALIdouble& devY() { return theDevY; }
0033   const ALIdouble& devErrX() { return theDevErrX; }
0034   const ALIdouble& devErrY() { return theDevErrY; }
0035 
0036 private:
0037   ALIdouble thePosX, thePosY;
0038   ALIdouble thePosErrX, thePosErrY;
0039   ALIdouble theDevX, theDevY;
0040   ALIdouble theDevErrX, theDevErrY;
0041   ALIdouble thePosDimFactor, theAngDimFactor;
0042 };
0043 
0044 #endif