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
PCaloGeometry::getTranslation
const std::vector< float > & getTranslation() const
Definition: PCaloGeometry.h:19
PCaloGeometry::getDimension
const std::vector< float > & getDimension() const
Definition: PCaloGeometry.h:20
PCaloGeometry::PCaloGeometry
PCaloGeometry()
Definition: PCaloGeometry.cc:4
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
PCaloGeometry::m_translation
std::vector< float > m_translation
Definition: PCaloGeometry.h:25
PCaloGeometry::getDenseIndices
const std::vector< uint32_t > & getDenseIndices() const
Definition: PCaloGeometry.h:22
PCaloGeometry
Definition: PCaloGeometry.h:9
PCaloGeometry::m_dimension
std::vector< float > m_dimension
Definition: PCaloGeometry.h:26
Serializable.h
PCaloGeometry::m_dins
std::vector< uint32_t > m_dins
Definition: PCaloGeometry.h:28
PCaloGeometry::m_indexes
std::vector< uint32_t > m_indexes
Definition: PCaloGeometry.h:27
PCaloGeometry::~PCaloGeometry
~PCaloGeometry()
Definition: PCaloGeometry.h:17
PCaloGeometry::getIndexes
const std::vector< uint32_t > & getIndexes() const
Definition: PCaloGeometry.h:21