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, JModuleSignalProcessor>
75 for (JDetector::const_iterator module = detector.begin(); module != detector.end(); ++module) {
76 for (
size_t pmt = 0;
pmt != module->size(); ++
pmt) {
JPMTDefaultSimulator()
Default constructor.
void put(const size_t pmt, const JPMTAnalogueSignalProcessor &cpu)
Put PMT signal processor in container at given readout channel.
JPMTDefaultSimulator(const JPMTParameters ¶meters, const JPMTIdentifier &pmt)
Constructor.
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.
esac $JPP_DIR examples JDetector JTransitTime o $OUTPUT_FILE n N $NPE T $TTS_NS d $DEBUG for HISTOGRAM in tts tt2 pmt
Auxiliary container for PMT signal processors in same optical module.
int getID() const
Get identifier.
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.
virtual const JPMTSignalProcessorInterface & getPMTSignalProcessor(const JPMTIdentifier &pmt) const
Get PMT signal processor.
PMT analogue signal processor.
Data structure for PMT parameters.
Default PMT simulation interface.