25 minBX_(iConfig.getParameter<
int>(
"minBX")),
26 maxBX_(iConfig.getParameter<
int>(
"maxBX")),
27 eta1_(iConfig.getParameter<
std::vector<
int> >(
"cotTheta_1")),
28 eta2_(iConfig.getParameter<
std::vector<
int> >(
"cotTheta_2")),
29 eta3_(iConfig.getParameter<
std::vector<
int> >(
"cotTheta_3")),
54 int sector = phiS.
scNum();
57 int phiB = phiS.
phiB();
92 bx,quality,eta1,eta2,qeta1,qeta2);
104 int sector = phiS.
scNum();
107 int phiB = phiS.
phiB();
119 bx,quality,eta1,eta2,qeta1,qeta2);
147 for (
uint sector=0;sector<12;sector++) {
195 if (tseta && (!etaMask)) {
204 if (high && (!phiMask)) {
217 if (low && ! (phiMask)) {
253 if (sector==0 || sector==3 ||sector==4 ||sector==7 ||sector==8 ||sector==11)
290 previousSector=sector-1;
294 os<<
"I "<<sector<<
" ";
302 if (seg1 && seg1->
phi()>111) {
303 os<<seg1->
phi()-2144<<
" "<<seg1->
phiB()<<
" "<<seg1->
code()<<
" 1 4 " ;
306 os<<
"-2048 0 0 0 15 ";
309 if (seg2 && seg2->
phi()>111) {
310 os<<seg2->
phi()-2144<<
" "<<seg2->
phiB()<<
" "<<seg2->
code()<<
" 1 4 " ;
313 os<<
"-2048 0 0 0 15 ";
316 if (seg3 && seg3->
phi()>111) {
317 os<<seg3->
phi()-2144<<
" "<<seg3->
phiB()<<
" "<<seg3->
code()<<
" 1 4 " ;
320 os<<
"-2048 0 0 0 15 ";
323 if (seg4 && seg4->
phi()>111) {
324 os<<seg4->
phi()-2144<<
" "<<seg4->
phiB()<<
" "<<seg4->
code()<<
" 1 4 " ;
327 os<<
"-2048 0 0 0 15 ";
356 if (seg5 && seg5->
phi()>111) {
357 os<<seg5->
phi()-2144<<
" "<<seg5->
phiB()<<
" "<<seg5->
code()<<
" 1 5 " ;
360 os<<
"-2048 0 0 0 15 ";
364 if (seg6 && seg6->
phi()>111) {
365 os<<seg6->
phi()-2144<<
" "<<seg6->
phiB()<<
" "<<seg6->
code()<<
" 1 5 " ;
368 os<<
"-2048 0 0 0 15 ";
371 if (seg7 && seg7->
phi()>111) {
372 os<<seg7->
phi()-2144<<
" "<<seg7->
phiB()<<
" "<<seg7->
code()<<
" 1 5 " ;
375 os<<
"-2048 0 0 0 15 ";
378 if (seg8 && seg8->
phi()>111) {
379 os<<seg8->
phi()-2144<<
" "<<seg8->
phiB()<<
" "<<seg8->
code()<<
" 1 5 " ;
382 os<<
"-2048 0 0 0 15 ";
409 os<<seg9->
phi()<<
" "<<seg9->
phiB()<<
" "<<seg9->
code()<<
" 1 0 " ;
412 os<<
"-2048 0 0 0 15 ";
417 os<<seg10->
phi()<<
" "<<seg10->
phiB()<<
" "<<seg10->
code()<<
" 1 0 " ;
420 os<<
"-2048 0 0 0 15 ";
425 os<<seg11->
phi()<<
" "<<seg11->
phiB()<<
" "<<seg11->
code()<<
" 1 0 " ;
428 os<<
"-2048 0 0 0 15 ";
433 os<<seg12->
phi()<<
" "<<seg12->
phiB()<<
" "<<seg12->
code()<<
" 1 0 " ;
436 os<<
"-2048 0 0 0 15 ";
466 os<<seg13->
phi()<<
" "<<seg13->
phiB()<<
" "<<seg13->
code()<<
" 1 1 " ;
469 os<<
"-2048 0 0 0 15 ";
476 os<<seg14->
phi()<<
" "<<seg14->
phiB()<<
" "<<seg14->
code()<<
" 1 1 " ;
479 os<<
"-2048 0 0 0 15 ";
486 os<<seg15->
phi()<<
" "<<seg15->
phiB()<<
" "<<seg15->
code()<<
" 1 1 " ;
489 os<<
"-2048 0 0 0 15 ";
495 os<<seg16->
phi()<<
" "<<seg16->
phiB()<<
" "<<seg16->
code()<<
" 1 1 " ;
498 os<<
"-2048 0 0 0 15 ";
526 if (seg17 && seg17->
phi()<-112) {
527 os<<seg17->
phi()+2144<<
" "<<seg17->
phiB()<<
" "<<seg17->
code()<<
" 1 2 " ;
530 os<<
"-2048 0 0 0 15 ";
533 if (seg18 && seg18->
phi()<-112) {
534 os<<seg18->
phi()+2144<<
" "<<seg18->
phiB()<<
" "<<seg18->
code()<<
" 1 2 " ;
537 os<<
"-2048 0 0 0 15 ";
540 if (seg19 && seg19->
phi()<-112) {
541 os<<seg19->
phi()+2144<<
" "<<seg19->
phiB()<<
" "<<seg19->
code()<<
" 1 2 " ;
544 os<<
"-2048 0 0 0 15 ";
547 if (seg20 && seg20->
phi()<-112) {
548 os<<seg20->
phi()+2144<<
" "<<seg20->
phiB()<<
" "<<seg20->
code()<<
" 1 2 " ;
551 os<<
"-2048 0 0 0 15 ";
578 if (seg21 && seg21->
phi()<-112) {
579 os<<seg21->
phi()+2144<<
" "<<seg21->
phiB()<<
" "<<seg21->
code()<<
" 1 3 " ;
582 os<<
"-2048 0 0 0 15 ";
586 if (seg22 && seg22->
phi()<-112) {
587 os<<seg22->
phi()+2144<<
" "<<seg22->
phiB()<<
" "<<seg22->
code()<<
" 1 3 " ;
590 os<<
"-2048 0 0 0 15 ";
593 if (seg23 && seg23->
phi()<-112) {
594 os<<seg23->
phi()+2144<<
" "<<seg23->
phiB()<<
" "<<seg23->
code()<<
" 1 2 " ;
597 os<<
"-2048 0 0 0 15 ";
600 if (seg24 && seg24->
phi()<-112) {
601 os<<seg24->
phi()+2144<<
" "<<seg24->
phiB()<<
" "<<seg24->
code()<<
" 1 2 " ;
604 os<<
"-2048 0 0 0 15 ";
L1MuKBMTCombinedStub buildStub(const L1MuDTChambPhDigi &, const L1MuDTChambThDigi *)
L1MuKBMTCombinedStub buildStubNoEta(const L1MuDTChambPhDigi &)
bool get_etsoc_chdis_st3(int wh, int sc) const
L1MuDTChambPhDigi const * chPhiSegm1(int wheel, int stat, int sect, int bx) const
L1MuDTChambPhDigi const * chPhiSegm2(int wheel, int stat, int sect, int bx) const
L1MuKBMTCombinedStubCollection makeStubs(const L1MuDTChambPhContainer *, const L1MuDTChambThContainer *, const L1TMuonBarrelParams &)
bool get_inrec_chdis_st1(int wh, int sc) const
bool get_inrec_chdis_st3(int wh, int sc) const
int quality(const int i) const
int position(const int i) const
L1TMuonBarrelKalmanStubProcessor()
void makeInputPattern(const L1MuDTChambPhContainer *phiContainer, const L1MuDTChambThContainer *etaContainer, int sector)
L1MuDTTFMasks l1mudttfmasks
bool get_inrec_chdis_st2(int wh, int sc) const
bool isGoodPhiStub(const L1MuDTChambPhDigi *)
bool get_etsoc_chdis_st2(int wh, int sc) const
bool get_inrec_chdis_st4(int wh, int sc) const
int calculateEta(uint, int, uint, uint)
L1MuDTChambThDigi const * chThetaSegm(int wheel, int stat, int sect, int bx) const
~L1TMuonBarrelKalmanStubProcessor()
bool get_etsoc_chdis_st1(int wh, int sc) const
std::vector< L1MuKBMTCombinedStub > L1MuKBMTCombinedStubCollection