#include <SourceCardRouting.h>
Classes | |
struct | EmuToSfpData |
Public Member Functions | |
void | EMUtoSFP (unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned short(&SFP)[2][4]) const |
void | EMUtoSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], std::string &dataString) const |
void | EMUtoVHDCI (unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | LogicalCardIDtoRoutingMode (unsigned short &logicalCardID, int &RoutingMode, int &RCTCrateNumber) const |
void | RC012toSFP (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&SFP)[2][4]) const |
void | RC012toSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], std::string &dataString) const |
void | RC012toVHDCI (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | RC234toSFP (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned short(&SFP)[2][4]) const |
void | RC234toSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], std::string &dataString) const |
void | RC234toVHDCI (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | RC56HFtoSFP (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned short(&SFP)[2][4]) const |
void | RC56HFtoSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], std::string &dataString) const |
void | RC56HFtoVHDCI (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned long(&VHDCI)[2][2]) const |
void | RoutingModetoLogicalCardID (unsigned short &logicalCardID, int &RoutingMode, int &RCTCrateNumber) const |
void | SFPtoEMU (unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned short(&SFP)[2][4]) const |
void | SFPtoRC012 (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&SFP)[2][4]) const |
void | SFPtoRC234 (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned short(&SFP)[2][4]) const |
void | SFPtoRC56HF (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned short(&SFP)[2][4]) const |
void | SFPtoSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, int RoutingMode, unsigned short(&SFP)[2][4], std::string &dataString) const |
void | SFPtoVHDCI (int RoutingMode, unsigned short(&SFP)[2][4], unsigned long(&VHDCI)[2][2]) const |
SourceCardRouting () | |
void | STRINGtoVHDCI (unsigned short &logicalCardID, unsigned short &eventNumber, std::string &dataString, unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoEMU (unsigned short(&eIsoRank)[4], unsigned short(&eIsoCardId)[4], unsigned short(&eIsoRegionId)[4], unsigned short(&eNonIsoRank)[4], unsigned short(&eNonIsoCardId)[4], unsigned short(&eNonIsoRegionId)[4], unsigned short(&MIPbits)[7][2], unsigned short(&Qbits)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoRC012 (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoRC234 (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&sisterRC)[7][2], unsigned short(&sisterRCof)[7][2], unsigned short(&sisterRCtau)[7][2], unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoRC56HF (unsigned short(&RC)[7][2], unsigned short(&RCof)[7][2], unsigned short(&RCtau)[7][2], unsigned short(&HF)[4][2], unsigned short(&HFQ)[4][2], unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoSFP (int RoutingMode, unsigned short(&SFP)[2][4], unsigned long(&VHDCI)[2][2]) const |
void | VHDCItoSTRING (unsigned short &logicalCardID, unsigned short &eventNumber, std::string &dataString, unsigned long(&VHDCI)[2][2]) const |
~SourceCardRouting () | |
Definition at line 13 of file SourceCardRouting.h.
SourceCardRouting::SourceCardRouting | ( | ) |
Definition at line 17 of file SourceCardRouting.cc.
SourceCardRouting::~SourceCardRouting | ( | ) |
Definition at line 21 of file SourceCardRouting.cc.
void SourceCardRouting::EMUtoSFP | ( | unsigned short(&) | eIsoRank[4], |
unsigned short(&) | eIsoCardId[4], | ||
unsigned short(&) | eIsoRegionId[4], | ||
unsigned short(&) | eNonIsoRank[4], | ||
unsigned short(&) | eNonIsoCardId[4], | ||
unsigned short(&) | eNonIsoRegionId[4], | ||
unsigned short(&) | MIPbits[7][2], | ||
unsigned short(&) | Qbits[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 30 of file SourceCardRouting.cc.
References mps_fire::i, and dqmiolumiharvest::j.
Referenced by GctFormatTranslateMCLegacy::writeRctEmCandBlocks().
void SourceCardRouting::EMUtoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
unsigned short(&) | eIsoRank[4], | ||
unsigned short(&) | eIsoCardId[4], | ||
unsigned short(&) | eIsoRegionId[4], | ||
unsigned short(&) | eNonIsoRank[4], | ||
unsigned short(&) | eNonIsoCardId[4], | ||
unsigned short(&) | eNonIsoRegionId[4], | ||
unsigned short(&) | MIPbits[7][2], | ||
unsigned short(&) | Qbits[7][2], | ||
std::string & | dataString | ||
) | const |
Definition at line 615 of file SourceCardRouting.cc.
Referenced by RctDigiToSourceCardText::analyze().
void SourceCardRouting::EMUtoVHDCI | ( | unsigned short(&) | eIsoRank[4], |
unsigned short(&) | eIsoCardId[4], | ||
unsigned short(&) | eIsoRegionId[4], | ||
unsigned short(&) | eNonIsoRank[4], | ||
unsigned short(&) | eNonIsoCardId[4], | ||
unsigned short(&) | eNonIsoRegionId[4], | ||
unsigned short(&) | MIPbits[7][2], | ||
unsigned short(&) | Qbits[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 487 of file SourceCardRouting.cc.
void SourceCardRouting::LogicalCardIDtoRoutingMode | ( | unsigned short & | logicalCardID, |
int & | RoutingMode, | ||
int & | RCTCrateNumber | ||
) | const |
Definition at line 739 of file SourceCardRouting.cc.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::RC012toSFP | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 191 of file SourceCardRouting.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::RC012toSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
unsigned short(&) | RC[7][2], | ||
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
std::string & | dataString | ||
) | const |
Definition at line 651 of file SourceCardRouting.cc.
Referenced by RctDigiToSourceCardText::analyze().
void SourceCardRouting::RC012toVHDCI | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 556 of file SourceCardRouting.cc.
void SourceCardRouting::RC234toSFP | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | sisterRC[7][2], | ||
unsigned short(&) | sisterRCof[7][2], | ||
unsigned short(&) | sisterRCtau[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 240 of file SourceCardRouting.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::RC234toSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
unsigned short(&) | RC[7][2], | ||
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | sisterRC[7][2], | ||
unsigned short(&) | sisterRCof[7][2], | ||
unsigned short(&) | sisterRCtau[7][2], | ||
std::string & | dataString | ||
) | const |
Definition at line 665 of file SourceCardRouting.cc.
Referenced by RctDigiToSourceCardText::analyze().
void SourceCardRouting::RC234toVHDCI | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | sisterRC[7][2], | ||
unsigned short(&) | sisterRCof[7][2], | ||
unsigned short(&) | sisterRCtau[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 582 of file SourceCardRouting.cc.
void SourceCardRouting::RC56HFtoSFP | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | HF[4][2], | ||
unsigned short(&) | HFQ[4][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 120 of file SourceCardRouting.cc.
References tpScales_cff::HF, and testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::RC56HFtoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
unsigned short(&) | RC[7][2], | ||
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | HF[4][2], | ||
unsigned short(&) | HFQ[4][2], | ||
std::string & | dataString | ||
) | const |
Definition at line 635 of file SourceCardRouting.cc.
References tpScales_cff::HF.
Referenced by RctDigiToSourceCardText::analyze().
void SourceCardRouting::RC56HFtoVHDCI | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | HF[4][2], | ||
unsigned short(&) | HFQ[4][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 525 of file SourceCardRouting.cc.
References tpScales_cff::HF.
void SourceCardRouting::RoutingModetoLogicalCardID | ( | unsigned short & | logicalCardID, |
int & | RoutingMode, | ||
int & | RCTCrateNumber | ||
) | const |
Definition at line 750 of file SourceCardRouting.cc.
Referenced by RctDigiToSourceCardText::analyze().
void SourceCardRouting::SFPtoEMU | ( | unsigned short(&) | eIsoRank[4], |
unsigned short(&) | eIsoCardId[4], | ||
unsigned short(&) | eIsoRegionId[4], | ||
unsigned short(&) | eNonIsoRank[4], | ||
unsigned short(&) | eNonIsoCardId[4], | ||
unsigned short(&) | eNonIsoRegionId[4], | ||
unsigned short(&) | MIPbits[7][2], | ||
unsigned short(&) | Qbits[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 68 of file SourceCardRouting.cc.
References mps_fire::i, dqmiolumiharvest::j, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by GctFormatTranslateV35::blockToRctEmCand(), GctFormatTranslateV38::blockToRctEmCand(), and GctFormatTranslateMCLegacy::blockToRctEmCand().
void SourceCardRouting::SFPtoRC012 | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 214 of file SourceCardRouting.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::SFPtoRC234 | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | sisterRC[7][2], | ||
unsigned short(&) | sisterRCof[7][2], | ||
unsigned short(&) | sisterRCtau[7][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 271 of file SourceCardRouting.cc.
References testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::SFPtoRC56HF | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | HF[4][2], | ||
unsigned short(&) | HFQ[4][2], | ||
unsigned short(&) | SFP[2][4] | ||
) | const |
Definition at line 145 of file SourceCardRouting.cc.
References tpScales_cff::HF, and testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::SFPtoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
int | RoutingMode, | ||
unsigned short(&) | SFP[2][4], | ||
std::string & | dataString | ||
) | const |
Definition at line 682 of file SourceCardRouting.cc.
void SourceCardRouting::SFPtoVHDCI | ( | int | RoutingMode, |
unsigned short(&) | SFP[2][4], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 326 of file SourceCardRouting.cc.
References mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, and testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::STRINGtoVHDCI | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
std::string & | dataString, | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 695 of file SourceCardRouting.cc.
References TauDecayModes::dec, and groupFilesInBlocks::temp.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoEMU | ( | unsigned short(&) | eIsoRank[4], |
unsigned short(&) | eIsoCardId[4], | ||
unsigned short(&) | eIsoRegionId[4], | ||
unsigned short(&) | eNonIsoRank[4], | ||
unsigned short(&) | eNonIsoCardId[4], | ||
unsigned short(&) | eNonIsoRegionId[4], | ||
unsigned short(&) | MIPbits[7][2], | ||
unsigned short(&) | Qbits[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 506 of file SourceCardRouting.cc.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoRC012 | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 569 of file SourceCardRouting.cc.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoRC234 | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | sisterRC[7][2], | ||
unsigned short(&) | sisterRCof[7][2], | ||
unsigned short(&) | sisterRCtau[7][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 598 of file SourceCardRouting.cc.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoRC56HF | ( | unsigned short(&) | RC[7][2], |
unsigned short(&) | RCof[7][2], | ||
unsigned short(&) | RCtau[7][2], | ||
unsigned short(&) | HF[4][2], | ||
unsigned short(&) | HFQ[4][2], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 541 of file SourceCardRouting.cc.
References tpScales_cff::HF.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoSFP | ( | int | RoutingMode, |
unsigned short(&) | SFP[2][4], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 399 of file SourceCardRouting.cc.
References mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, and testProducerWithPsetDescEmpty_cfi::x1.
void SourceCardRouting::VHDCItoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
std::string & | dataString, | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 721 of file SourceCardRouting.cc.
References TauDecayModes::dec, and groupFilesInBlocks::temp.