Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:18

0001 //
0002 // NOTE:  This file was automatically generated from UTM library via import_utm.pl
0003 // DIRECT EDITS MIGHT BE LOST.
0004 //
0005 /**
0006  * @author      Takashi Matsushita
0007  * Created:     12 Mar 2015
0008  */
0009 
0010 #ifndef tmEventSetup_L1TUtmBin_hh
0011 #define tmEventSetup_L1TUtmBin_hh
0012 
0013 #include <limits>
0014 #include "CondFormats/Serialization/interface/Serializable.h"
0015 
0016 /**
0017  *  This class implements data structure for Bin
0018  */
0019 class L1TUtmBin {
0020 public:
0021   L1TUtmBin()
0022       : hw_index(std::numeric_limits<unsigned int>::max()),
0023         minimum(std::numeric_limits<double>::min()),
0024         maximum(std::numeric_limits<double>::max()),
0025         version(0){};
0026 
0027   L1TUtmBin(const unsigned int id, const double min, const double max)
0028       : hw_index(id), minimum(min), maximum(max), version(0){};
0029 
0030   virtual ~L1TUtmBin() = default;
0031 
0032   unsigned int hw_index; /**< HW index of bin */
0033   double minimum;        /**< minimum value of bin */
0034   double maximum;        /**< maximum value of bin */
0035   unsigned int version;
0036   COND_SERIALIZABLE;
0037 };
0038 
0039 #endif  // tmEventSetup_L1TUtmBin_hh