ATLAS Offline Software
CscRawData_p1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUON_CSCRAWDATA_P1_H
6 #define MUON_CSCRAWDATA_P1_H
7 
8 /*
9  Persistent representation of the CscRawData class
10  Author: Marcin Nowak
11  CERN, December 2005
12  */
13 
14 #include <iostream>
15 #include <vector>
16 #include <inttypes.h>
17 
19 {
20 public:
21  CscRawData_p1 () : m_address(0), m_id(0), m_dpuID(0) {}
22 
23  uint16_t dpuID() const { return m_dpuID; }
24  uint16_t identify() const { return m_id;}
25  uint32_t getAddress() const { return m_address; }
26  const std::vector<uint16_t>& getSamples() const { return m_amps; }
27 
28  friend class CscRawDataCnv_p1;
29 //private:
30 
32  std::vector<uint16_t> m_amps;
36 
37 };
38 
39 
42 std::ostream& operator << ( std::ostream& sl, const CscRawData_p1& data);
43 //std::ostream& operator << ( std::ostream& sl, const CscRawData& data);
44 
45 
46 #endif
47 
48 
49 
50 
51 
52 
CscRawData_p1::CscRawData_p1
CscRawData_p1()
Definition: CscRawData_p1.h:21
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
CscRawData_p1::getSamples
const std::vector< uint16_t > & getSamples() const
Definition: CscRawData_p1.h:26
CscRawDataCnv_p1
Definition: CscRawDataCnv_p1.h:22
CscRawData_p1::m_address
uint32_t m_address
Definition: CscRawData_p1.h:33
CscRawData_p1::identify
uint16_t identify() const
Definition: CscRawData_p1.h:24
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
operator<<
std::ostream & operator<<(std::ostream &sl, const CscRawData_p1 &data)
Overload of << operator for std::ostream for debug output.
Definition: CscRawData_p1.cxx:8
CscRawData_p1::m_dpuID
uint16_t m_dpuID
Definition: CscRawData_p1.h:35
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
CscRawData_p1
Definition: CscRawData_p1.h:19
CscRawData_p1::getAddress
uint32_t getAddress() const
Definition: CscRawData_p1.h:25
CscRawData_p1::m_id
uint16_t m_id
Definition: CscRawData_p1.h:34
CscRawData_p1::dpuID
uint16_t dpuID() const
Definition: CscRawData_p1.h:23
CscRawData_p1::m_amps
std::vector< uint16_t > m_amps
persistent data members
Definition: CscRawData_p1.h:32