ATLAS Offline Software
Loading...
Searching...
No Matches
LVL1MUONIF Namespace Reference

Namespace for the LVL1 muon interface classes. More...

Classes

class  Lvl1MuBarrelSectorLogicData
 Class representing data from a barrel SL board. More...
class  Lvl1MuBarrelSectorLogicDataPhase1
 Class representing data from a barrel SL board. More...
class  Lvl1MuCTPIInput
 Class representing (part of) the input data to the MuCTPI. More...
class  Lvl1MuCTPIInputPhase1
 Class representing (part of) the input data to the MuCTPI for Phase 1. More...
class  Lvl1MuEndcapSectorLogicData
 Class representing data from an endcap SL board. More...
class  Lvl1MuEndcapSectorLogicDataPhase1
 Class representing data from an endcap SL board. More...
class  Lvl1MuForwardSectorLogicData
 Class representing data from a forward SL board. More...
class  Lvl1MuForwardSectorLogicDataPhase1
 Class representing data from an forward SL board. More...
class  Lvl1MuSectorLogicData
 Base class for the data coming from one SL board. More...
class  Lvl1MuSectorLogicDataPhase1
 Base class for the data coming from one SL board. More...

Functions

std::ostream & operator<< (std::ostream &out, const Lvl1MuCTPIInput &right)
std::ostream & operator<< (std::ostream &out, const Lvl1MuCTPIInputPhase1 &right)
std::ostream & operator<< (std::ostream &out, const Lvl1MuSectorLogicData &right)
std::ostream & operator<< (std::ostream &out, const Lvl1MuSectorLogicDataPhase1 &right)

Variables

static const unsigned int NBITS_BCID [3] = {12,12,12}
static const unsigned int NBITS_ROI [3] = {5,8,8}
static const unsigned int NBITS_OVL [3] = {2,2,2}
static const unsigned int NBITS_PT [3] = {3,4,4}
static const unsigned int NBITS_CHARGE [3] = {1,1,1}
static const unsigned int NBITS_IS2CANDIDATES [3] = {1,1,1}
static const unsigned int NBITS_IS2CANDIDATESINSECTOR [3] = {1,1,1}
static const unsigned int NBITS_NSWMON [3] = {0,1,1}
static const unsigned int NBITS_BW2OR3 [3] = {0,1,1}
static const unsigned int NBITS_INNERCOIN [3] = {0,1,1}
static const unsigned int NBITS_GOODMF [3] = {0,1,1}
static const size_t NCAND [3] = {2,4,4}

Detailed Description

Namespace for the LVL1 muon interface classes.

   The classes used in the communication between the different parts
   of the LVL1 muon trigger simulation are put into this namespace.
Revision
187728
Date
2009-05-27 18:18:06 +0200 (Wed, 27 May 2009)

Function Documentation

◆ operator<<() [1/4]

std::ostream & LVL1MUONIF::operator<< ( std::ostream & out,
const Lvl1MuCTPIInput & right )

Definition at line 218 of file Lvl1MuCTPIInput.cxx.

