1 #ifndef __JDETECTOR__JPMTDEFAULTSIMULATOR__
2 #define __JDETECTOR__JPMTDEFAULTSIMULATOR__
39 if (this->size() <= pmt) {
40 this->resize(pmt + 1);
56 public JHashMap<int, JModuleAnalogueSignalProcessor>
75 for (JDetector::const_iterator module = detector.begin(); module != detector.end(); ++module) {
76 for (
size_t pmt = 0; pmt != module->size(); ++pmt) {
Data structure for detector geometry and calibration.
General purpose class for hash map of unique elements.
PMT analogue signal processor.
Default PMT simulation interface.
JPMTDefaultSimulator(const JPMTParameters ¶meters, const JPMTIdentifier &pmt)
Constructor for single PMT.
virtual const JPMTSignalProcessorInterface & getPMTSignalProcessor(const JPMTIdentifier &pmt) const override
Get PMT signal processor.
JPMTDefaultSimulator(const JPMTParametersMap ¶meters, const JDetector &detector)
Constructor for complete detector.
JPMTDefaultSimulator()
Default constructor.
int getPMTAddress() const
Get PMT address (= TDC).
Auxiliary class for map of PMT parameters.
const JPMTParameters & getPMTParameters(const JPMTIdentifier &id) const
Get PMT parameters.
Data structure for PMT parameters.
PMT signal processor interface.
int getID() const
Get identifier.
file Auxiliary data structures and methods for detector calibration.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary container for PMT analogue signal processors in same optical module.
void put(const size_t pmt, const JPMTAnalogueSignalProcessor &cpu)
Put PMT signal processor in container at given readout channel.
PMT analogue signal processor.