ATLAS Offline Software
MuonSpectrometer
MuonRDO
MuonRDO
RpcSLTriggerHit.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONRDO_RPCSLTRIGGERHIT_H
6
#define MUONRDO_RPCSLTRIGGERHIT_H
7
8
#include<stdint.h>
9
10
#include "
AthenaKernel/CLASS_DEF.h
"
11
12
//
13
// S. Rosati Jun 2006
14
//
15
16
class
RpcSLTriggerHit
{
17
18
public
:
19
20
// Default constructor
21
RpcSLTriggerHit
() :
22
m_rowinBcid
(0),
23
m_padid
(0),
24
m_ptid
(0),
25
m_roi
(0),
26
m_outerPlane
(0),
27
m_overlapPhi
(0),
28
m_overlapEta
(0),
29
m_triggerBcid
(0),
30
m_isInput
(true) { };
31
32
// Constructor with arguments
33
RpcSLTriggerHit
(
const
uint16_t
rowinBcid
,
const
uint16_t
padid,
const
uint16_t
ptid,
const
uint16_t
roi
,
34
const
uint16_t
outerPlane
,
const
uint16_t
overlapPhi
,
const
uint16_t
overlapEta
,
35
const
uint16_t
triggerBcid
) :
36
m_rowinBcid
(
rowinBcid
),
37
m_padid
(padid),
38
m_ptid
(ptid),
39
m_roi
(
roi
),
40
m_outerPlane
(
outerPlane
),
41
m_overlapPhi
(
overlapPhi
),
42
m_overlapEta
(
overlapEta
),
43
m_triggerBcid
(
triggerBcid
),
44
m_isInput
(true) { };
45
46
47
// Get methods
48
uint16_t
rowinBcid
()
const
{
return
m_rowinBcid
;}
49
uint16_t
padId
()
const
{
return
m_padid
;}
50
uint16_t
ptId
()
const
{
return
m_ptid
;}
51
uint16_t
roi
()
const
{
return
m_roi
;}
52
53
uint16_t
outerPlane
()
const
{
return
m_outerPlane
;}
54
uint16_t
overlapPhi
()
const
{
return
m_overlapPhi
;}
55
uint16_t
overlapEta
()
const
{
return
m_overlapEta
;}
56
57
uint16_t
triggerBcid
()
const
{
return
m_triggerBcid
;}
58
bool
isInput
()
const
{
return
m_isInput
;}
59
60
// set methods
61
void
setIsInput
(
bool
isInput
) {
m_isInput
=
isInput
;}
62
63
private
:
64
65
// bc within within the readout window
66
uint16_t
m_rowinBcid
;
67
uint16_t
m_padid
;
68
uint16_t
m_ptid
;
69
uint16_t
m_roi
;
70
71
// Info variables split
72
uint16_t
m_outerPlane
;
73
uint16_t
m_overlapPhi
;
74
uint16_t
m_overlapEta
;
75
76
// bc of trigger hit
77
uint16_t
m_triggerBcid
;
78
79
// is input or output
80
bool
m_isInput
;
81
82
};
83
84
CLASS_DEF
(
RpcSLTriggerHit
, 115269504 , 1 )
85
86
#endif
87
88
89
90
RpcSLTriggerHit
Definition:
RpcSLTriggerHit.h:16
RpcSLTriggerHit::m_padid
uint16_t m_padid
Definition:
RpcSLTriggerHit.h:67
RpcSLTriggerHit::overlapPhi
uint16_t overlapPhi() const
Definition:
RpcSLTriggerHit.h:54
RpcSLTriggerHit::RpcSLTriggerHit
RpcSLTriggerHit()
Definition:
RpcSLTriggerHit.h:21
xAOD::uint16_t
setWord1 uint16_t
Definition:
eFexEMRoI_v1.cxx:88
RpcSLTriggerHit::m_triggerBcid
uint16_t m_triggerBcid
Definition:
RpcSLTriggerHit.h:77
RpcSLTriggerHit::m_rowinBcid
uint16_t m_rowinBcid
Definition:
RpcSLTriggerHit.h:66
RpcSLTriggerHit::rowinBcid
uint16_t rowinBcid() const
Definition:
RpcSLTriggerHit.h:48
RpcSLTriggerHit::m_overlapPhi
uint16_t m_overlapPhi
Definition:
RpcSLTriggerHit.h:73
RpcSLTriggerHit::triggerBcid
uint16_t triggerBcid() const
Definition:
RpcSLTriggerHit.h:57
RpcSLTriggerHit::setIsInput
void setIsInput(bool isInput)
Definition:
RpcSLTriggerHit.h:61
RpcSLTriggerHit::RpcSLTriggerHit
RpcSLTriggerHit(const uint16_t rowinBcid, const uint16_t padid, const uint16_t ptid, const uint16_t roi, const uint16_t outerPlane, const uint16_t overlapPhi, const uint16_t overlapEta, const uint16_t triggerBcid)
Definition:
RpcSLTriggerHit.h:33
RpcSLTriggerHit::isInput
bool isInput() const
Definition:
RpcSLTriggerHit.h:58
RpcSLTriggerHit::overlapEta
uint16_t overlapEta() const
Definition:
RpcSLTriggerHit.h:55
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
RpcSLTriggerHit::m_outerPlane
uint16_t m_outerPlane
Definition:
RpcSLTriggerHit.h:72
RpcSLTriggerHit::roi
uint16_t roi() const
Definition:
RpcSLTriggerHit.h:51
RpcSLTriggerHit::outerPlane
uint16_t outerPlane() const
Definition:
RpcSLTriggerHit.h:53
RpcSLTriggerHit::ptId
uint16_t ptId() const
Definition:
RpcSLTriggerHit.h:50
RpcSLTriggerHit::padId
uint16_t padId() const
Definition:
RpcSLTriggerHit.h:49
RpcSLTriggerHit::m_ptid
uint16_t m_ptid
Definition:
RpcSLTriggerHit.h:68
CLASS_DEF.h
macros to associate a CLID to a type
RpcSLTriggerHit::m_isInput
bool m_isInput
Definition:
RpcSLTriggerHit.h:80
RpcSLTriggerHit::m_roi
uint16_t m_roi
Definition:
RpcSLTriggerHit.h:69
RpcSLTriggerHit::m_overlapEta
uint16_t m_overlapEta
Definition:
RpcSLTriggerHit.h:74
Generated on Thu Nov 7 2024 21:25:08 for ATLAS Offline Software by
1.8.18