ATLAS Offline Software
AFP_ToFRawData_v1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef AFP_TOFRAWDATA_V1_H
6 #define AFP_TOFRAWDATA_V1_H
7 
9 
10 #include <stdint.h>
11 
17 {
18 public:
20  uint16_t header() const {return m_header;}
22 
24  uint16_t edge() const {return m_edge;}
25  void setEdge(const uint16_t edge) {m_edge = edge;}
26 
28  uint16_t channel() const {return m_channel;}
30 
32  uint32_t time() const {return m_time;}
33  void setTime(const uint32_t time) {m_time = time;}
34 
38 
39 private:
48 
55 
62 
68 
75 };
76 #endif
header
Definition: hcg.cxx:526
AFP_ToFRawData_v1::pulseLength
uint32_t pulseLength() const
Value of 11-16 least significant bits.
Definition: AFP_ToFRawData_v1.h:36
AFP_ToFRawData_v1::m_time
uint32_t m_time
Value of 10 least significant bits.
Definition: AFP_ToFRawData_v1.h:67
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
AFP_ToFRawData_v1::setEdge
void setEdge(const uint16_t edge)
Definition: AFP_ToFRawData_v1.h:25
AFP_ToFRawData_v1::setChannel
void setChannel(const uint16_t channel)
Definition: AFP_ToFRawData_v1.h:29
AFP_ToFRawData_v1
Class representing data record for time-of-flight detectors.
Definition: AFP_ToFRawData_v1.h:17
AFP_ToFRawData_v1::time
uint32_t time() const
Value of 10 least significant bits.
Definition: AFP_ToFRawData_v1.h:32
AFP_RawDataCommonHead.h
AFP_ToFRawData_v1::setPulseLength
void setPulseLength(const uint32_t pulseLength)
Definition: AFP_ToFRawData_v1.h:37
AFP_ToFRawData_v1::m_channel
uint16_t m_channel
Value of 13-17 most significant bits.
Definition: AFP_ToFRawData_v1.h:61
AFP_ToFRawData_v1::setHeader
void setHeader(const uint16_t header)
Definition: AFP_ToFRawData_v1.h:21
AFP_ToFRawData_v1::channel
uint16_t channel() const
Value of 13-17 most significant bits.
Definition: AFP_ToFRawData_v1.h:28
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
AFP_ToFRawData_v1::edge
uint16_t edge() const
Value of 12 most significant bit.
Definition: AFP_ToFRawData_v1.h:24
AFP_ToFRawData_v1::m_edge
uint16_t m_edge
Value of 12 most significant bit.
Definition: AFP_ToFRawData_v1.h:54
AFP_ToFRawData_v1::setTime
void setTime(const uint32_t time)
Definition: AFP_ToFRawData_v1.h:33
AFP_ToFRawData_v1::m_header
uint16_t m_header
Value of 9-11 most significant bits.
Definition: AFP_ToFRawData_v1.h:47
AFP_ToFRawData_v1::m_pulseLength
uint32_t m_pulseLength
Value of 11-16 least significant bits.
Definition: AFP_ToFRawData_v1.h:74
AFP_RawDataCommonHead
Base class representing first 8 bits in a record in bytestream.
Definition: AFP_RawDataCommonHead.h:17
AFP_ToFRawData_v1::header
uint16_t header() const
Value of 9-11 most significant bits.
Definition: AFP_ToFRawData_v1.h:20