|
Jpp
|
PMT simulation based on run-by-run information. More...
#include <JPMTRunByRunSimulator.hh>
Public Types | |
| typedef JKey_t | key_type |
| typedef JValue_t | mapped_type |
| typedef std::pair< JKey_t, JValue_t > | value_type |
| typedef JHashMapEvaluator < JEvaluator_t > | evaluator_type |
| typedef JHashCollection < value_type, evaluator_type > | collection_type |
| typedef collection_type::container_type | container_type |
| typedef container_type::const_iterator | const_iterator |
| typedef container_type::const_reverse_iterator | const_reverse_iterator |
| typedef container_type::iterator | iterator |
| typedef container_type::reverse_iterator | reverse_iterator |
Public Member Functions | |
| JPMTRunByRunSimulator (const JSummaryRouter &router, const JPMTParametersMap ¶meters, const JDetector &detector) | |
| Constructor. More... | |
| virtual bool | getPMTStatus (const JPMTIdentifier &id, const JTimeRange &window, const JStatus &status) const |
| Get PMT status. More... | |
| virtual const JPMTSignalProcessorInterface & | getPMTSignalProcessor (const JPMTIdentifier &pmt) const |
| Get PMT signal processor. More... | |
| virtual void | processHits (const JPMTIdentifier &id, const JCalibration &calibration, const JStatus &status, const JPMTData< JPMTSignal > &input, JPMTData< JPMTPulse > &output) const |
| Process hits. More... | |
| virtual void | clear () |
| Clear. More... | |
| virtual mapped_type & | get (typename JClass< key_type >::argument_type key) |
| Get mapped value. More... | |
| virtual const mapped_type & | get (typename JClass< key_type >::argument_type key) const |
| Get mapped value. More... | |
| value_type & | get (const T &value) |
| Get element with given value. More... | |
| const value_type & | get (const T &value) const |
| Get element with given value. More... | |
| const_iterator | find (const T &value) const |
| Find element with given value. More... | |
| iterator | find (const T &value) |
| Find element with given value. More... | |
| virtual bool | insert (const value_type &element) |
| Insert element. More... | |
| void | erase (iterator pos) |
| Erase element at given position. More... | |
| void | erase (iterator __begin, iterator __end) |
| Erase elements in given range. More... | |
| bool | erase (const T &value) |
| Erase element with given value. More... | |
| bool | has (const T &value) const |
| Test whether given value is present. More... | |
| int | getIndex (const T &value) const |
| Get index of given value. More... | |
| const mapped_type & | operator[] (typename JClass< key_type >::argument_type key) const |
| Get mapped value. More... | |
| mapped_type & | operator[] (typename JClass< key_type >::argument_type key) |
| Get mapped value. More... | |
| void | put (typename JClass< key_type >::argument_type key, typename JClass< mapped_type >::argument_type value) |
| Put pair-wise element (key,value) into collection. More... | |
Public Attributes | |
| JHashMapEvaluator< JEvaluator_t > | getValue |
| Function object for evaluation of element. More... | |
Protected Attributes | |
| const JSummaryRouter & | summary_router |
| JRouter< int > | router |
PMT simulation based on run-by-run information.
This class overwrites the method JPMTDefaultSimulator::getPMTStatus. The actual PMT status is obtained from summary data.
Definition at line 34 of file JPMTRunByRunSimulator.hh.
|
inherited |
Definition at line 77 of file JHashMap.hh.
|
inherited |
Definition at line 78 of file JHashMap.hh.
|
inherited |
Definition at line 79 of file JHashMap.hh.
|
inherited |
Definition at line 80 of file JHashMap.hh.
|
inherited |
Definition at line 82 of file JHashMap.hh.
|
inherited |
Definition at line 83 of file JHashMap.hh.
|
inherited |
Definition at line 85 of file JHashMap.hh.
|
inherited |
Definition at line 86 of file JHashMap.hh.
|
inherited |
Definition at line 87 of file JHashMap.hh.
|
inherited |
Definition at line 88 of file JHashMap.hh.
|
inline |
Constructor.
| router | summary router |
| parameters | PMT parameters |
| detector | detector |
Definition at line 45 of file JPMTRunByRunSimulator.hh.
|
inlinevirtual |
Get PMT status.
| id | PMT identifier |
| window | time range |
| status | PMT status |
Reimplemented from JDETECTOR::JPMTDefaultSimulatorInterface.
Definition at line 61 of file JPMTRunByRunSimulator.hh.
|
inlinevirtualinherited |
Get PMT signal processor.
| pmt | PMT identifier |
Reimplemented from JDETECTOR::JPMTDefaultSimulatorInterface.
Definition at line 102 of file JPMTDefaultSimulator.hh.
|
inlinevirtualinherited |
Process hits.
| id | PMT identifier |
| calibration | PMT calibration |
| status | PMT status |
| input | PMT signals |
| output | PMT hits |
Implements JDETECTOR::JPMTSimulator.
Definition at line 36 of file JPMTDefaultSimulatorInterface.hh.
|
inlinevirtualinherited |
Clear.
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 106 of file JHashMap.hh.
|
inlinevirtualinherited |
Get mapped value.
| key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 118 of file JHashMap.hh.
|
inlinevirtualinherited |
Get mapped value.
This method will throw an exception if given key is not present following the prerequisite of constness.
| key | key |
Implements JTOOLS::JMappableCollection< JKey_t, JValue_t >.
Definition at line 138 of file JHashMap.hh.
|
inlineinherited |
Get element with given value.
This method will throw an exception if given value is not present following the prerequisite of constness.
| value | value |
Definition at line 140 of file JHashCollection.hh.
|
inlineinherited |
Get element with given value.
This method will throw an exception if given value is not present following the prerequisite of constness.
| value | value |
Definition at line 161 of file JHashCollection.hh.
|
inlineinherited |
Find element with given value.
| value | value |
Definition at line 102 of file JHashCollection.hh.
|
inlineinherited |
Find element with given value.
| value | value |
Definition at line 120 of file JHashCollection.hh.
|
inlinevirtualinherited |
Insert element.
| element | element |
Definition at line 179 of file JHashCollection.hh.
|
inlineinherited |
Erase element at given position.
| pos | valid position |
Definition at line 201 of file JHashCollection.hh.
|
inlineinherited |
Erase elements in given range.
| __begin | begin position (included) |
| __end | end position (excluded) |
Definition at line 217 of file JHashCollection.hh.
|
inlineinherited |
Erase element with given value.
| value | value |
Definition at line 236 of file JHashCollection.hh.
|
inlineinherited |
Test whether given value is present.
| value | value |
Definition at line 258 of file JHashCollection.hh.
|
inlineinherited |
Get index of given value.
| value | value |
Definition at line 271 of file JHashCollection.hh.
|
inlineinherited |
Get mapped value.
| key | key |
Definition at line 73 of file JMappableCollection.hh.
|
inlineinherited |
Get mapped value.
| key | key |
Definition at line 85 of file JMappableCollection.hh.
|
inlineinherited |
Put pair-wise element (key,value) into collection.
| key | key |
| value | value |
Definition at line 97 of file JMappableCollection.hh.
|
protected |
Definition at line 83 of file JPMTRunByRunSimulator.hh.
|
inherited |
Function object for evaluation of element.
Definition at line 280 of file JHashCollection.hh.
|
protectedinherited |
Definition at line 284 of file JHashCollection.hh.
1.8.5