13 Suffix(conf.getParameter<
std::
string>(
"Suffix")),
14 trackingParticles_token_(
19 produces<std::vector<unsigned>>(
Prefix +
"multi" +
Suffix);
21 produces<std::vector<float>>(
Prefix +
"charge" +
Suffix);
22 produces<std::vector<float>>(
Prefix +
"momentum" +
Suffix);
24 produces<std::vector<double>>(
Prefix +
"theta" +
Suffix);
27 produces<std::vector<double>>(
Prefix +
"qoverp" +
Suffix);
42 auto multi = std::make_unique<std::vector<unsigned>>(
size, 0);
43 auto type = std::make_unique<std::vector<int>>(
size, 0);
44 auto charge = std::make_unique<std::vector<float>>(
size, 0);
45 auto momentum = std::make_unique<std::vector<float>>(
size, -1);
46 auto pt = std::make_unique<std::vector<float>>(
size, -1);
47 auto theta = std::make_unique<std::vector<double>>(
size, -1000);
48 auto phi = std::make_unique<std::vector<double>>(
size, -1000);
49 auto eta = std::make_unique<std::vector<double>>(
size, -1000);
50 auto dxy = std::make_unique<std::vector<double>>(
size, -1000);
51 auto dsz = std::make_unique<std::vector<double>>(
size, -1000);
52 auto qoverp = std::make_unique<std::vector<double>>(
size, -1000);
53 auto vx = std::make_unique<std::vector<double>>(
size, -1000);
54 auto vy = std::make_unique<std::vector<double>>(
size, -1000);
55 auto vz = std::make_unique<std::vector<double>>(
size, -1000);
70 momentum->at(
i) = tparticle->
p();
71 pt->at(
i) = tparticle->
pt();
75 qoverp->at(
i) = tparticle->
charge() / tparticle->
p();