15 last = std::floor(nbx / 2.);
16 first =
std::min(0, -last + (1 - nbx % 2));
19 std::shared_ptr<Unpacker>
24 if (unpacker.get() ==
nullptr) {
26 <<
"Cannot find an unpacker named " <<
name;
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
void getBXRange(int nbx, int &first, int &last)
std::shared_ptr< Unpacker > make(const std::string &) const
static const UnpackerFactory instance_
T get(const Candidate &c)