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 {
17 public:
18  //- EntryNoDim(){ };
19  EntryNoDim( const ALIstring type ): Entry(type){
21  //std::cout << "entryNoDim" << std::endl;
22 };
23  ~EntryNoDim() override{};
24 
25  // Access DATA MEMBERS
26  //----------- Return value and sigma dimension factors (1. as object of this class have no dimension)
27  ALIdouble ValueDimensionFactor() const override{
28  return 1.0;
29  }
30  ALIdouble SigmaDimensionFactor() const override{
31  return 1.0;
32  }
33  //----- Return starting displacement for derivative
35  return 0.1;
36  }
37 };
38 
39 #endif
40 
41 
42 
43 
44 
45 
46 
type
Definition: HCALResponse.h:21
long double ALIdouble
Definition: CocoaGlobals.h:11
Definition: Entry.h:18
ALIdouble ValueDimensionFactor() const override
Definition: EntryNoDim.h:27
EntryDim theDimType
Definition: Entry.h:119
Definition: Entry.h:16
EntryNoDim(const ALIstring type)
Definition: EntryNoDim.h:19
ALIdouble SigmaDimensionFactor() const override
Definition: EntryNoDim.h:30
~EntryNoDim() override
Definition: EntryNoDim.h:23
ALIdouble startingDisplacement() override
Definition: EntryNoDim.h:34
std::string ALIstring
Definition: CocoaGlobals.h:9