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)) {
206 if (high && (!phiMask)) {
219 if (low && ! (phiMask)) {
255 if (sector==0 || sector==3 ||sector==4 ||sector==7 ||sector==8 ||sector==11)
292 previousSector=sector-1;
296 os<<
"I "<<sector<<
" ";
304 if (seg1 && seg1->
phi()>111) {
305 os<<seg1->
phi()-2144<<
" "<<seg1->
phiB()<<
" "<<seg1->
code()<<
" 1 4 " ;
308 os<<
"-2048 0 0 0 15 ";
311 if (seg2 && seg2->
phi()>111) {
312 os<<seg2->
phi()-2144<<
" "<<seg2->
phiB()<<
" "<<seg2->
code()<<
" 1 4 " ;
315 os<<
"-2048 0 0 0 15 ";
318 if (seg3 && seg3->
phi()>111) {
319 os<<seg3->
phi()-2144<<
" "<<seg3->
phiB()<<
" "<<seg3->
code()<<
" 1 4 " ;
322 os<<
"-2048 0 0 0 15 ";
325 if (seg4 && seg4->
phi()>111) {
326 os<<seg4->
phi()-2144<<
" "<<seg4->
phiB()<<
" "<<seg4->
code()<<
" 1 4 " ;
329 os<<
"-2048 0 0 0 15 ";
358 if (seg5 && seg5->
phi()>111) {
359 os<<seg5->
phi()-2144<<
" "<<seg5->
phiB()<<
" "<<seg5->
code()<<
" 1 5 " ;
362 os<<
"-2048 0 0 0 15 ";
366 if (seg6 && seg6->
phi()>111) {
367 os<<seg6->
phi()-2144<<
" "<<seg6->
phiB()<<
" "<<seg6->
code()<<
" 1 5 " ;
370 os<<
"-2048 0 0 0 15 ";
373 if (seg7 && seg7->
phi()>111) {
374 os<<seg7->
phi()-2144<<
" "<<seg7->
phiB()<<
" "<<seg7->
code()<<
" 1 5 " ;
377 os<<
"-2048 0 0 0 15 ";
380 if (seg8 && seg8->
phi()>111) {
381 os<<seg8->
phi()-2144<<
" "<<seg8->
phiB()<<
" "<<seg8->
code()<<
" 1 5 " ;
384 os<<
"-2048 0 0 0 15 ";
411 os<<seg9->
phi()<<
" "<<seg9->
phiB()<<
" "<<seg9->
code()<<
" 1 0 " ;
414 os<<
"-2048 0 0 0 15 ";
419 os<<seg10->
phi()<<
" "<<seg10->
phiB()<<
" "<<seg10->
code()<<
" 1 0 " ;
422 os<<
"-2048 0 0 0 15 ";
427 os<<seg11->
phi()<<
" "<<seg11->
phiB()<<
" "<<seg11->
code()<<
" 1 0 " ;
430 os<<
"-2048 0 0 0 15 ";
435 os<<seg12->
phi()<<
" "<<seg12->
phiB()<<
" "<<seg12->
code()<<
" 1 2 " ;
438 os<<
"-2048 0 0 0 15 ";
468 os<<seg13->
phi()<<
" "<<seg13->
phiB()<<
" "<<seg13->
code()<<
" 1 1 " ;
471 os<<
"-2048 0 0 0 15 ";
478 os<<seg14->
phi()<<
" "<<seg14->
phiB()<<
" "<<seg14->
code()<<
" 1 1 " ;
481 os<<
"-2048 0 0 0 15 ";
488 os<<seg15->
phi()<<
" "<<seg15->
phiB()<<
" "<<seg15->
code()<<
" 1 1 " ;
491 os<<
"-2048 0 0 0 15 ";
497 os<<seg16->
phi()<<
" "<<seg16->
phiB()<<
" "<<seg16->
code()<<
" 1 1 " ;
500 os<<
"-2048 0 0 0 15 ";
528 if (seg17 && seg17->
phi()<-112) {
529 os<<seg17->
phi()+2144<<
" "<<seg17->
phiB()<<
" "<<seg17->
code()<<
" 1 2 " ;
532 os<<
"-2048 0 0 0 15 ";
535 if (seg18 && seg18->
phi()<-112) {
536 os<<seg18->
phi()+2144<<
" "<<seg18->
phiB()<<
" "<<seg18->
code()<<
" 1 2 " ;
539 os<<
"-2048 0 0 0 15 ";
542 if (seg19 && seg19->
phi()<-112) {
543 os<<seg19->
phi()+2144<<
" "<<seg19->
phiB()<<
" "<<seg19->
code()<<
" 1 2 " ;
546 os<<
"-2048 0 0 0 15 ";
549 if (seg20 && seg20->
phi()<-112) {
550 os<<seg20->
phi()+2144<<
" "<<seg20->
phiB()<<
" "<<seg20->
code()<<
" 1 2 " ;
553 os<<
"-2048 0 0 0 15 ";
580 if (seg21 && seg21->
phi()<-112) {
581 os<<seg21->
phi()+2144<<
" "<<seg21->
phiB()<<
" "<<seg21->
code()<<
" 1 3 " ;
584 os<<
"-2048 0 0 0 15 ";
588 if (seg22 && seg22->
phi()<-112) {
589 os<<seg22->
phi()+2144<<
" "<<seg22->
phiB()<<
" "<<seg22->
code()<<
" 1 3 " ;
592 os<<
"-2048 0 0 0 15 ";
595 if (seg23 && seg23->
phi()<-112) {
596 os<<seg23->
phi()+2144<<
" "<<seg23->
phiB()<<
" "<<seg23->
code()<<
" 1 3 " ;
599 os<<
"-2048 0 0 0 15 ";
602 if (seg24 && seg24->
phi()<-112) {
603 os<<seg24->
phi()+2144<<
" "<<seg24->
phiB()<<
" "<<seg24->
code()<<
" 1 3 " ;
606 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