ATLAS Offline Software
MuonSimData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  Simulation data associated with an MuonRawData object
7  ------------------------------------------------------
8  ATLAS Collaboration
9  ***************************************************************************/
10 
11 // $Id: MuonSimData.cxx,v 1.1 2004-05-29 15:17:53 ketevi Exp $
12 
14 #include <iostream>
15 
16 
18  m_word(0),
19  m_x(0.0),m_y(0.0),m_z(0.0),m_t(0.0)
20 {
21 
22 }
23 
24 MuonSimData::MuonSimData (const std::vector<Deposit>& deposits,
25  int simDataWord)
26  : m_word((deposits.size()<<29 & 0xe0000000) | (simDataWord & 0x1fffffff)),
27  m_deposits (deposits),
28  m_x(0.0),m_y(0.0),m_z(0.0),m_t(0.0)
29 {
30 }
31 
32 MuonSimData::MuonSimData (std::vector<Deposit>&& deposits,
33  int simDataWord)
34  : m_word((deposits.size()<<29 & 0xe0000000) | (simDataWord & 0x1fffffff)),
35  m_deposits (std::move(deposits)),
36  m_x(0.0),m_y(0.0),m_z(0.0),m_t(0.0)
37 {
38 }
39 
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
MuonSimData::MuonSimData
MuonSimData()
Definition: MuonSimData.cxx:17
MuonSimData.h