L1TUtmCutValue

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
//
// NOTE:  This file was automatically generated from UTM library via import_utm.pl
// DIRECT EDITS MIGHT BE LOST.
//
/**
 * @author      Takashi Matsushita
 * Created:     12 Mar 2015
 */

#ifndef tmEventSetup_L1TUtmCutValue_hh
#define tmEventSetup_L1TUtmCutValue_hh

#include <limits>
#include "CondFormats/Serialization/interface/Serializable.h"
#include "tmEventSetup/esCutValue.hh"

/**
 *  This class implements data structure for CutValue
 */
struct L1TUtmCutValue {
  L1TUtmCutValue()
      : value(std::numeric_limits<double>::max()), index(std::numeric_limits<unsigned int>::max()), version(0) {}
  L1TUtmCutValue(const tmeventsetup::esCutValue& esCV) : value(esCV.value), index(esCV.index), version(esCV.version) {}

  virtual ~L1TUtmCutValue() = default;

  double value;       /**< cut value */
  unsigned int index; /**< HW index for the cut value */
  unsigned int version;
  COND_SERIALIZABLE;
};

#endif  // tmEventSetup_L1TUtmCutValue_hh