14 assert( 0 != parameterMap ) ;
15 assert( 0 != 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() ;
virtual unsigned int samplesSize() const
virtual EcalSamples * vSam(unsigned int i)
Electronic response of the preamp.
Main class for Parameters in different subdetectors.
virtual unsigned int samplesSizeAll() const
ESHitResponse(const CaloVSimParameterMap *parameterMap, const CaloVShape *shape)
virtual EcalSamples * vSamAll(unsigned int i)
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)
virtual EcalSamples * operator[](unsigned int i)
Detector det() const
get the detector field from this detid