17 const float binMin[32] = {-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
18 16, 18, 20, 22, 24, 26, 28, 31, 34, 37, 40, 44, 48, 52, 57, 62};
20 const float binMin2[64] = {-0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5,
21 10.5, 11.5, 12.5, 13.5, 14.5,
22 15.5, 17.5, 19.5, 21.5, 23.5, 25.5, 27.5, 29.5, 31.5, 33.5, 35.5,
23 37.5, 39.5, 41.5, 43.5, 45.5, 47.5, 49.5, 51.5, 53.5,
24 55.5, 59.5, 63.5, 67.5, 71.5, 75.5, 79.5, 83.5, 87.5, 91.5, 95.5,
25 99.5, 103.5, 107.5, 111.5, 115.5, 119.5, 123.5, 127.5, 131.5, 135.5,
26 139.5, 147.5, 155.5, 163.5, 171.5, 179.5, 187.5};
32 std::stringstream
str;
33 str <<
"float const " << name <<
"[" << vec.size() <<
"] = {";
35 for (
auto const&
value : vec) {
38 if (counter == vec.size() - 1)
51 values[
adc] = initValues[
adc];
56 int factor = nbins == 32 ? 5 : 8;
60 uint32_t
const overlap = nbins == 32 ? 2 : 3;
61 values[index_offset] = values[index_offset -
overlap];
64 values[index_offset +
i] = values[index_offset +
i - 1] + scale * (values[
i] - values[
i - 1]);
67 values[nbins * 4] = 2 * values[nbins * 4 - 1] - values[nbins * 4 - 2];
constexpr uint32_t nbins_qie8
const uint16_t range(const Frame &aFrame)
bool overlap(const reco::Muon &muon1, const reco::Muon &muon2, double pullX=1.0, double pullY=1.0, bool checkAdjacentChambers=false)
void generate(uint32_t const nbins, float const *initValues, std::vector< float > &values)
constexpr uint32_t nbins_qie11
static std::atomic< unsigned int > counter
tuple dump
OutputFilePath = cms.string('/tmp/zhokin/'), OutputFileExt = cms.string(''),.
uint16_t *__restrict__ uint16_t const *__restrict__ adc