218 {
219
220 size_t systemAddress;
221 size_t subSystemAddress;
222 size_t side, id;
223
224 out << "--------- Barrel Sector ---------------------------" << std::endl;
225 systemAddress = right.idBarrelSystem();
226 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
227 if ( side == 0 ) {
228 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
229 subSystemAddress = right.idSideA();
230 } else {
231 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
232 subSystemAddress = right.idSideC();
233 }
234 for ( id = 0; id < right.numberOfBarrelSector() ;++id ) {
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;
238 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
239 out << " BC: " << bc;
240 out << std::endl;
241 }
242 }
243 }
244
245 out << "--------- Endcap Sector ---------------------------" << std::endl;
246 systemAddress = right.idEndcapSystem();
247 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
248 if ( side == 0 ) {
249 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
250 subSystemAddress = right.idSideA();
251 } else {
252 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
253 subSystemAddress = right.idSideC();
254 }
255 for ( id = 0; id < right.numberOfEndcapSector() ;++id ) {
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;
259 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
260 out << " BC: " << bc;
261 out << std::endl;
262 }
263 }
264 }
265
266 out << "--------- Forward Sector ---------------------------" << std::endl;
267 systemAddress = right.idForwardSystem();
268 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
269 if ( side == 0 ) {
270 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
271 subSystemAddress = right.idSideA();
272 } else {
273 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
274 subSystemAddress = right.idSideC();
275 }
276 for ( id = 0; id < right.numberOfForwardSector() ;++id ) {
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;
280 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
281 out << " BC: " << bc;
282 out << std::endl;
283 }
284 }
285 }
286
287 return out;
288 }
static size_t numberOfBarrelSector()
const Lvl1MuSectorLogicData & getSectorLogicData(size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) const
static size_t numberOfForwardSector()
static size_t numberOfEndcapSector()
std::vector< Lvl1MuVectWithBC > m_data[NumberOfMuonSystem]

◆ operator<<() [2/4]

std::ostream & LVL1MUONIF::operator<< ( std::ostream & out,
const Lvl1MuCTPIInputPhase1 & right )

Definition at line 196 of file Lvl1MuCTPIInputPhase1.cxx.

196 {
197
198 size_t systemAddress;
199 size_t subSystemAddress;
200 size_t side, id;
201
202 out << "--------- Barrel Sector ---------------------------" << std::endl;
203 systemAddress = right.idBarrelSystem();
204 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
205 if ( side == 0 ) {
206 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
207 subSystemAddress = right.idSideA();
208 } else {
209 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
210 subSystemAddress = right.idSideC();
211 }
212 for ( id = 0; id < right.numberOfBarrelSector() ;++id ) {
213 out << " --- Sector ID : " << id << " ----------" << std::endl;
214 for( size_t ip=0; ip < right.m_data[systemAddress].size(); ip++){
215 int bc=((right.m_data[systemAddress]).at(ip)).first;
216 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
217 out << " BC: " << bc;
218 out << std::endl;
219 }
220 }
221 }
222
223 out << "--------- Endcap Sector ---------------------------" << std::endl;
224 systemAddress = right.idEndcapSystem();
225 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
226 if ( side == 0 ) {
227 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
228 subSystemAddress = right.idSideA();
229 } else {
230 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
231 subSystemAddress = right.idSideC();
232 }
233 for ( id = 0; id < right.numberOfEndcapSector() ;++id ) {
234 out << " --- Sector ID : " << id << " ----------" << std::endl;
235 for( size_t ip=0; ip < right.m_data[systemAddress].size(); ip++){
236 int bc=((right.m_data[systemAddress]).at(ip)).first;
237 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
238 out << " BC: " << bc;
239 out << std::endl;
240 }
241 }
242 }
243
244 out << "--------- Forward Sector ---------------------------" << std::endl;
245 systemAddress = right.idForwardSystem();
246 for ( side = 0; side < right.NumberOfMuonSubSystem; ++side ) {
247 if ( side == 0 ) {
248 out << " ------ A Side (Z>0) ---------------------------" << std::endl;
249 subSystemAddress = right.idSideA();
250 } else {
251 out << " ------ C Side (Z<0) ---------------------------" << std::endl;
252 subSystemAddress = right.idSideC();
253 }
254 for ( id = 0; id < right.numberOfForwardSector() ;++id ) {
255 out << " --- Sector ID : " << id << " ----------" << std::endl;
256 for( size_t ip=0; ip < right.m_data[systemAddress].size(); ip++){
257 int bc=((right.m_data[systemAddress]).at(ip)).first;
258 out << right.getSectorLogicData( systemAddress, subSystemAddress, id, bc );
259 out << " BC: " << bc;
260 out << std::endl;
261 }
262 }
263 }
264
265 return out;
266 }
const Lvl1MuSectorLogicDataPhase1 & getSectorLogicData(size_t systemAddress, size_t subSystemAddress, size_t sectorAddress, int bcid=0) const
std::vector< Lvl1MuVectWithBC > m_data[NumberOfMuonSystem]

