#include <RPCbytestream.h>
|
| | RPCbytestream (CMAdata &, const std::string &, MsgStream &, debu, debu, debu, debu, debu, debu, debu, debu, uint, uint) |
| | RPCbytestream (const RPCbytestream &) |
| | ~RPCbytestream () |
| debu | cma_ro_debug (void) const |
| debu | pad_ro_debug (void) const |
| debu | rx_ro_debug (void) const |
| debu | sl_ro_debug (void) const |
| debu | cma_rostruct_debug (void) const |
| debu | pad_rostruct_debug (void) const |
| debu | rx_rostruct_debug (void) const |
| debu | sl_rostruct_debug (void) const |
| const std::string & | filename (void) const |
| const CMA_Readout & | cma_readout (void) const |
| const PAD_Readout & | pad_readout (void) const |
| void | set_number (int) |
| int | number (void) const |
| void | PrintElement (std::ostream &, std::string, bool) const |
| void | Print (std::ostream &, bool) const |
| ObjectType | tag () const |
| const std::string & | name () const |
Definition at line 19 of file RPCbytestream.h.
◆ CMA_Readout
◆ debu
◆ PAD_Readout
◆ RPCbytestream() [1/2]
| RPCbytestream::RPCbytestream |
( |
CMAdata & | data, |
|
|
const std::string & | filename, |
|
|
MsgStream & | log, |
|
|
debu | cma_debug, |
|
|
debu | pad_debug, |
|
|
debu | rx_debug, |
|
|
debu | sl_debug, |
|
|
debu | cma_struc_debug, |
|
|
debu | pad_struc_debug, |
|
|
debu | rx_struc_debug, |
|
|
debu | sl_struc_debug, |
|
|
uint | NOBXS, |
|
|
uint | BCZERO ) |
Definition at line 13 of file RPCbytestream.cxx.
17 :
28{
30 CMAdata::PatternsList::iterator
it =
list.begin();
31
32 while(it !=
list.end())
33 {
34 int key = (*it)->sector() * 10000 +
35 (*it)->cma_parameters().id().PAD_index() * 100 +
36 (*it)->cma_parameters().id().type() * 10 +
37 (*it)->cma_parameters().id().Ixx_index();
38
39 std::pair < CMA_Readout::iterator, bool> ins =
40 m_cma_readout.insert(CMA_Readout::value_type(key,CMAreadout(*it, NOBXS, BCZERO)));
41 if(!ins.second)
42 {
43 log << MSG::ERROR <<
"Found duplicate CMA readout into CMA data!" <<
endmsg;
44 }
45
47 }
48
51}
char data[hepevt_bytes_allocation_ATLAS]
std::list< CMApatterns * > PatternsList
debu m_pad_rostruct_debug
const std::string & filename(void) const
debu m_cma_rostruct_debug
void dump_rpc_bytestream(void)
CMA_Readout m_cma_readout
void build_pad_readout(MsgStream &log, uint NOBXS)
RPCtrigDataObject(int, const std::string &)
◆ RPCbytestream() [2/2]
Definition at line 53 of file RPCbytestream.cxx.
53 :
66{
67}
const std::string & name() const
PAD_Readout m_pad_readout
debu rx_ro_debug(void) const
debu pad_ro_debug(void) const
debu rx_rostruct_debug(void) const
debu pad_rostruct_debug(void) const
debu sl_ro_debug(void) const
const PAD_Readout & pad_readout(void) const
debu cma_rostruct_debug(void) const
debu sl_rostruct_debug(void) const
debu cma_ro_debug(void) const
const CMA_Readout & cma_readout(void) const
◆ ~RPCbytestream()
| RPCbytestream::~RPCbytestream |
( |
| ) |
|
◆ build_pad_readout()
| void RPCbytestream::build_pad_readout |
( |
MsgStream & | log, |
|
|
uint | NOBXS ) |
|
private |
Definition at line 77 of file RPCbytestream.cxx.
78{
79 for (
int i=0;
i<64;++
i)
80 {
81 for(int j=0;j<=10;++j)
82 {
83 int kPAD_lw =
i * 10000 + j * 100;
84 int kPAD_hg =
i * 10000 + j * 100 + 99;
85
86 CMA_Readout::iterator PAD_l =
m_cma_readout.lower_bound(kPAD_lw);
87 CMA_Readout::iterator PAD_h =
m_cma_readout.upper_bound(kPAD_hg);
88
90 {
91 int SLid = (*PAD_l).second.sector();
92 int PADid = (*PAD_l).second.id().PAD_index();
94
95 int key = SLid * 100 + PADid;
96
97 if(SLid != i)
98 {
99 log << MSG::ERROR <<
"Key doesn't correspond to CMA Sector Id!" <<
endmsg;
100 }
101
102 for (CMA_Readout::iterator it = PAD_l;
it != PAD_h; ++
it)
103 {
104 auto cma_readout = (*it).second.give_matrix_readout(log, NOBXS);
106 if (
log.level() <= MSG::DEBUG) {
107 log << MSG::DEBUG <<
"Dump of the matrices readout into PAD " << PADid
108 << endl
111 }
112 }
113
114 std::pair < PAD_Readout::iterator, bool> ins =
116 if(!ins.second)
117 {
118 log << MSG::ERROR <<
"Found duplicate PAD readout into CMA data!" <<
endmsg;
119 }
120 }
121 }
122 }
123}
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
◆ cma_readout()
| const CMA_Readout & RPCbytestream::cma_readout |
( |
void | | ) |
const |
|
inline |
◆ cma_ro_debug()
| debu RPCbytestream::cma_ro_debug |
( |
void | | ) |
const |
|
inline |
◆ cma_rostruct_debug()
| debu RPCbytestream::cma_rostruct_debug |
( |
void | | ) |
const |
|
inline |
◆ dump_rpc_bytestream()
| void RPCbytestream::dump_rpc_bytestream |
( |
void | | ) |
|
|
private |
Definition at line 126 of file RPCbytestream.cxx.
127{
130
131
134 {
135 PadReadOut* readout = (*it).second.give_pad_readout();
136
138
140
142 }
143}
void bytestream(std::ostream &stream)
◆ filename()
| const std::string & RPCbytestream::filename |
( |
void | | ) |
const |
|
inline |
◆ name()
| const std::string & BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ number()
| int RPCtrigDataObject::number |
( |
void | | ) |
const |
|
inlineinherited |
◆ pad_readout()
| const PAD_Readout & RPCbytestream::pad_readout |
( |
void | | ) |
const |
|
inline |
◆ pad_ro_debug()
| debu RPCbytestream::pad_ro_debug |
( |
void | | ) |
const |
|
inline |
◆ pad_rostruct_debug()
| debu RPCbytestream::pad_rostruct_debug |
( |
void | | ) |
const |
|
inline |
◆ Print()
| void RPCtrigDataObject::Print |
( |
std::ostream & | stream, |
|
|
bool | detail ) const |
|
virtualinherited |
◆ PrintElement()
| void RPCtrigDataObject::PrintElement |
( |
std::ostream & | , |
|
|
std::string | , |
|
|
bool | ) const |
|
inlineinherited |
◆ rx_ro_debug()
| debu RPCbytestream::rx_ro_debug |
( |
void | | ) |
const |
|
inline |
◆ rx_rostruct_debug()
| debu RPCbytestream::rx_rostruct_debug |
( |
void | | ) |
const |
|
inline |
◆ set_number()
| void RPCtrigDataObject::set_number |
( |
int | number | ) |
|
|
inherited |
◆ sl_ro_debug()
| debu RPCbytestream::sl_ro_debug |
( |
void | | ) |
const |
|
inline |
◆ sl_rostruct_debug()
| debu RPCbytestream::sl_rostruct_debug |
( |
void | | ) |
const |
|
inline |
◆ tag()
◆ m_cma_readout
◆ m_cma_ro_debug
| debu RPCbytestream::m_cma_ro_debug |
|
private |
◆ m_cma_rostruct_debug
| debu RPCbytestream::m_cma_rostruct_debug |
|
private |
◆ m_filename
| std::string RPCbytestream::m_filename |
|
private |
◆ m_name
| std::string BaseObject::m_name |
|
privateinherited |
◆ m_number
| int RPCtrigDataObject::m_number |
|
privateinherited |
◆ m_pad_readout
◆ m_pad_ro_debug
| debu RPCbytestream::m_pad_ro_debug |
|
private |
◆ m_pad_rostruct_debug
| debu RPCbytestream::m_pad_rostruct_debug |
|
private |
◆ m_rx_ro_debug
| debu RPCbytestream::m_rx_ro_debug |
|
private |
◆ m_rx_rostruct_debug
| debu RPCbytestream::m_rx_rostruct_debug |
|
private |
◆ m_sl_ro_debug
| debu RPCbytestream::m_sl_ro_debug |
|
private |
◆ m_sl_rostruct_debug
| debu RPCbytestream::m_sl_rostruct_debug |
|
private |
◆ m_tag
The documentation for this class was generated from the following files: