14 assert(
nullptr != parameterMap ) ;
15 assert(
nullptr != shape ) ;
19 const unsigned int rSize (
parameters.readoutFrameSize() ) ;
20 const unsigned int nPre (
parameters.binOfMaximum() - 1 ) ;
26 for(
unsigned int i ( 0 ) ;
i !=
size ; ++
i )
41 return index().size() ;
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
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
Detector det() const
get the detector field from this detid
~ESHitResponse() override