CMS 3D CMS Logo

DTRecoUncertainties.h
Go to the documentation of this file.
1 #ifndef CondFormats_DTObjects_DTRecoUncertainties_H
2 #define CondFormats_DTObjects_DTRecoUncertainties_H
3 
11 
12 #include <map>
13 #include <vector>
14 #include <string>
15 #include <cstdint>
16 
17 class DTWireId;
18 
20 public:
23 
25  virtual ~DTRecoUncertainties();
26 
28 
31  int version() const { return theVersion; }
32 
34  float get(const DTWireId& wireid, unsigned int index) const;
35 
37  void set(const DTWireId& wireid, const std::vector<float>& values);
38 
40  typedef std::map<uint32_t, std::vector<float> >::const_iterator const_iterator;
41  const_iterator begin() const;
42  const_iterator end() const;
43 
44 private:
45  // map of uncertainties per SL Id. The position in the vector depends on
46  // version() as it depends on the Reco algorithm being used.
47  std::map<uint32_t, std::vector<float> > payload;
48 
50 
52 };
53 #endif
void setVersion(int version)
const_iterator begin() const
virtual ~DTRecoUncertainties()
Destructor.
std::map< uint32_t, std::vector< float > >::const_iterator const_iterator
Access methods to data.
std::map< uint32_t, std::vector< float > > payload
const_iterator end() const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
DTRecoUncertainties()
Constructor.