11 assert(
nullptr != parameterMap);
12 assert(
nullptr != shape);
16 const unsigned int rSize(
parameters.readoutFrameSize());
17 const unsigned int nPre(
parameters.binOfMaximum() - 1);
23 for (
unsigned int i(0);
i !=
size; ++
i) {
unsigned int samplesSize() const override
EcalSamples * vSam(unsigned int i) override
EcalSamples * operator[](unsigned int i) override
Electronic response of the preamp.
Main class for Parameters in different subdetectors.
ESHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
virtual const CaloSimParameters & simParameters(const DetId &id) const =0
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< ESSamples > m_vSam
static ESDetId detIdFromDenseIndex(uint32_t din)
EcalSamples * vSamAll(unsigned int i) override
unsigned int samplesSizeAll() const override
~ESHitResponse() override
constexpr Detector det() const
get the detector field from this detid