18 int nBX, firstBX, lastBX;
31 LogDebug(
"L1T") <<
"nBX = " << nBX <<
" firstBX = " << firstBX <<
" lastBX = " << lastBX;
34 for(
int ibx = firstBX; ibx <= lastBX; ibx++)
37 for(
unsigned int iw = 0; iw < block.
header().
getSize()/nBX; iw += 2)
39 uint32_t raw_first = payload[ip+(ibx+lastBX)*6];
41 uint32_t raw_secnd = payload[ip+(ibx+lastBX)*6];
45 LogDebug(
"L1T") <<
"Raw data is zero";
virtual bool unpack(const Block &block, UnpackerCollections *coll) override
void getBXRange(int nbx, int &first, int &last)
BlockHeader header() const
std::vector< uint32_t > payload() const
const int hwEta() const
Get compressed eta (returned int * 0.010875 = eta)
const int hwPhi() const
Get compressed local phi (returned int * 2*pi/576 = local phi in rad)
static void fillRegionalMuonCand(RegionalMuonCand &, uint32_t, uint32_t, int, tftype)
void setBXRange(int bxFirst, int bxLast)
const int hwPt() const
Get compressed pT (returned int * 0.5 = pT (GeV))
void amc(const amc::Header &h)
void push_back(int bx, T object)