ATLAS Offline Software
Loading...
Searching...
No Matches
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
24MuonSimData::MuonSimData (const std::vector<Deposit>& deposits,
25 int simDataWord)
26 : m_word((deposits.size()<<29 & 0xe0000000) | (simDataWord & 0x1fffffff)),
28 m_x(0.0),m_y(0.0),m_z(0.0),m_t(0.0)
29{
30}
31
32MuonSimData::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
std::vector< Deposit > m_deposits
Definition MuonSimData.h:81
void deposits(std::vector< Deposit > &deposits) const
Definition MuonSimData.h:99
STL namespace.