Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:00

0001 //   COCOA class header file

0002 //Id:  EntryAngle.h

0003 //CAT: Model

0004 //

0005 //   class for entries that have dimension of length

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef _ENTRYANGLE_HH
0011 #define _ENTRYANGLE_HH
0012 
0013 #include "Alignment/CocoaModel/interface/Entry.h"
0014 #include "Alignment/CocoaUtilities/interface/ALIUtils.h"
0015 
0016 class EntryAngle : public Entry {
0017 public:
0018   //-  EntryAngle(){ };

0019   EntryAngle(const ALIstring& type) : Entry(type) {
0020     theDimType = ED_angle;
0021     //-    std::cout << "entryangle " << type << std::endl;

0022   };
0023   ~EntryAngle() override{};
0024 
0025   //----- Return value and sigma dimension factors

0026   ALIdouble ValueDimensionFactor() const override { return ALIUtils::AngleValueDimensionFactor(); }
0027   ALIdouble SigmaDimensionFactor() const override { return ALIUtils::AngleSigmaDimensionFactor(); }
0028   ALIdouble OutputValueDimensionFactor() const override { return ALIUtils::OutputAngleValueDimensionFactor(); }
0029   ALIdouble OutputSigmaDimensionFactor() const override { return ALIUtils::OutputAngleSigmaDimensionFactor(); }
0030 
0031   //----- Return starting displacement for derivative

0032   ALIdouble startingDisplacement() override { return _startingDisplacement; }
0033 
0034 private:
0035   // static DATA MEMBERS

0036   //----------- Factor by which you multiply a value to get it in radians

0037   static ALIdouble _startingDisplacement;
0038 };
0039 
0040 #endif