EntryNoDim

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
//   COCOA class header file
//Id:  EntryNoDim.h
//CAT: Model
//
//   class for entries that have dimension of length
//
//   History: v1.0
//   Pedro Arce

#ifndef _ENTRYNoDim_HH
#define _ENTRYNoDim_HH

#include "Alignment/CocoaModel/interface/Entry.h"

class EntryNoDim : public Entry {
public:
  //-  EntryNoDim(){ };
  EntryNoDim(const ALIstring type) : Entry(type) {
    theDimType = ED_nodim;
    //std::cout << "entryNoDim" << std::endl;
  };
  ~EntryNoDim() override {}

  // Access DATA MEMBERS
  //----------- Return value and sigma dimension factors (1. as object of this class have no dimension)
  ALIdouble ValueDimensionFactor() const override { return 1.0; }
  ALIdouble SigmaDimensionFactor() const override { return 1.0; }
  //----- Return starting displacement for derivative
  ALIdouble startingDisplacement() override { return 0.1; }
};

#endif