ATLAS Offline Software
Loading...
Searching...
No Matches
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
16typedef unsigned short int ubit16;
17
18class MsgStream;
19
21
22 private:
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
42
43 // Full constructor number 2.
44 // to be used for ijk=7
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
74MsgStream& operator << ( MsgStream& sl, const RpcFiredChannel& coll);
75
77std::ostream& operator << ( std::ostream& sl, const RpcFiredChannel& coll);
78
79
80#endif
unsigned short int ubit16
MsgStream & operator<<(MsgStream &sl, const RpcFiredChannel &coll)
Overload of << operator for MsgStream for debug output.
ubit16 bcid() const
ubit16 thr() const
ubit16 channel() const
ubit16 ovl() const
ubit16 ijk() const
virtual ~RpcFiredChannel()
friend class RpcFiredChannelCnv_p1
ubit16 time() const