ATLAS Offline Software
Loading...
Searching...
No Matches
RpcCoinMatrix.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// RpcCoincMatrix.h
6
7#ifndef RpcCoinMatrixH
8#define RpcCoinMatrixH
9
10
11// M.Grothe, 28/11/02
12// K. Assamagan 06/12/02
13
16#include "Identifier/Identifier.h"
17
18typedef unsigned short int ubit16;
19
20class RpcCoinMatrix : public DataVector<RpcFiredChannel> {
21
22 private:
23
29
30 public:
31 friend class RpcCoinMatrixCnv_p1;
32 // default constructor
35 m_fel1Id(0), m_febcId(0) {
36 //std::cout<<"RpcCoinMatrix ctor 0 ["<<this<<"]"<<std::endl;
37 };
38
39 // Partial constructor.
44 // std::cout<<"RpcCoinMatrix ctor 1 ["<<this<<"]"<<std::endl;
45 };
46
47 // Full constructor.
53 // std::cout<<"RpcCoinMatrix ctor 2 ["<<this<<"]"<<std::endl;
54 };
55
56 // virtual destructor for persistency
57 virtual ~RpcCoinMatrix() {
58 // std::cout<<"RpcCoinMatrix dtor ["<<this<<"]"<<std::endl;
59 }
60
62
63 // return the pad Identifier of this CM
64 Identifier identify() const { return m_id;}
65
66 // return the online identifier
67 ubit16 onlineId() const {return m_onlineId; }
68
69 ubit16 crc() const {return m_crc; }
70
71 ubit16 fel1Id() const {return m_fel1Id; }
72
73 ubit16 febcId() const {return m_febcId; }
74
76};
77
79MsgStream& operator << ( MsgStream& sl, const RpcCoinMatrix& coll);
80
82std::ostream& operator << ( std::ostream& sl, const RpcCoinMatrix& coll);
83
84#endif
85
86
87
88
89
90
An STL vector of pointers that by default owns its pointed-to elements.
unsigned short int ubit16
MsgStream & operator<<(MsgStream &sl, const RpcCoinMatrix &coll)
Overload of << operator for MsgStream for debug output.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Identifier identify() const
virtual ~RpcCoinMatrix()
friend class RpcCoinMatrixCnv_p1
void setCRC(ubit16 crc)
RpcCoinMatrix(const Identifier &id, ubit16 onlineId, ubit16 crc, ubit16 fel1Id, ubit16 febcId)
ubit16 crc() const
ubit16 fel1Id() const
ubit16 onlineId() const
RpcCoinMatrix & operator=(RpcCoinMatrix &&)=default
ubit16 febcId() const
Identifier m_id
RpcCoinMatrix(const Identifier &id, ubit16 onlineId, ubit16 fel1Id, ubit16 febcId)