1 #ifndef __JDETECTOR__JPMTDEFAULTSIMULATOR__
2 #define __JDETECTOR__JPMTDEFAULTSIMULATOR__
17 namespace JDETECTOR {}
18 namespace JPP {
using namespace JDETECTOR; }
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) {
virtual const JPMTSignalProcessorInterface & getPMTSignalProcessor(const JPMTIdentifier &pmt) const override
Get PMT signal processor.
JPMTDefaultSimulator()
Default constructor.
JPMTDefaultSimulator(const JPMTParameters ¶meters, const JPMTIdentifier &pmt)
Constructor for single PMT.
General purpose class for hash map of unique elements.
const JPMTParameters & getPMTParameters(const JPMTIdentifier &id) const
Get PMT parameters.
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Data structure for detector geometry and calibration.
int getID() const
Get identifier.
Auxiliary container for PMT analogue signal processors in same optical module.
int getPMTAddress() const
Get PMT identifier (= TDC).
Auxiliary class for map of PMT parameters.
PMT signal processor interface.
PMT analogue signal processor.
JPMTDefaultSimulator(const JPMTParametersMap ¶meters, const JDetector &detector)
Constructor for complete detector.
void put(const size_t pmt, const JPMTAnalogueSignalProcessor &cpu)
Put PMT signal processor in container at given readout channel.
PMT analogue signal processor.
Data structure for PMT parameters.
do set_variable DETECTOR_TXT $WORKDIR detector
Default PMT simulation interface.