CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/Alignment/CocoaModel/interface/EntryData.h

Go to the documentation of this file.
00001 //  COCOA class header file
00002 //Id:  EntryData.h
00003 //CAT: Model
00004 //
00005 //   Base class for entry data
00006 // 
00007 //   History: v1.0 
00008 //   Pedro Arce
00009 
00010 #ifndef _EntryData_HH
00011 #define _EntryData_HH
00012 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00013 #include <vector>
00014 
00015 class EntryData
00016 {
00017   friend std::ostream& operator << (std::ostream& os, const EntryData& c);
00018   
00019 public:
00020   //----- Constructor / destructor 
00021   EntryData();
00022   ~EntryData();
00023 
00024   void fill( const std::vector<ALIstring>& wordlist );
00025  
00026  // Access DATA MEMBERS
00027   const ALIstring& longOptOName() const { return fLongOptOName; }
00028   const ALIstring& shortOptOName() const { return fShortOptOName; }
00029   const ALIstring& optOName() const { return longOptOName(); }
00030   const ALIstring& entryName() const { return fEntryName; }  
00031   ALIdouble valueOriginal() const { return fValueOriginal; }
00032   ALIdouble valueDisplacement() const { return fValueDisplacement; }
00033   ALIdouble sigma() const { return fSigma; }
00034   ALIint quality() const { return fQuality; }
00035   void setValueDisplacement( const ALIdouble val ) 
00036     { fValueDisplacement = val; }
00037   //-  ALIint fitPos() const { return fFitPos; }
00038 
00039 private:
00040  // private DATA MEMBERS
00041 protected:
00042   ALIstring fLongOptOName;
00043   ALIstring fShortOptOName;
00044   ALIstring fEntryName;
00045   ALIdouble fValueOriginal;
00046   ALIdouble fValueDisplacement;
00047   ALIdouble fSigma;
00048   ALIuint fQuality;
00049   //- ALIint fFitPos;
00050 
00051 };
00052 
00053 #endif