ATLAS Offline Software
RpcFiredChannel.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 // RpcFiredChannel.h
6 
7 #ifndef RpcFiredChannelH
8 #define RpcFiredChannelH
9 
10 // M.Grothe, 28/11/02
11 // K. Assamagan 06/12/02
12 
13 #include <vector>
14 #include <iostream>
15 
16 typedef unsigned short int ubit16;
17 
18 class MsgStream;
19 
21 
22  private:
23  friend class RpcFiredChannelCnv_p1;
24 
25 
32 
33  public:
34 
35  // Default constructor.
37 
38  // Full constructor number 1.
39  // to be used for ijk between 0 and 6
41  ubit16 channel);
42 
43  // Full constructor number 2.
44  // to be used for ijk=7
46  ubit16 thr, ubit16 ovl);
47 
48  // virtual destructor to have VMT for persistency
49  virtual ~RpcFiredChannel() {}
50 
51  // return bunch crossing id
52  ubit16 bcid() const { return m_bcid; }
53  // return time
54  ubit16 time() const { return m_time; }
55  // return ijk
56  ubit16 ijk() const { return m_ijk; }
57  // return channel
58  ubit16 channel() const { return m_channel; }
59  // return if channels in pivot that caused trigger were in
60  // chamber overlap region
61  ubit16 ovl() const {return m_ovl; }
62  //return and/or of those hits in the pivot that caused a
63  //trigger, i.e. belong to a RPC track that was above the lowest (?) of
64  // the three trigger pt tresholds
65  ubit16 thr() const {return m_thr; }
66 
67 
68  private:
69 
70  // Private methods.
71 };
72 
74 MsgStream& operator << ( MsgStream& sl, const RpcFiredChannel& coll);
75 
77 std::ostream& operator << ( std::ostream& sl, const RpcFiredChannel& coll);
78 
79 
80 #endif
RpcFiredChannel::ijk
ubit16 ijk() const
Definition: RpcFiredChannel.h:56
RpcFiredChannel::m_time
ubit16 m_time
Definition: RpcFiredChannel.h:27
RpcFiredChannel::time
ubit16 time() const
Definition: RpcFiredChannel.h:54
operator<<
MsgStream & operator<<(MsgStream &sl, const RpcFiredChannel &coll)
Overload of << operator for MsgStream for debug output.
Definition: RpcFiredChannel.cxx:31
RpcFiredChannel::m_ovl
ubit16 m_ovl
Definition: RpcFiredChannel.h:30
RpcFiredChannel::ovl
ubit16 ovl() const
Definition: RpcFiredChannel.h:61
RpcFiredChannel::thr
ubit16 thr() const
Definition: RpcFiredChannel.h:65
RpcFiredChannel::channel
ubit16 channel() const
Definition: RpcFiredChannel.h:58
ubit16
unsigned short int ubit16
Definition: RpcFiredChannel.h:16
RpcFiredChannel
Definition: RpcFiredChannel.h:20
RpcFiredChannel::m_thr
ubit16 m_thr
Definition: RpcFiredChannel.h:31
RpcFiredChannel::RpcFiredChannel
RpcFiredChannel()
Definition: RpcFiredChannel.cxx:12
RpcFiredChannel::m_ijk
ubit16 m_ijk
Definition: RpcFiredChannel.h:28
RpcFiredChannelCnv_p1
Definition: RpcFiredChannelCnv_p1.h:20
RpcFiredChannel::~RpcFiredChannel
virtual ~RpcFiredChannel()
Definition: RpcFiredChannel.h:49
RpcFiredChannel::bcid
ubit16 bcid() const
Definition: RpcFiredChannel.h:52
ubit16
unsigned short int ubit16
Definition: RpcByteStreamEncoder.h:20
RpcFiredChannel::m_bcid
ubit16 m_bcid
Definition: RpcFiredChannel.h:26
RpcFiredChannel::m_channel
ubit16 m_channel
Definition: RpcFiredChannel.h:29