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

#include <CscSimData.h>

Collaboration diagram for CscSimData:

Public Types

typedef std::pair< HepMcParticleLink, CscMcDataDeposit
 

Public Member Functions

 CscSimData ()
 
 CscSimData (const std::vector< Deposit > &deposits, int simDataWord=0)
 
 CscSimData (std::vector< Deposit > &&deposits, int simDataWord=0)
 
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 44 of file CscSimData.h.

Member Typedef Documentation

◆ Deposit

Definition at line 47 of file CscSimData.h.

Constructor & Destructor Documentation

◆ CscSimData() [1/3]

CscSimData::CscSimData ( )

Definition at line 10 of file CscSimData.cxx.

11 : m_word(0) { }

◆ CscSimData() [2/3]

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

Definition at line 13 of file CscSimData.cxx.

15 : m_word((deposits.size()<<29 & 0xe0000000) | (simDataWord & 0x1fffffff)),
17 {
18 }

◆ CscSimData() [3/3]

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

Definition at line 20 of file CscSimData.cxx.

22 : m_word((deposits.size()<<29 & 0xe0000000) | (simDataWord & 0x1fffffff)),
23  m_deposits (std::move(deposits))
24 {
25 }

Member Function Documentation

◆ deposits()

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

Definition at line 71 of file CscSimData.h.

71  {
73  return;
74 }

◆ getdeposits()

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

Definition at line 67 of file CscSimData.h.

67  {
68  return m_deposits;
69 }

◆ word()

int CscSimData::word ( ) const
inline

Definition at line 63 of file CscSimData.h.

63  {
64  return m_word & 0x1fffffff;
65 }

Member Data Documentation

◆ m_deposits

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

Definition at line 59 of file CscSimData.h.

◆ m_word

int CscSimData::m_word
private

Definition at line 58 of file CscSimData.h.


The documentation for this class was generated from the following files:
CscSimData::m_deposits
std::vector< Deposit > m_deposits
Definition: CscSimData.h:59
CscSimData::m_word
int m_word
Definition: CscSimData.h:58
CscSimData::deposits
void deposits(std::vector< Deposit > &deposits) const
Definition: CscSimData.h:71