CMS 3D CMS Logo

EntryNoDim.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: EntryNoDim.h
3 //CAT: Model
4 //
5 // class for entries that have dimension of length
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef _ENTRYNoDim_HH
11 #define _ENTRYNoDim_HH
12 
14 
15 class EntryNoDim : public Entry {
16 public:
17  //- EntryNoDim(){ };
20  //std::cout << "entryNoDim" << std::endl;
21  };
22  ~EntryNoDim() override{};
23 
24  // Access DATA MEMBERS
25  //----------- Return value and sigma dimension factors (1. as object of this class have no dimension)
26  ALIdouble ValueDimensionFactor() const override { return 1.0; }
27  ALIdouble SigmaDimensionFactor() const override { return 1.0; }
28  //----- Return starting displacement for derivative
29  ALIdouble startingDisplacement() override { return 0.1; }
30 };
31 
32 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
ALIdouble ValueDimensionFactor() const override
Definition: EntryNoDim.h:26
Definition: Entry.h:18
ALIdouble SigmaDimensionFactor() const override
Definition: EntryNoDim.h:27
EntryDim theDimType
Definition: Entry.h:120
Definition: Entry.h:16
EntryNoDim(const ALIstring type)
Definition: EntryNoDim.h:18
~EntryNoDim() override
Definition: EntryNoDim.h:22
ALIdouble startingDisplacement() override
Definition: EntryNoDim.h:29
std::string ALIstring
Definition: CocoaGlobals.h:9