16 debu pad_struc_debug,
debu rx_struc_debug,
30 CMAdata::PatternsList::iterator it = list.begin();
32 while(it != list.end())
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();
39 std::pair < CMA_Readout::iterator, bool> ins =
40 m_cma_readout.insert(CMA_Readout::value_type(key,CMAreadout(*it, NOBXS, BCZERO)));
43 log << MSG::ERROR <<
"Found duplicate CMA readout into CMA data!" << endmsg;
49 build_pad_readout(log, NOBXS);
50 if(m_filename !=
"" ) dump_rpc_bytestream();
79 for (
int i=0;i<64;++i)
81 for(
int j=0;j<=10;++j)
83 int kPAD_lw = i * 10000 + j * 100;
84 int kPAD_hg = i * 10000 + j * 100 + 99;
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);
89 if(distance(PAD_l,PAD_h) )
91 int SLid = (*PAD_l).second.sector();
92 int PADid = (*PAD_l).second.id().PAD_index();
95 int key = SLid * 100 + PADid;
99 log << MSG::ERROR <<
"Key doesn't correspond to CMA Sector Id!" <<
endmsg;
102 for (CMA_Readout::iterator it = PAD_l; it != PAD_h; ++it)
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
114 std::pair < PAD_Readout::iterator, bool> ins =
118 log << MSG::ERROR <<
"Found duplicate PAD readout into CMA data!" <<
endmsg;
135 PadReadOut* readout = (*it).second.give_pad_readout();
char data[hepevt_bytes_allocation_ATLAS]
const std::string & name() const
std::list< CMApatterns * > PatternsList
void bytestream(std::ostream &stream)
PAD_Readout m_pad_readout
debu rx_ro_debug(void) const
debu m_pad_rostruct_debug
debu pad_ro_debug(void) const
const std::string & filename(void) const
debu m_cma_rostruct_debug
debu rx_rostruct_debug(void) const
debu pad_rostruct_debug(void) const
void dump_rpc_bytestream(void)
debu sl_ro_debug(void) const
const PAD_Readout & pad_readout(void) const
CMA_Readout m_cma_readout
RPCbytestream(CMAdata &, const std::string &, MsgStream &, debu, debu, debu, debu, debu, debu, debu, debu, uint, uint)
debu cma_rostruct_debug(void) const
debu sl_rostruct_debug(void) const
void build_pad_readout(MsgStream &log, uint NOBXS)
debu cma_ro_debug(void) const
const CMA_Readout & cma_readout(void) const
RPCtrigDataObject(int, const std::string &)