ATLAS Offline Software
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 
17 
18  public:
19 
20  // Default constructor
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,
35  const uint16_t triggerBcid) :
37  m_padid(padid),
38  m_ptid(ptid),
39  m_roi(roi),
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 
58  bool isInput() const {return m_isInput;}
59 
60  // set methods
62 
63  private:
64 
65  // bc within within the readout window
70 
71  // Info variables split
75 
76  // bc of trigger hit
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