17 if ((Line6ECB - Line6BCB) != 0) {
18 for (
int i = 0;
i < (Line6ECB - Line6BCB - 1);
i++) {
24 return (Line6ECB - Line6BCB + 1);
29 std::vector<std::vector<int> > CFEBnByLayers;
30 CFEBnByLayers.clear();
31 std::vector<int> CFEBnData;
38 if (idCFEB == CFEBn) {
39 CFEBnData.push_back(
getData()[
i] & 0xFFF);
44 std::vector<int> Layer0, Layer1, Layer2, Layer3, Layer4, Layer5;
52 for (
int k = 0;
k < (
int)CFEBnData.size(); ++
k) {
53 for (
int j = 0;
j < 12;
j++) {
55 DiStr = (CFEBnData[
k] >>
j) & 0
x1;
56 if ((DiStr != 0) && (
j < 8) && (
k == 0)) {
59 if ((DiStr != 0) && (
j > 7) && (
j < 12) && (
k == 0)) {
62 if ((DiStr != 0) && (
j < 4) && (
k == 1)) {
65 if ((DiStr != 0) && (
j > 3) && (
j < 12) && (
k == 1)) {
68 if ((DiStr != 0) && (
j < 8) && (
k == 2)) {
71 if ((DiStr != 0) && (
j > 7) && (
j < 12) && (
k == 2)) {
74 if ((DiStr != 0) && (
j < 4) && (
k == 3)) {
77 if ((DiStr != 0) && (
j > 3) && (
j < 12) && (
k == 3)) {
83 CFEBnByLayers.push_back(Layer0);
84 CFEBnByLayers.push_back(Layer1);
85 CFEBnByLayers.push_back(Layer2);
86 CFEBnByLayers.push_back(Layer3);
87 CFEBnByLayers.push_back(Layer4);
88 CFEBnByLayers.push_back(Layer5);
94 std::cout <<
" Blocked CFEB DiStrips List Content " << std::endl;
99 std::vector<std::vector<int> > anyCFEB;
101 std::vector<int> anyLayer;
104 std::cout <<
" Blocked DiStrips by CFEB and Layers unpacked " << std::endl;
105 for (
int z = 0;
z < 5; ++
z) {
109 for (
std::vector<std::vector<int> >::const_iterator layerIt = anyCFEB.begin(); layerIt != anyCFEB.end();
113 if (!anyLayer.empty()) {
114 for (
int i = 0;
i < (
int)anyLayer.size();
i++) {
118 std::cout <<
" No Blocked DiStrips on the Layer ";