Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:34:25

0001 //   COCOA class header file

0002 //Id:  HistoDef.h

0003 //CAT: Model

0004 //

0005 //   Class to store the data of a fitted entry (only those of quality 'unk')

0006 //

0007 //   History: v1.0

0008 //   Pedro Arce

0009 
0010 #ifndef HistoDef_HH
0011 #define HistoDef_HH
0012 
0013 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0014 #include <vector>
0015 class Entry;
0016 
0017 class HistoDef {
0018 public:
0019   //---------- Constructors / Destructor

0020   HistoDef() {}
0021   void init(ALIstring name);
0022   ~HistoDef() {}
0023 
0024   ALIstring name() const { return theName; }
0025   float minimum() const { return theMin; }
0026   float maximum() const { return theMax; }
0027 
0028   void setMinimum(float min) { theMin = min; }
0029   void setMaximum(float max) { theMax = max; }
0030 
0031 private:
0032   ALIstring theName;
0033   float theMin;
0034   float theMax;
0035 };
0036 
0037 #endif