7 : theBarrelSampling(ps.getParameter<edm::
ParameterSet>(
"hb").getParameter<std::vector<double> >(
"samplingFactors")),
8 theEndcapSampling(ps.getParameter<edm::
ParameterSet>(
"he").getParameter<std::vector<double> >(
"samplingFactors"))
21 for(
int i = 1;
i <= 16; ++
i)
31 for(
int i = 17;
i <= 29; ++
i)
38 noiseHits.emplace_back(outerDetId.
rawId(), 0.45, hoTof, 0., 0);
41 noiseHits.emplace_back(forwardDetId1.
rawId(), 35., hfTof, 0., 0);
44 noiseHits.emplace_back(forwardDetId2.
rawId(), 48., hfTof, 0., 0);
std::vector< double > theEndcapSampling
uint32_t rawId() const
get the raw id
std::vector< double > theBarrelSampling
HcalTestHitGenerator(const edm::ParameterSet &ps)
virtual void getNoiseHits(std::vector< PCaloHit > &noiseHits)