ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
AthenaPoolTestMapData Class Reference

#include <AthenaPoolTestMapData.h>

Collaboration diagram for AthenaPoolTestMapData:

Public Types

typedef std::pair< AthenaPoolTestMapDataLink, float > Deposit
 

Public Member Functions

 AthenaPoolTestMapData ()
 
 AthenaPoolTestMapData (const std::vector< Deposit > &deposits, int simDataWord=0)
 
virtual ~AthenaPoolTestMapData ()
 
int word () const
 
void deposits (std::vector< Deposit > &deposits) const
 
const std::vector< Deposit > & getdeposits () const
 

Private Attributes

int m_word
 
std::vector< Depositm_deposits
 

Detailed Description

Definition at line 32 of file AthenaPoolTestMapData.h.

Member Typedef Documentation

◆ Deposit

Definition at line 38 of file AthenaPoolTestMapData.h.

Constructor & Destructor Documentation

◆ AthenaPoolTestMapData() [1/2]

AthenaPoolTestMapData::AthenaPoolTestMapData ( )

Definition at line 20 of file AthenaPoolTestMapData.cxx.

20  :
21  m_word(0)
22 {
23 
24 }

◆ AthenaPoolTestMapData() [2/2]

AthenaPoolTestMapData::AthenaPoolTestMapData ( const std::vector< Deposit > &  deposits,
int  simDataWord = 0 
)

Definition at line 26 of file AthenaPoolTestMapData.cxx.

28  : m_word( ((deposits.size() << 29) & 0xe0000000) | (simDataWord & 0x1fffffff)),
30 {
31 }

◆ ~AthenaPoolTestMapData()

AthenaPoolTestMapData::~AthenaPoolTestMapData ( )
virtual

Definition at line 33 of file AthenaPoolTestMapData.cxx.

34 {
35 }

Member Function Documentation

◆ deposits()

void AthenaPoolTestMapData::deposits ( std::vector< Deposit > &  deposits) const
inline

Definition at line 72 of file AthenaPoolTestMapData.h.

73 {
74  // I really don't understand what the point of this is ... it does EXACTLY the same as the getdeposits() method, just in a different way. EJWM
76  return;
77 }

◆ getdeposits()

const std::vector< AthenaPoolTestMapData::Deposit > & AthenaPoolTestMapData::getdeposits ( ) const
inline

Definition at line 67 of file AthenaPoolTestMapData.h.

68 {
69  return m_deposits;
70 }

◆ word()

int AthenaPoolTestMapData::word ( ) const
inline

Definition at line 62 of file AthenaPoolTestMapData.h.

63 {
64  return m_word & 0x1fffffff;
65 }

Member Data Documentation

◆ m_deposits

std::vector<Deposit> AthenaPoolTestMapData::m_deposits
private

Definition at line 55 of file AthenaPoolTestMapData.h.

◆ m_word

int AthenaPoolTestMapData::m_word
private

Definition at line 53 of file AthenaPoolTestMapData.h.


The documentation for this class was generated from the following files:
AthenaPoolTestMapData::m_word
int m_word
Definition: AthenaPoolTestMapData.h:53
AthenaPoolTestMapData::deposits
void deposits(std::vector< Deposit > &deposits) const
Definition: AthenaPoolTestMapData.h:72
AthenaPoolTestMapData::m_deposits
std::vector< Deposit > m_deposits
Definition: AthenaPoolTestMapData.h:55