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)
25 noiseHits.push_back(
hit);
31 noiseHits.push_back(
hit);
33 for(
int i = 17;
i <= 29; ++
i)
37 noiseHits.push_back(
hit);
44 PCaloHit forwardHit1(forwardDetId1.rawId(), 35., hfTof, 0., 0);
47 PCaloHit forwardHit2(forwardDetId2.rawId(), 48., hfTof, 0., 0);
50 PCaloHit zdcHit(zdcDetId.rawId(), 50.0, 0.);
52 noiseHits.push_back(outerHit);
53 noiseHits.push_back(forwardHit1);
54 noiseHits.push_back(forwardHit2);
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)