#include <L1RCTNeighborMap.h>
|
std::vector< int > | east (int crate, int card, int region) |
|
std::vector< int > | ne (int crate, int card, int region) |
|
std::vector< int > | north (int crate, int card, int region) |
|
std::vector< int > | nw (int crate, int card, int region) |
|
std::vector< int > | se (int crate, int card, int region) |
|
std::vector< int > | south (int crate, int card, int region) |
|
std::vector< int > | sw (int crate, int card, int region) |
|
std::vector< int > | west (int crate, int card, int region) |
|
Definition at line 5 of file L1RCTNeighborMap.h.
vector< int > L1RCTNeighborMap::east |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 150 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
151 int newcrate(0),newcard(0),newregion(0);
152 std::vector<int>
east(3);
154 if(card != 0 && card != 1 && card != 6){
165 else if(card == 0 || card == 1){
193 if(card != 4 && card != 5){
213 east.at(0) = newcrate;
214 east.at(1) = newcard;
215 east.at(2) = newregion;
std::vector< int > east(int crate, int card, int region)
vector< int > L1RCTNeighborMap::ne |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 449 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
450 int newcrate(0),newcard(0),newregion(0);
451 std::vector<int>
ne(3);
477 else if(card == 2 || card == 4){
479 newcard = card-1+2*
region;
485 else if(card == 5 || card == 3){
487 newcard = card-3+2*
region;
506 if(card == 0 || card ==2){
508 newcard = card+1+2*
region;
514 else if(card == 1 || card == 3){
516 newcard = card-1+2*
region;
546 ne.at(2) = newregion;
std::vector< int > ne(int crate, int card, int region)
vector< int > L1RCTNeighborMap::north |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 6 of file L1RCTNeighborMap.cc.
References north(), and HLT_FULL_cff::region.
Referenced by north(), and L1RCT::shareNeighbors().
7 std::vector<int>
north(3);
8 int newregion(0),newcard(0),newcrate(0);
9 if(card == 0 || card == 2 || card == 4){
12 if(crate != 0 && crate != 9)
17 else if(card == 1 || card == 3 || card == 5){
26 if(crate != 0 && crate != 9)
37 north.at(0) = newcrate;
38 north.at(1) = newcard;
39 north.at(2) = newregion;
std::vector< int > north(int crate, int card, int region)
vector< int > L1RCTNeighborMap::nw |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 550 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
551 int newcrate(0),newcard(0),newregion(0);
552 std::vector<int>
nw(3);
559 newcrate = crate -10;
578 else if(card == 2 || card == 4){
580 newcard = card-1+2*
region;
586 else if(card == 5 || card == 3){
588 newcard = card-3+2*
region;
607 if(card == 0 || card ==2){
609 newcard = card+1+2*
region;
615 else if(card == 1 || card == 3){
617 newcard = card-1+2*
region;
647 nw.at(2) = newregion;
std::vector< int > nw(int crate, int card, int region)
vector< int > L1RCTNeighborMap::se |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 219 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
220 int newcrate(0),newcard(0),newregion(0);
221 std::vector<int>
se(3);
253 else if(card == 2 || card == 4){
256 newcard = card-1+2*
region;
258 else if(card == 5 || card == 3){
260 newcard = card-3+2*
region;
283 if(card == 0 || card == 2){
286 newcard = card+2*region+1;
288 else if(card == 1 || card == 3){
290 newcard = card-1+2*
region;
330 se.at(2) = newregion;
std::vector< int > se(int crate, int card, int region)
vector< int > L1RCTNeighborMap::south |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 43 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
44 int newcrate(0),newcard(0),newregion(0);
45 std::vector<int>
south(3);
46 if(card == 0 || card == 2 || card == 4){
51 else if(card == 1 || card == 3 || card == 5){
54 if(crate != 8 && crate != 17)
68 if(crate != 8 && crate != 17)
74 south.at(0) = newcrate;
75 south.at(1) = newcard;
76 south.at(2) = newregion;
std::vector< int > south(int crate, int card, int region)
vector< int > L1RCTNeighborMap::sw |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |
Definition at line 334 of file L1RCTNeighborMap.cc.
References HLT_FULL_cff::region.
Referenced by L1RCT::shareNeighbors().
335 int newcrate(0),newcard(0),newregion(0);
336 std::vector<int>
sw(3);
368 else if(card == 2 || card == 4){
371 newcard = card-1+2*
region;
373 else if(card == 5 || card == 3){
375 newcard = card-3+2*
region;
398 if(card == 0 || card == 2){
401 newcard = card+1+2*
region;
403 else if(card == 1 || card == 3){
405 newcard = card-1+2*
region;
445 sw.at(2) = newregion;
std::vector< int > sw(int crate, int card, int region)
vector< int > L1RCTNeighborMap::west |
( |
int |
crate, |
|
|
int |
card, |
|
|
int |
region |
|
) |
| |