CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
PCaloGeometry Class Reference

#include <PCaloGeometry.h>

Public Member Functions

std::vector< uint32_t > const & getDenseIndices () const
 
std::vector< float > const & getDimension () const
 
std::vector< uint32_t > const & getIndexes () const
 
std::vector< float > const & getTranslation () const
 
 PCaloGeometry ()
 
 PCaloGeometry (std::vector< float > const &, std::vector< float > const &, std::vector< uint32_t > const &, std::vector< uint32_t > const &)
 
 ~PCaloGeometry ()
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< float > m_dimension
 
std::vector< uint32_t > m_dins
 
std::vector< uint32_t > m_indexes
 
std::vector< float > m_translation
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 9 of file PCaloGeometry.h.

Constructor & Destructor Documentation

◆ PCaloGeometry() [1/2]

PCaloGeometry::PCaloGeometry ( )

Definition at line 4 of file PCaloGeometry.cc.

4 {}

◆ PCaloGeometry() [2/2]

PCaloGeometry::PCaloGeometry ( std::vector< float > const &  tra,
std::vector< float > const &  dim,
std::vector< uint32_t > const &  ind,
std::vector< uint32_t > const &  din 
)

Definition at line 6 of file PCaloGeometry.cc.

10  : m_translation(tra), m_dimension(dim), m_indexes(ind), m_dins(din) {}
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 > m_dimension
Definition: PCaloGeometry.h:26

◆ ~PCaloGeometry()

PCaloGeometry::~PCaloGeometry ( )
inline

Definition at line 17 of file PCaloGeometry.h.

17 {};

Member Function Documentation

◆ getDenseIndices()

std::vector<uint32_t> const& PCaloGeometry::getDenseIndices ( ) const
inline

Definition at line 22 of file PCaloGeometry.h.

References m_dins.

22 { return m_dins; }
std::vector< uint32_t > m_dins
Definition: PCaloGeometry.h:28

◆ getDimension()

std::vector<float> const& PCaloGeometry::getDimension ( ) const
inline

Definition at line 20 of file PCaloGeometry.h.

References m_dimension.

20 { return m_dimension; }
std::vector< float > m_dimension
Definition: PCaloGeometry.h:26

◆ getIndexes()

std::vector<uint32_t> const& PCaloGeometry::getIndexes ( ) const
inline

Definition at line 21 of file PCaloGeometry.h.

References m_indexes.

21 { return m_indexes; }
std::vector< uint32_t > m_indexes
Definition: PCaloGeometry.h:27

◆ getTranslation()

std::vector<float> const& PCaloGeometry::getTranslation ( ) const
inline

Definition at line 19 of file PCaloGeometry.h.

References m_translation.

19 { return m_translation; }
std::vector< float > m_translation
Definition: PCaloGeometry.h:25

◆ serialize()

template<class Archive >
void PCaloGeometry::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file PCaloGeometry.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 30 of file PCaloGeometry.h.

Member Data Documentation

◆ m_dimension

std::vector<float> PCaloGeometry::m_dimension
private

Definition at line 26 of file PCaloGeometry.h.

Referenced by getDimension().

◆ m_dins

std::vector<uint32_t> PCaloGeometry::m_dins
private

Definition at line 28 of file PCaloGeometry.h.

Referenced by getDenseIndices().

◆ m_indexes

std::vector<uint32_t> PCaloGeometry::m_indexes
private

Definition at line 27 of file PCaloGeometry.h.

Referenced by getIndexes().

◆ m_translation

std::vector<float> PCaloGeometry::m_translation
private

Definition at line 25 of file PCaloGeometry.h.

Referenced by getTranslation().