68 int month = atoi(
theVersion.substr(3, 2).c_str());
69 if (
year < 2012 || (
year == 2012 && month < 11))
75 for (
unsigned int idcc = 0; idcc <
theDccs.size(); idcc++) {
77 for (
int itb = lastTB; itb < lastTB +
theDccs[idcc].nTBs; itb++) {
81 for (
int ilb = lastLB; ilb < lastLB +
theLinks[
ilink].nLBs; ilb++) {
83 for (
int ifeb = lastFeb; ifeb < lastFeb +
theLBs[ilb].nFebs; ifeb++) {
86 char febZRadOrnt = ((
theFebs[ifeb].theChamber) / 1000) % 5;
87 char febZOrnt = ((
theFebs[ifeb].theChamber) / 5000) % 2;
88 char diskOrWheel = ((
theFebs[ifeb].theChamber) / 10000) % 10 - diskOffset;
90 char barrelOrEndcap = (
theFebs[ifeb].theChamber) / 1000000;
93 char cmsEtaPartition = (
theFebs[ifeb].thePartition) / 1000;
94 char positionInCmsEtaPartition = ((
theFebs[ifeb].thePartition) % 1000) / 100;
95 char localEtaPartition = ((
theFebs[ifeb].thePartition) % 100) / 10;
96 char positionInLocalEtaPartition = (
theFebs[ifeb].thePartition) % 10;
98 cmsEtaPartition, positionInCmsEtaPartition, localEtaPartition, positionInLocalEtaPartition};
100 febConnector.addStrips(
theFebs[ifeb].theAlgo);
101 lb.add(febConnector);
105 lastFeb +=
theLBs[ilb].nFebs;
111 lastLink +=
theTBs[itb].nLinks;
ALPAKA_FN_ACC int dcc(int ieta, int iphi)
std::vector< tbItem > theTBs
year
get the greatest golden json
std::vector< dccItem > theDccs
std::vector< febItem > theFebs
void add(const DccSpec &dcc)
attach FED to map
std::vector< linkItem > theLinks
std::vector< lbItem > theLBs