CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/Alignment/CocoaModel/interface/EntryAngle.h

Go to the documentation of this file.
00001 //   COCOA class header file
00002 //Id:  EntryAngle.h
00003 //CAT: Model
00004 //
00005 //   class for entries that have dimension of length
00006 // 
00007 //   History: v1.0 
00008 //   Pedro Arce
00009 
00010 #ifndef _ENTRYANGLE_HH
00011 #define _ENTRYANGLE_HH
00012 
00013 #include "Alignment/CocoaModel/interface/Entry.h"
00014 #include "Alignment/CocoaUtilities/interface/ALIUtils.h"
00015 
00016 class EntryAngle : public Entry
00017 {
00018 public:
00019   //-  EntryAngle(){ };
00020   EntryAngle( const ALIstring& type ): Entry(type){ 
00021     theDimType = ED_angle;
00022     //-    std::cout << "entryangle " << type << std::endl;
00023   };
00024   ~EntryAngle(){};
00025 
00026  //----- Return value and sigma dimension factors
00027   virtual ALIdouble ValueDimensionFactor() const{
00028     return ALIUtils::AngleValueDimensionFactor();
00029   }
00030   virtual ALIdouble SigmaDimensionFactor() const{
00031     return ALIUtils::AngleSigmaDimensionFactor();
00032   }
00033   virtual ALIdouble OutputValueDimensionFactor() const{
00034     return ALIUtils::OutputAngleValueDimensionFactor();
00035   }
00036   virtual ALIdouble OutputSigmaDimensionFactor() const{
00037     return ALIUtils::OutputAngleSigmaDimensionFactor();
00038   }
00039   
00040   //----- Return starting displacement for derivative
00041   virtual ALIdouble startingDisplacement() {
00042      return _startingDisplacement;
00043   }
00044 
00045  private:
00046  // static DATA MEMBERS
00047   //----------- Factor by which you multiply a value to get it in radians
00048   static ALIdouble _startingDisplacement;
00049 };
00050 
00051 #endif