00001 // COCOA class header file 00002 //Id: EntryNoDim.h 00003 //CAT: Model 00004 // 00005 // class for entries that have dimension of length 00006 // 00007 // History: v1.0 00008 // Pedro Arce 00009 00010 #ifndef _ENTRYNoDim_HH 00011 #define _ENTRYNoDim_HH 00012 00013 #include "Alignment/CocoaModel/interface/Entry.h" 00014 00015 class EntryNoDim : public Entry 00016 { 00017 public: 00018 //- EntryNoDim(){ }; 00019 EntryNoDim( const ALIstring type ): Entry(type){ 00020 theDimType = ED_nodim; 00021 //std::cout << "entryNoDim" << std::endl; 00022 }; 00023 ~EntryNoDim(){}; 00024 00025 // Access DATA MEMBERS 00026 //----------- Return value and sigma dimension factors (1. as object of this class have no dimension) 00027 virtual ALIdouble ValueDimensionFactor() const{ 00028 return _ValueDimensionFactor; 00029 } 00030 virtual ALIdouble SigmaDimensionFactor() const{ 00031 return _SigmaDimensionFactor; 00032 } 00033 //----- Return starting displacement for derivative 00034 virtual ALIdouble startingDisplacement() { 00035 return _startingDisplacement; 00036 } 00037 00038 00039 private: 00040 // static DATA MEMBERS 00041 static ALIdouble _ValueDimensionFactor; 00042 static ALIdouble _SigmaDimensionFactor; 00043 static ALIdouble _startingDisplacement; 00044 }; 00045 00046 #endif 00047 00048 00049 00050 00051 00052 00053