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:  EntryNoDim.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 _ENTRYNoDim_HH
0011 #define _ENTRYNoDim_HH
0012 
0013 #include "Alignment/CocoaModel/interface/Entry.h"
0014 
0015 class EntryNoDim : public Entry {
0016 public:
0017   //-  EntryNoDim(){ };

0018   EntryNoDim(const ALIstring type) : Entry(type) {
0019     theDimType = ED_nodim;
0020     //std::cout << "entryNoDim" << std::endl;

0021   };
0022   ~EntryNoDim() override {}
0023 
0024   // Access DATA MEMBERS

0025   //----------- Return value and sigma dimension factors (1. as object of this class have no dimension)

0026   ALIdouble ValueDimensionFactor() const override { return 1.0; }
0027   ALIdouble SigmaDimensionFactor() const override { return 1.0; }
0028   //----- Return starting displacement for derivative

0029   ALIdouble startingDisplacement() override { return 0.1; }
0030 };
0031 
0032 #endif