#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.
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 699 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 567 of file SourceCardRouting.cc.
void SourceCardRouting::LogicalCardIDtoRoutingMode | ( | unsigned short & | logicalCardID, |
int & | RoutingMode, | ||
int & | RCTCrateNumber | ||
) | const |
Definition at line 821 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 |
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 731 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 636 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 |
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 746 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 664 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 CaloTPGTranscoder_cfi::HF, and globals_cff::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 717 of file SourceCardRouting.cc.
References CaloTPGTranscoder_cfi::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 603 of file SourceCardRouting.cc.
References CaloTPGTranscoder_cfi::HF.
void SourceCardRouting::RoutingModetoLogicalCardID | ( | unsigned short & | logicalCardID, |
int & | RoutingMode, | ||
int & | RCTCrateNumber | ||
) | const |
Definition at line 833 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 70 of file SourceCardRouting.cc.
References mps_fire::i, and globals_cff::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 |
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 |
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 150 of file SourceCardRouting.cc.
References CaloTPGTranscoder_cfi::HF, and globals_cff::x1.
void SourceCardRouting::SFPtoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
int | RoutingMode, | ||
unsigned short(&) | SFP[2][4], | ||
std::string & | dataString | ||
) | const |
Definition at line 761 of file SourceCardRouting.cc.
void SourceCardRouting::SFPtoVHDCI | ( | int | RoutingMode, |
unsigned short(&) | SFP[2][4], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 357 of file SourceCardRouting.cc.
References mps_fire::i, gen::k, and globals_cff::x1.
void SourceCardRouting::STRINGtoVHDCI | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
std::string & | dataString, | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 775 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 585 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 650 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 681 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 620 of file SourceCardRouting.cc.
References CaloTPGTranscoder_cfi::HF.
Referenced by SourceCardTextToRctDigi::produce().
void SourceCardRouting::VHDCItoSFP | ( | int | RoutingMode, |
unsigned short(&) | SFP[2][4], | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 453 of file SourceCardRouting.cc.
References mps_fire::i, gen::k, and globals_cff::x1.
void SourceCardRouting::VHDCItoSTRING | ( | unsigned short & | logicalCardID, |
unsigned short & | eventNumber, | ||
std::string & | dataString, | ||
unsigned long(&) | VHDCI[2][2] | ||
) | const |
Definition at line 802 of file SourceCardRouting.cc.
References TauDecayModes::dec, and groupFilesInBlocks::temp.