File indexing completed on 2023-03-17 10:46:47
0001 #ifndef CondFormats_DTObjects_DTRecoUncertainties_H
0002 #define CondFormats_DTObjects_DTRecoUncertainties_H
0003
0004
0005
0006
0007
0008
0009
0010 #include "CondFormats/Serialization/interface/Serializable.h"
0011
0012 #include <map>
0013 #include <vector>
0014 #include <string>
0015 #include <cstdint>
0016
0017 class DTWireId;
0018
0019 class DTRecoUncertainties {
0020 public:
0021
0022 DTRecoUncertainties();
0023
0024
0025 virtual ~DTRecoUncertainties();
0026
0027 void setVersion(int version) { theVersion = version; }
0028
0029
0030
0031 int version() const { return theVersion; }
0032
0033
0034 float get(const DTWireId& wireid, unsigned int index) const;
0035
0036
0037 void set(const DTWireId& wireid, const std::vector<float>& values);
0038
0039
0040 typedef std::map<uint32_t, std::vector<float> >::const_iterator const_iterator;
0041 const_iterator begin() const;
0042 const_iterator end() const;
0043
0044 private:
0045
0046
0047 std::map<uint32_t, std::vector<float> > payload;
0048
0049 int theVersion;
0050
0051 COND_SERIALIZABLE;
0052 };
0053 #endif