CMS 3D CMS Logo

PCaloGeometry.h
Go to the documentation of this file.
1 #ifndef CondFormats_PCaloGeometry_h
2 #define CondFormats_PCaloGeometry_h
3 
5 
6 #include <vector>
7 #include <cstdint>
8 
9 class PCaloGeometry {
10 public:
11  PCaloGeometry();
12  PCaloGeometry(std::vector<float> const &,
13  std::vector<float> const &,
14  std::vector<uint32_t> const &,
15  std::vector<uint32_t> const &);
16 
18 
19  std::vector<float> const &getTranslation() const { return m_translation; }
20  std::vector<float> const &getDimension() const { return m_dimension; }
21  std::vector<uint32_t> const &getIndexes() const { return m_indexes; }
22  std::vector<uint32_t> const &getDenseIndices() const { return m_dins; }
23 
24 private:
25  std::vector<float> m_translation;
26  std::vector<float> m_dimension;
27  std::vector<uint32_t> m_indexes;
28  std::vector<uint32_t> m_dins;
29 
31 };
32 
33 #endif
std::vector< float > m_translation
Definition: PCaloGeometry.h:25
std::vector< uint32_t > m_dins
Definition: PCaloGeometry.h:28
std::vector< uint32_t > m_indexes
Definition: PCaloGeometry.h:27
std::vector< float > const & getDimension() const
Definition: PCaloGeometry.h:20
std::vector< uint32_t > const & getIndexes() const
Definition: PCaloGeometry.h:21
std::vector< uint32_t > const & getDenseIndices() const
Definition: PCaloGeometry.h:22
std::vector< float > m_dimension
Definition: PCaloGeometry.h:26
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::vector< float > const & getTranslation() const
Definition: PCaloGeometry.h:19