File indexing completed on 2024-09-07 04:35:40
0001 #ifndef DytParamObject_h
0002 #define DytParamObject_h
0003
0004 #include <vector>
0005 #include "DataFormats/DetId/interface/DetId.h"
0006 #include "CondFormats/Serialization/interface/Serializable.h"
0007
0008 class DYTParamObject {
0009 public:
0010 DYTParamObject() {}
0011 DYTParamObject(uint32_t id, std::vector<double>& params) : m_id(id), m_params(params) {}
0012 ~DYTParamObject() { m_params.clear(); };
0013
0014
0015 uint32_t id() const { return m_id; };
0016
0017
0018 double parameter(unsigned int iParam) const;
0019
0020
0021 unsigned int paramSize() const { return m_params.size(); };
0022
0023 private:
0024 uint32_t m_id;
0025 std::vector<double> m_params;
0026
0027 COND_SERIALIZABLE;
0028 };
0029
0030 #endif