Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:21

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_L1TUtmCutValue_hh
0011 #define tmEventSetup_L1TUtmCutValue_hh
0012 
0013 #include <limits>
0014 #include "CondFormats/Serialization/interface/Serializable.h"
0015 #include "tmEventSetup/esCutValue.hh"
0016 
0017 /**
0018  *  This class implements data structure for CutValue
0019  */
0020 struct L1TUtmCutValue {
0021   L1TUtmCutValue()
0022       : value(std::numeric_limits<double>::max()), index(std::numeric_limits<unsigned int>::max()), version(0){};
0023   L1TUtmCutValue(const tmeventsetup::esCutValue& esCV) : value(esCV.value), index(esCV.index), version(esCV.version){};
0024 
0025   virtual ~L1TUtmCutValue() = default;
0026 
0027   double value;       /**< cut value */
0028   unsigned int index; /**< HW index for the cut value */
0029   unsigned int version;
0030   COND_SERIALIZABLE;
0031 };
0032 
0033 #endif  // tmEventSetup_L1TUtmCutValue_hh