22 std::vector<std::unique_ptr<RpcDigit>> rpcDigitVec{};
24 uint16_t side = (sectorID < 32) ? 0 : 1;
25 uint16_t slogic = sectorID - side * 32;
26 uint16_t ijk = fChan->
ijk();
27 uint16_t channel = fChan->
channel();
29 float time = (fChan->
bcid() -
m_bczero) * 25 + (fChan->
time() + 0.5 - 2) * 3.125;
32 if (ijk == 7) {
return rpcDigitVec; }
38 rpcDigitVec.reserve(idList.size());
39 for (
const Identifier& stripOfflineId: idList) {
41 std::unique_ptr<RpcDigit> rpcDigit = std::make_unique<RpcDigit>(stripOfflineId, time, -1.,
false);
42 rpcDigitVec.push_back(std::move(rpcDigit));
50 std::vector<Identifier> rpcIdVec{};
52 uint16_t side = (sectorID < 32) ? 0 : 1;
53 uint16_t slogic = sectorID - side * 32;
54 uint16_t ijk = fChan->
ijk();
55 uint16_t channel = fChan->
channel();
60 if (ijk == 7) {
return rpcIdVec; }
66 rpcIdVec.assign(idList.begin(), idList.end());
virtual std::vector< std::unique_ptr< RpcDigit > > getDigit(const RpcFiredChannel *fChan, uint16_t §orID, uint16_t &padId, uint16_t &cmaId, const RpcCablingCondData *rpcCab) const override
virtual std::vector< Identifier > getOfflineData(const RpcFiredChannel *fChan, uint16_t §orID, uint16_t &padId, uint16_t &cmaId, double &time, const RpcCablingCondData *rpcCab) const override
std::list< Identifier > give_strip_id(unsigned short int SubsystemId, unsigned short int SectorId, unsigned short int PADId, unsigned short int CMAId, unsigned short ijk, unsigned short int Channel, const RpcIdHelper *rpcId) const