24 auto ali = std::make_unique<Alignments>();
26 std::vector<AlignTransform>& vtr(ali->m_align);
40 const std::vector<AlignTransform>&
hbt =
hb.m_align;
41 const std::vector<AlignTransform>& het =
he.m_align;
42 const std::vector<AlignTransform>& hft =
hf.m_align;
43 const std::vector<AlignTransform>& hot =
ho.m_align;
45 copy(hbt.begin(), hbt.end(), vtr.begin());
46 copy(het.begin(), het.end(), vtr.begin() + hbt.size());
47 copy(hft.begin(), hft.end(), vtr.begin() + hbt.size() + het.size());
48 copy(hot.begin(), hot.end(), vtr.begin() + hbt.size() + het.size() + hft.size());
static unsigned int numberOfBarrelAlignments()
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnAli produceHcalAli(const HcalAlignmentRcd &iRecord)
edm::ESGetToken< Alignments, HEAlignmentRcd > heToken_
edm::ESGetToken< Alignments, HFAlignmentRcd > hfToken_
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< Alignments > ReturnAli
static unsigned int numberOfOuterAlignments()
~HcalAlignmentEP() override
edm::ESGetToken< Alignments, HOAlignmentRcd > hoToken_
static unsigned int numberOfEndcapAlignments()
HcalAlignmentEP(const edm::ParameterSet &)
static unsigned int numberOfForwardAlignments()
static unsigned int numberOfAlignments()
edm::ESGetToken< Alignments, HBAlignmentRcd > hbToken_