ATLAS Offline Software
Loading...
Searching...
No Matches
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{
20public:
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;
33 uint32_t m_address;
34 uint16_t m_id;
35 uint16_t m_dpuID;
36
37};
38
39
42std::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
std::ostream & operator<<(std::ostream &sl, const CscRawData_p1 &data)
Overload of << operator for std::ostream for debug output.
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
uint32_t m_address
uint32_t getAddress() const
uint16_t identify() const
uint16_t m_dpuID
const std::vector< uint16_t > & getSamples() const
uint16_t dpuID() const
std::vector< uint16_t > m_amps
persistent data members
friend class CscRawDataCnv_p1