#include <HcalTestHitGenerator.h>
Definition at line 8 of file HcalTestHitGenerator.h.
Definition at line 6 of file HcalTestHitGenerator.cc.
T getParameter(std::string const &) const
std::vector< double > theEndcapSampling
std::vector< double > theBarrelSampling
virtual HcalTestHitGenerator::~HcalTestHitGenerator |
( |
| ) |
|
|
inlinevirtual |
void HcalTestHitGenerator::getNoiseHits |
( |
std::vector< PCaloHit > & |
noiseHits | ) |
|
|
virtual |
Implements CaloVNoiseHitGenerator.
Definition at line 13 of file HcalTestHitGenerator.cc.
References alignCSCRings::e, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, DetId::rawId(), theBarrelSampling, and theEndcapSampling.
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);
41 PCaloHit outerHit(outerDetId.rawId(), 0.45, hoTof, 0., 0);
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
std::vector< double > theBarrelSampling
std::vector<double> HcalTestHitGenerator::theBarrelSampling |
|
private |
std::vector<double> HcalTestHitGenerator::theEndcapSampling |
|
private |