ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
CaloCompactCell Class Referencefinal

holds compactified CaloCell information More...

#include <CaloCompactCell.h>

Collaboration diagram for CaloCompactCell:

Public Types

enum  MASKS { WORDMASK = 0xFFFF }
 mask to project all bits of the value_type defined above. More...
 
typedef unsigned short value_type
 value type for the compact CaloCell data More...
 

Public Member Functions

 CaloCompactCell (const std::vector< value_type > &theCompactData)
 Constructor. More...
 
 ~CaloCompactCell ()=default
 
const std::vector< value_type > & getData () const
 returns the vector of compactified CaloCell data. More...
 

Private Attributes

std::vector< value_typem_compactData
 vector containing the compactified CaloCell information. More...
 

Detailed Description

holds compactified CaloCell information

Version
$Id: CaloCompactCell.h,v 1.2 2005-04-05 17:19:30 menke Exp $
Author
Sven Menke menke.nosp@m.@mpp.nosp@m.mu.mp.nosp@m.g.de
Date
03-August-2004 This class is used to store CaloCell objects in an compressed manner. The actual data is stored as a vector<unsigned short>. Each compact cell therefor must provide its data in multiples of 16bit shorts.

Definition at line 24 of file CaloCompactCell.h.

Member Typedef Documentation

◆ value_type

typedef unsigned short CaloCompactCell::value_type

value type for the compact CaloCell data

Each CompactCell holds a multiple of this data type. This type must have the length of 16 bits.

Definition at line 34 of file CaloCompactCell.h.

Member Enumeration Documentation

◆ MASKS

mask to project all bits of the value_type defined above.

Enumerator
WORDMASK 

Definition at line 37 of file CaloCompactCell.h.

37 {WORDMASK = 0xFFFF};

Constructor & Destructor Documentation

◆ CaloCompactCell()

CaloCompactCell::CaloCompactCell ( const std::vector< value_type > &  theCompactData)
inline

Constructor.

Parameters
theCompactDataThe vector holding the compact CaloCell data

Definition at line 48 of file CaloCompactCell.h.

48  :
49  m_compactData(theCompactData)
50  { };

◆ ~CaloCompactCell()

CaloCompactCell::~CaloCompactCell ( )
default

Member Function Documentation

◆ getData()

const std::vector<value_type>& CaloCompactCell::getData ( ) const
inline

returns the vector of compactified CaloCell data.

Returns
a const reference to the vector holding the compact data

Definition at line 58 of file CaloCompactCell.h.

58  {
59  return m_compactData;
60  };

Member Data Documentation

◆ m_compactData

std::vector<value_type> CaloCompactCell::m_compactData
private

vector containing the compactified CaloCell information.

Definition at line 41 of file CaloCompactCell.h.


The documentation for this class was generated from the following file:
CaloCompactCell::m_compactData
std::vector< value_type > m_compactData
vector containing the compactified CaloCell information.
Definition: CaloCompactCell.h:41
CaloCompactCell::WORDMASK
@ WORDMASK
Definition: CaloCompactCell.h:37