CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Alignment/CocoaAnalysis/interface/HistoDef.h

Go to the documentation of this file.
00001 //   COCOA class header file
00002 //Id:  HistoDef.h
00003 //CAT: Model
00004 //
00005 //   Class to store the data of a fitted entry (only those of quality 'unk')
00006 // 
00007 //   History: v1.0 
00008 //   Pedro Arce
00009 
00010 #ifndef HistoDef_HH
00011 #define HistoDef_HH
00012 
00013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
00014 #include <vector>
00015 class Entry;
00016 
00017 class HistoDef
00018 {
00019 
00020 public:
00021   //---------- Constructors / Destructor
00022   HistoDef(){ };
00023   void init( ALIstring name );
00024   ~HistoDef(){ };
00025 
00026   ALIstring name() const {
00027    return theName;
00028   }
00029   float minimum() const {
00030    return theMin;
00031   }
00032   float maximum() const {
00033    return theMax;
00034   }
00035 
00036   void setMinimum( float min ){
00037     theMin = min;
00038   }
00039   void setMaximum( float max ){
00040     theMax = max;
00041   }
00042 
00043 private:
00044   ALIstring theName;
00045   float theMin;
00046   float theMax;
00047 
00048 };
00049 
00050 #endif
00051