CMS 3D CMS Logo

L1TUtmBin.h
Go to the documentation of this file.
1 //
2 // NOTE: This file was automatically generated from UTM library via import_utm.pl
3 // DIRECT EDITS MIGHT BE LOST.
4 //
10 #ifndef tmEventSetup_L1TUtmBin_hh
11 #define tmEventSetup_L1TUtmBin_hh
12 
13 #include <limits>
15 #include "tmEventSetup/esBin.hh"
16 
20 class L1TUtmBin {
21 public:
23  : hw_index(std::numeric_limits<unsigned int>::max()),
24  minimum(std::numeric_limits<double>::min()),
25  maximum(std::numeric_limits<double>::max()),
26  version(0) {}
27 
28  L1TUtmBin(const unsigned int id, const double min, const double max)
29  : hw_index(id), minimum(min), maximum(max), version(0) {}
30 
31  L1TUtmBin(const tmeventsetup::esBin& bin) : L1TUtmBin(bin.hw_index, bin.minimum, bin.maximum) {}
32 
33  operator tmeventsetup::esBin() const { return tmeventsetup::esBin(hw_index, minimum, maximum); }
34 
35  virtual ~L1TUtmBin() = default;
36 
37  unsigned int hw_index;
38  double minimum;
39  double maximum;
40  unsigned int version;
42 };
43 
44 #endif // tmEventSetup_L1TUtmBin_hh
double maximum
Definition: L1TUtmBin.h:39
L1TUtmBin(const unsigned int id, const double min, const double max)
Definition: L1TUtmBin.h:28
unsigned int version
Definition: L1TUtmBin.h:40
L1TUtmBin()
Definition: L1TUtmBin.h:22
unsigned int hw_index
Definition: L1TUtmBin.h:37
L1TUtmBin(const tmeventsetup::esBin &bin)
Definition: L1TUtmBin.h:31
#define COND_SERIALIZABLE
Definition: Serializable.h:39
double minimum
Definition: L1TUtmBin.h:38
virtual ~L1TUtmBin()=default