HistoDef

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
//   COCOA class header file
//Id:  HistoDef.h
//CAT: Model
//
//   Class to store the data of a fitted entry (only those of quality 'unk')
//
//   History: v1.0
//   Pedro Arce

#ifndef HistoDef_HH
#define HistoDef_HH

#include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
#include <vector>
class Entry;

class HistoDef {
public:
  //---------- Constructors / Destructor
  HistoDef() {}
  void init(ALIstring name);
  ~HistoDef() {}

  ALIstring name() const { return theName; }
  float minimum() const { return theMin; }
  float maximum() const { return theMax; }

  void setMinimum(float min) { theMin = min; }
  void setMaximum(float max) { theMax = max; }

private:
  ALIstring theName;
  float theMin;
  float theMax;
};

#endif