◆ operator<<() [3/4]

std::ostream & LVL1MUONIF::operator<< ( std::ostream & out,
const Lvl1MuSectorLogicData & right )

Definition at line 47 of file Lvl1MuSectorLogicData.cxx.

47 {
48
49 right.printOut( out );
50 return out;
51
52 }
virtual void printOut(std::ostream &out) const
print out data

◆ operator<<() [4/4]

std::ostream & LVL1MUONIF::operator<< ( std::ostream & out,
const Lvl1MuSectorLogicDataPhase1 & right )

Definition at line 79 of file Lvl1MuSectorLogicDataPhase1.cxx.

79 {
80
81 right.printOut( out );
82 return out;
83
84 }
virtual void printOut(std::ostream &out) const =0
print out data

Variable Documentation

◆ NBITS_BCID

const unsigned int LVL1MUONIF::NBITS_BCID[3] = {12,12,12}
static

Definition at line 10 of file Lvl1MuSectorLogicConstantsPhase1.h.

10{12,12,12};

◆ NBITS_BW2OR3

const unsigned int LVL1MUONIF::NBITS_BW2OR3[3] = {0,1,1}
static

Definition at line 18 of file Lvl1MuSectorLogicConstantsPhase1.h.

18{0,1,1};

◆ NBITS_CHARGE

const unsigned int LVL1MUONIF::NBITS_CHARGE[3] = {1,1,1}
static

Definition at line 14 of file Lvl1MuSectorLogicConstantsPhase1.h.

14{1,1,1};

◆ NBITS_GOODMF

const unsigned int LVL1MUONIF::NBITS_GOODMF[3] = {0,1,1}
static

Definition at line 20 of file Lvl1MuSectorLogicConstantsPhase1.h.

20{0,1,1};

◆ NBITS_INNERCOIN

const unsigned int LVL1MUONIF::NBITS_INNERCOIN[3] = {0,1,1}
static

Definition at line 19 of file Lvl1MuSectorLogicConstantsPhase1.h.

19{0,1,1};

◆ NBITS_IS2CANDIDATES

const unsigned int LVL1MUONIF::NBITS_IS2CANDIDATES[3] = {1,1,1}
static

Definition at line 15 of file Lvl1MuSectorLogicConstantsPhase1.h.

15{1,1,1};

◆ NBITS_IS2CANDIDATESINSECTOR

const unsigned int LVL1MUONIF::NBITS_IS2CANDIDATESINSECTOR[3] = {1,1,1}
static

Definition at line 16 of file Lvl1MuSectorLogicConstantsPhase1.h.

16{1,1,1};

◆ NBITS_NSWMON

const unsigned int LVL1MUONIF::NBITS_NSWMON[3] = {0,1,1}
static

Definition at line 17 of file Lvl1MuSectorLogicConstantsPhase1.h.

17{0,1,1};

◆ NBITS_OVL

const unsigned int LVL1MUONIF::NBITS_OVL[3] = {2,2,2}
static

Definition at line 12 of file Lvl1MuSectorLogicConstantsPhase1.h.

12{2,2,2};

◆ NBITS_PT

const unsigned int LVL1MUONIF::NBITS_PT[3] = {3,4,4}
static

Definition at line 13 of file Lvl1MuSectorLogicConstantsPhase1.h.

13{3,4,4};

◆ NBITS_ROI

const unsigned int LVL1MUONIF::NBITS_ROI[3] = {5,8,8}
static

Definition at line 11 of file Lvl1MuSectorLogicConstantsPhase1.h.

11{5,8,8};

◆ NCAND

const size_t LVL1MUONIF::NCAND[3] = {2,4,4}
static

Definition at line 22 of file Lvl1MuSectorLogicConstantsPhase1.h.

22{2,4,4};