24 : phase2OTRecHitToken_(consumes(iConfig.getParameter<
edm::
InputTag>(
"phase2OTRecHits"))),
25 lstPhase2OTHitsInputPutToken_(produces()) {}
41 ph2_detId.reserve(phase2OTHits.dataSize());
42 std::vector<float>
ph2_x;
43 ph2_x.reserve(phase2OTHits.dataSize());
44 std::vector<float>
ph2_y;
45 ph2_y.reserve(phase2OTHits.dataSize());
46 std::vector<float>
ph2_z;
47 ph2_z.reserve(phase2OTHits.dataSize());
48 std::vector<TrackingRecHit const*> ph2_hits;
49 ph2_hits.reserve(phase2OTHits.dataSize());
51 for (
auto const&
it : phase2OTHits) {
53 for (
auto const&
hit :
it) {
55 ph2_x.push_back(
hit.globalPosition().
x());
56 ph2_y.push_back(
hit.globalPosition().
y());
57 ph2_z.push_back(
hit.globalPosition().
z());
58 ph2_hits.push_back(&
hit);
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
const std::vector< float > & ph2_z()
const std::vector< float > & ph2_x()
#define DEFINE_FWK_MODULE(type)
constexpr uint32_t rawId() const
get the raw id
const std::vector< unsigned int > & ph2_detId()
const std::vector< float > & ph2_y()