25 if (
this != &right ) {
28 for(
size_t ip=0; ip<right.
m_data[idSys].size(); ip++){
29 int bc=((right.
m_data[idSys]).at(ip)).first;
31 m_data[idSys].emplace_back(bc,std::move(vSL));
43 size_t subSystemAddress,
48 for(
size_t ip=0; ip<
m_data[systemAddress].size(); ip++){
49 int bc=((
m_data[systemAddress]).at(ip)).first;
50 if (bc != bcid)
continue;
52 return *(vecSL.at(
getSystemIndex(systemAddress,subSystemAddress,sectorAddress)));
60 size_t subSystemAddress,
64 if (
isEmpty(systemAddress,bcid)) {
65 ip =
reserve( systemAddress, bcid );
71 size_t idx=
getSystemIndex(systemAddress,subSystemAddress,sectorAddress);
72 if ( systemAddress ==
Barrel ) {
74 }
else if ( systemAddress ==
Endcap ) {
76 }
else if ( systemAddress ==
Forward ) {
84 size_t subSystemAddress,
89 if ( systemAddress ==
Barrel ) {
91 }
else if ( systemAddress ==
Endcap ) {
93 }
else if ( systemAddress ==
Forward ) {
105 if (
this == &right )
return;
108 for(
size_t ip=0; ip<right.
m_data[idSys].size(); ip++){
109 int bc=((right.
m_data[idSys]).at(ip)).first;
112 m_data[idSys].emplace_back(bc,std::move(vSL));
126 if ( systemAddress ==
Barrel ) {
129 vecSL.emplace_back(std::make_shared<Lvl1MuBarrelSectorLogicData>());
132 }
else if ( systemAddress ==
Endcap ) {
135 vecSL.emplace_back(std::make_shared<Lvl1MuEndcapSectorLogicData>());
138 }
else if ( systemAddress ==
Forward ) {
141 vecSL.emplace_back(std::make_shared<Lvl1MuForwardSectorLogicData>());
145 size_t ip =
m_data[systemAddress].size();
146 m_data[systemAddress].emplace_back( bcid, std::move(vecSL) );
156 for(
size_t ip=0; ip<
m_data[systemAddress].size(); ip++){
157 int bc=((
m_data[systemAddress]).at(ip)).first;
158 if (bc == bcid)
return false;
174 std::cout <<
"TW: SysAd: in " << systemAddress <<
" size: " <<
m_data[systemAddress].size() << std::endl;
175 m_data[systemAddress].clear();
220 size_t systemAddress;
221 size_t subSystemAddress;
224 out <<
"--------- Barrel Sector ---------------------------" << std::endl;
228 out <<
" ------ A Side (Z>0) ---------------------------" << std::endl;
229 subSystemAddress = right.
idSideA();
231 out <<
" ------ C Side (Z<0) ---------------------------" << std::endl;
232 subSystemAddress = right.
idSideC();
235 out <<
" --- Sector ID : " <<
id <<
" ----------" << std::endl;
236 for(
size_t ip=0; ip < right.
m_data[systemAddress].size(); ip++){
237 int bc=((right.
m_data[systemAddress]).at(ip)).first;
239 out <<
" BC: " << bc;
245 out <<
"--------- Endcap Sector ---------------------------" << std::endl;
249 out <<
" ------ A Side (Z>0) ---------------------------" << std::endl;
250 subSystemAddress = right.
idSideA();
252 out <<
" ------ C Side (Z<0) ---------------------------" << std::endl;
253 subSystemAddress = right.
idSideC();
256 out <<
" --- Sector ID : " <<
id <<
" ----------" << std::endl;
257 for(
size_t ip=0; ip < right.
m_data[systemAddress].size(); ip++){
258 int bc=((right.
m_data[systemAddress]).at(ip)).first;
260 out <<
" BC: " << bc;
266 out <<
"--------- Forward Sector ---------------------------" << std::endl;
270 out <<
" ------ A Side (Z>0) ---------------------------" << std::endl;
271 subSystemAddress = right.
idSideA();
273 out <<
" ------ C Side (Z<0) ---------------------------" << std::endl;
274 subSystemAddress = right.
idSideC();
277 out <<
" --- Sector ID : " <<
id <<
" ----------" << std::endl;
278 for(
size_t ip=0; ip < right.
m_data[systemAddress].size(); ip++){
279 int bc=((right.
m_data[systemAddress]).at(ip)).first;
281 out <<
" BC: " << bc;
char data[hepevt_bytes_allocation_ATLAS]
Class representing data from a barrel SL board.
Class representing data from an endcap SL board.
Class representing data from a forward SL board.
Base class for the data coming from one SL board.
virtual const Lvl1MuSectorLogicData & convertFromWordFormat(const SectorLogicWord &)=0
Convert SectorLogicData from 32 bit word data.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Namespace for the LVL1 muon interface classes.
std::ostream & operator<<(std::ostream &out, const Lvl1MuCTPIInput &right)