Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:31:42

0001 //  COCOA class header file

0002 //Id:  EntryData.h

0003 //CAT: Model

0004 //

0005 //   Base class for entry data

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef _EntryData_HH
0011 #define _EntryData_HH
0012 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0013 #include <vector>
0014 
0015 class EntryData {
0016   friend std::ostream& operator<<(std::ostream& os, const EntryData& c);
0017 
0018 public:
0019   //----- Constructor / destructor

0020   EntryData();
0021   ~EntryData();
0022 
0023   void fill(const std::vector<ALIstring>& wordlist);
0024 
0025   // Access DATA MEMBERS

0026   const ALIstring& longOptOName() const { return fLongOptOName; }
0027   const ALIstring& shortOptOName() const { return fShortOptOName; }
0028   const ALIstring& optOName() const { return longOptOName(); }
0029   const ALIstring& entryName() const { return fEntryName; }
0030   ALIdouble valueOriginal() const { return fValueOriginal; }
0031   ALIdouble valueDisplacement() const { return fValueDisplacement; }
0032   ALIdouble sigma() const { return fSigma; }
0033   ALIint quality() const { return fQuality; }
0034   void setValueDisplacement(const ALIdouble val) { fValueDisplacement = val; }
0035   //-  ALIint fitPos() const { return fFitPos; }

0036 
0037 private:
0038   // private DATA MEMBERS

0039 protected:
0040   ALIstring fLongOptOName;
0041   ALIstring fShortOptOName;
0042   ALIstring fEntryName;
0043   ALIdouble fValueOriginal;
0044   ALIdouble fValueDisplacement;
0045   ALIdouble fSigma;
0046   ALIuint fQuality;
0047   //- ALIint fFitPos;

0048 };
0049 
0050 #endif