CMS 3D CMS Logo

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     //-    std::cout << "entryangle " << type << std::endl;
00022   };
00023   ~EntryAngle(){};
00024 
00025  //----- Return value and sigma dimension factors
00026   virtual ALIdouble ValueDimensionFactor() const{
00027     return ALIUtils::AngleValueDimensionFactor();
00028   }
00029   virtual ALIdouble SigmaDimensionFactor() const{
00030     return ALIUtils::AngleSigmaDimensionFactor();
00031   }
00032   virtual ALIdouble OutputValueDimensionFactor() const{
00033     return ALIUtils::OutputAngleValueDimensionFactor();
00034   }
00035   virtual ALIdouble OutputSigmaDimensionFactor() const{
00036     return ALIUtils::OutputAngleSigmaDimensionFactor();
00037   }
00038   
00039   //----- Return starting displacement for derivative
00040   virtual ALIdouble startingDisplacement() {
00041      return _startingDisplacement;
00042   }
00043 
00044  private:
00045  // static DATA MEMBERS
00046   //----------- Factor by which you multiply a value to get it in radians
00047   static ALIdouble _startingDisplacement;
00048 };
00049 
00050 #endif

Generated on Tue Jun 9 17:23:35 2009 for CMSSW by  doxygen 1.5.4