Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:25

0001 //   COCOA class header file

0002 //Id:  EntryLength.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 _ENTRYLENGTH_HH
0011 #define _ENTRYLENGTH_HH
0012 
0013 #include "Alignment/CocoaModel/interface/Entry.h"
0014 #include "Alignment/CocoaUtilities/interface/ALIUtils.h"
0015 
0016 class EntryLength : public Entry {
0017 public:
0018   //-  EntryLength(){ };

0019   EntryLength(const ALIstring& type) : Entry(type) {
0020     // std::cout << "entrylength" << std::endl;

0021     theDimType = ED_length;
0022   };
0023   ~EntryLength() override {}
0024 
0025   //----- Return value and sigma dimension factors

0026   ALIdouble ValueDimensionFactor() const override { return ALIUtils::LengthValueDimensionFactor(); }
0027   ALIdouble SigmaDimensionFactor() const override { return ALIUtils::LengthSigmaDimensionFactor(); }
0028   ALIdouble OutputValueDimensionFactor() const override { return ALIUtils::OutputLengthValueDimensionFactor(); }
0029   ALIdouble OutputSigmaDimensionFactor() const override { return ALIUtils::OutputLengthSigmaDimensionFactor(); }
0030 
0031   //----- Return starting displacement for derivative

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

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