|
Jpp
pmt_effective_area_update_2
the software that should make you happy
|
Auxiliary classes and method for triggering. More...
Classes | |
| class | JBinder2nd |
| Auxiliary class to convert binary JMatch operator and given hit to unary match operator. More... | |
| struct | JBuild |
| Auxiliary base class for hit building. More... | |
| struct | JBuildHelper |
| Auxiliary class to extend hit building functionality to all DAQ data types. More... | |
| class | JBuildL0 |
| Template L0 hit builder. More... | |
| class | JBuildL0< JHitL0 > |
| Template specialisation of L0 builder for JHitL0 data type. More... | |
| class | JBuildL0< JHitR0 > |
| Template specialisation of L0 builder for JHitR0 data type. More... | |
| class | JBuildL0< JHitR1 > |
| Template specialisation of L0 builder for JHitR1 data type. More... | |
| struct | JBuildL1Parameters |
| Auxiliary data structure for L1 build parameters. More... | |
| class | JBuildL1 |
| Template L1 hit builder. More... | |
| class | JBuildL1< JHitL1 > |
| Template specialisation of L1 builder for JHitL1 data type. More... | |
| class | JBuildL1< JHitR1 > |
| Template specialisation of L1 builder for JHitR1 data type. More... | |
| class | JBuildL2 |
| Template L2 builder. More... | |
| class | JBuildL2< JHitL2 > |
| Template specialisation of L2 builder for JHitL2 data type. More... | |
| class | JBuildL2< JHitR2 > |
| Template specialisation of L2 builder for JHitR2 data type. More... | |
| struct | JChecksum |
| Auxiliary class to perform check-sum on raw data. More... | |
| class | JCLBRunByRunSimulator |
| CLB simulation based on run-by-run information. More... | |
| class | JClone |
| Clone of a container. More... | |
| struct | JDAQHitSelector |
| Auxiliary class to select DAQ hits. More... | |
| struct | JDAQHitDefaultSelector |
| Default class to select DAQ hits. More... | |
| struct | JDAQHitToTSelector |
| Auxiliary class to select DAQ hits based on time-over-treshold value. More... | |
| class | JDOMToPMTMaskMap |
| class | JEvent |
| Triggered event. More... | |
| class | JEventOverlap |
| Match of two events considering overlap in time. More... | |
| class | JFrame |
| Data frame for calibrated hits of one PMT. More... | |
| class | JFrameClone |
| Clone of JFrame. More... | |
| struct | JGetRiseTime |
| Auxiliary class for rise time evaluation. More... | |
| class | JHit |
| Hit data structure. More... | |
| class | JHitL0 |
| Data structure for L0 hit. More... | |
| class | JHitL1 |
| Data structure for L1 hit. More... | |
| class | JHitR0 |
| Reduced data structure for L0 hit. More... | |
| class | JHitR1 |
| Reduced data structure for L1 hit. More... | |
| struct | JHitToolkit |
| Template definition of hit toolkit. More... | |
| struct | JHitToolkit< JHit, false > |
| Template specialisation of hit toolkit for JHit class. More... | |
| struct | JHitToolkit< JDAQHit, false > |
| Template specialisation of hit toolkit for JDAQHit class. More... | |
| struct | JHitToolkit< JHitR0, false > |
| Template specialisation of hit toolkit for JHitR0 class. More... | |
| struct | JHitToolkit< JHit_t, true > |
| Template specialisation of hit toolkit for any primitive data type. More... | |
| class | JK40RunByRunSimulator |
| K40 simulation based on run-by-run information. More... | |
| class | JMatch |
| Function object interface for hit matching. More... | |
| class | JMatchHelper |
| Auxiliary class to handle pointer to match function. More... | |
| class | JMatch1D |
| 1D match criterion. More... | |
| class | JMatch3B |
| 3D match criterion with road width. More... | |
| class | JMatch3D |
| 3D match criterion. More... | |
| class | JMatch3G |
| 3G match criterion. More... | |
| class | JMatchL0 |
| L0 match criterion. More... | |
| struct | JModuleCounter |
| Auxiliary class for counting unique modules. More... | |
| struct | JModuleHeader |
| Header for Module. More... | |
| struct | JParametersHelper |
| Wrapper class to share parameters. More... | |
| struct | JPMTHeader |
| Header for PMT. More... | |
| class | JPMTIdentifier_t |
| class | JPMTMask |
| Auxiliary class for pmt mask. More... | |
| class | JPMTRunByRunSimulator |
| PMT simulation based on run-by-run information. More... | |
| struct | JPMTSelector |
| Auxiliary data structure for set of PMT identifiers. More... | |
| struct | JPreprocessor |
| Auxiliary class for specifying the way of pre-processing of hits. More... | |
| class | JPrescaler |
| Auxiliary class for prescaling. More... | |
| class | JSummaryRouter |
| Router for fast addressing of summary data in JDAQSummaryslice data structure as a function of the optical module identifier. More... | |
| class | JSuperFrame1D |
| 1-dimensional frame with time calibrated data from one optical module. More... | |
| class | JSuperFrame2D |
| 2-dimensional frame with time calibrated data from one optical module. More... | |
| class | JSuperFrameClone1D |
| Clone of JSuperFrame1D. More... | |
| class | JSuperFrameClone2D |
| Clone of JSuperFrame2D. More... | |
| class | JTimeslice |
| Time slice with calibrated data. More... | |
| class | JTimesliceClone |
| Clone of JTimeslice. More... | |
| class | JTimesliceL1 |
| Auxiliary class to build JDAQTimeslice for L1 timeslice. More... | |
| struct | JTimesliceRouter_t |
| Auxiliary base class for JTimesliceRouter. More... | |
| struct | JTimesliceRouter |
| Router for fast addressing of hits in KM3NETDAQ::JDAQTimeslice data structure as a function of the optical module identifier and time. More... | |
| class | JTrigger3D |
| General purpose majority trigger. More... | |
| class | JTrigger3DMuon |
| Muon trigger. More... | |
| struct | JTrigger3DMuon_t |
| Muon trigger parameters. More... | |
| class | JTrigger3DShower |
| Shower trigger. More... | |
| struct | JTrigger3DShower_t |
| Shower trigger parameters. More... | |
| class | JTrigger3N |
| General purpose muon trigger. More... | |
| class | JTriggeredEvent |
| Auxiliary class to build JDAQEvent for a triggered event. More... | |
| class | JTriggeredHit |
| Data structure for triggered hit. More... | |
| class | JTriggerException |
| General exception. More... | |
| class | JTriggerInput |
| Data structure for input to trigger algorithm. More... | |
| class | JTriggerInterface |
| Trigger interface. More... | |
| struct | JTriggerBit |
| This class is used to map trigger class to trigger bit. More... | |
| struct | JAssertBit |
| This class will generate a compiler error if trigger bit is out of range. More... | |
| struct | JAssertBit< N, true > |
| Implementation of a valid trigger bit. More... | |
| struct | JAttributes |
| Module attributes. More... | |
| class | JTriggerMXShower |
| Shower trigger. More... | |
| struct | JTriggerMXShower_t |
| Shower trigger parameters. More... | |
| class | JTriggerNB |
| Nano-beacon trigger. More... | |
| struct | JTriggerNB_t |
| Nano-beacon trigger parameters. More... | |
| class | JTriggerOutput |
| Set of triggered events. More... | |
| struct | JL2Parameters |
| Data structure for L2 parameters. More... | |
| class | JTriggerParameters |
| Data structure for all trigger parameters. More... | |
Typedefs | |
| typedef JHitL1 | JHitL2 |
| Type definition of L2 hit. More... | |
| typedef JHitR1 | JHitR2 |
| Type definition of R2 hit. More... | |
| typedef unsigned int | JPMTMask_t |
| Type definition of pmt mask. More... | |
| typedef unsigned int | JTriggerbit_t |
| Type definition of trigger bit. More... | |
Functions | |
| template<class JHit_t > | |
| bool | weightSorter (const JHit_t &first, const JHit_t &second) |
| Compare two hits by weight. More... | |
| template<class JHit_t > | |
| bool | timeSorter (const JHit_t &first, const JHit_t &second) |
| Compare two hits by weight. More... | |
| template<class JHit_t > | |
| JBinder2nd< JHit_t > | JBind2nd (const JMatch< JHit_t > &match, const JHit_t &second) |
| Auxiliary method to create JBinder2nd object. More... | |
| bool | operator< (const JEvent &first, const JEvent &second) |
| Less than operator for events. More... | |
| JTimeRange | getTimeRange (const JEvent &event) |
| Get time range (i.e. earlist and latest hit time) of triggered event. More... | |
| bool | operator< (const JHit &first, const JHit &second) |
| Less than operator for hits. More... | |
| bool | operator< (const JHit &hit, const double t1) |
| Less than operator for hits. More... | |
| bool | operator== (const JHit &first, const JHit &second) |
| Equal operator for hits. More... | |
| template<class T > | |
| int | getCount (const T &hit) |
| Get hit count. More... | |
| template<class T > | |
| int | getCount (T __begin, T __end) |
| Get hit count. More... | |
| double | getTime (const JDAQHit &hit, const JCalibration &cal) |
| Get calibrated time of DAQ hit. More... | |
| double | getToT (const JDAQHit &hit, const JCalibration &cal) |
| Get calibrated time-over-threshold of DAQ hit. More... | |
| template<class JHit_t > | |
| JMatchHelper< JHit_t > | make_match (bool(*match)(const JHit_t &, const JHit_t &)) |
| Auxiliary method to make JMatch object based on pointer to match function. More... | |
| bool | operator== (const JPMTIdentifier_t &first, const JPMTIdentifier_t &second) |
| Equal operator for PMT identifiers. More... | |
| bool | operator< (const JPMTIdentifier_t &first, const JPMTIdentifier_t &second) |
| Less than operator for PMT identifiers. More... | |
| JPMTMask_t | getPMTMask (const unsigned int bit) |
| Convert pmt bit to pmt mask. More... | |
| setTriggerBit (JTrigger3DShower, JTRIGGER3DSHOWER) | |
| setTriggerBit (JTriggerMXShower, JTRIGGERMXSHOWER) | |
| setTriggerBit (JTrigger3DMuon, JTRIGGER3DMUON) | |
| setTriggerBit (JTriggerNB, JTRIGGERNB) | |
| bool | operator< (const JTriggeredHit &first, const JTriggeredHit &second) |
| Less than operator for triggered hits. More... | |
| bool | operator== (const JTriggeredHit &first, const JTriggeredHit &second) |
| Equal operator for triggered hits. More... | |
| template<class JTrigger_t > | |
| JTriggerbit_t | getTriggerBit () |
| Get the trigger bit. More... | |
| template<class JTrigger_t > | |
| JTriggerbit_t | getTriggerBit (const JTrigger_t &event) |
| Get the trigger bit. More... | |
| const char * | getTriggerName (JTriggerbit_t bit) |
| Get trigger name. More... | |
| void | setAttributes (const JModule &first, const JModule &second, JAttributes &attributes) |
| Set module attributes. More... | |
| void | randomize (JTrigger3DMuon_t::JParameters *p) |
| Randomize trigger parameters. More... | |
| void | randomize (JTrigger3DShower_t::JParameters *p) |
| Randomize trigger parameters. More... | |
| void | randomize (JTriggerMXShower_t::JParameters *p) |
| Randomize trigger parameters. More... | |
| void | randomize (JTriggerNB_t::JParameters *p) |
| Randomize trigger parameters. More... | |
| void | randomize (JTriggerParameters *p) |
| Randomize trigger parameters. More... | |
| JTimeRange | getTimeRange (const JTriggerParameters ¶meters) |
| Get time range of snapshot. More... | |
| JTimeRange | getTimeRange (const JTriggerNB_t::JParameters ¶meters) |
| Get time range of snapshot. More... | |
| bool | getDAQStatus (const JDAQFrameStatus &frame, const JStatus &status) |
| Test status of DAQ. More... | |
| bool | getDAQStatus (const JDAQFrameStatus &frame, const JModule &module, const int pmt) |
| Test status of DAQ. More... | |
| bool | getPMTStatus (const JStatus &status) |
| Test status of PMT. More... | |
| bool | getPMTStatus (const JDAQFrameStatus &frame, const JStatus &status, const int pmt) |
| Test status of PMT. More... | |
| bool | getPMTStatus (const JDAQFrameStatus &frame, const JModule &module, const int pmt) |
| Test status of PMT. More... | |
| double | getRate (const JDAQSummaryFrame &frame, const int pmt, const double factor=1.0) |
| Get corrected rate of PMT. More... | |
Variables | |
| struct { | |
| std::vector< int > JTRIGGER::count | |
| } | clusterize |
| Anonymous structure for clustering of hits. More... | |
| struct { | |
| std::vector< int > JTRIGGER::count | |
| } | reverse_clusterize |
| Anonymous structure for reverse clustering of hits. More... | |
| struct { | |
| std::vector< double > JTRIGGER::weight | |
| } | clusterizeWeight |
| Anonymous struct for weighed clustering of hits. More... | |
| static int | MAXIMAL_FRAME_SIZE = std::numeric_limits<int>::max() |
| Maximal frame size. More... | |
| static const JChecksum | checksum |
| Function object to perform check-sum of raw data. More... | |
| static const JGetRiseTime | getRiseTime |
| Function object for rise time evaluation. More... | |
| static const JModuleCounter | getNumberOfModules |
| Function object to count unique modules. More... | |
| static const unsigned int | NUMBER_OF_PMT_BITS = 31 |
| Number of pmt bits. More... | |
Auxiliary classes and method for triggering.
Trigger algorithms, support classes and auxiliary methods.
| typedef JHitL1 JTRIGGER::JHitL2 |
| typedef JHitR1 JTRIGGER::JHitR2 |
| typedef unsigned int JTRIGGER::JPMTMask_t |
Type definition of pmt mask.
Definition at line 30 of file JPMTMask.hh.
| typedef unsigned int JTRIGGER::JTriggerbit_t |
Type definition of trigger bit.
Definition at line 29 of file JTriggerInterface.hh.
|
inline |
Compare two hits by weight.
The template argument JHit_t refers to a data structure which should have the following member method:
| first | first hit |
| second | second hit |
Definition at line 433 of file JAlgorithm.hh.
|
inline |
Compare two hits by weight.
The template argument JHit_t refers to a data structure which should have the following member methods:
| first | first hit |
| second | second hit |
Definition at line 450 of file JAlgorithm.hh.
|
inline |
Auxiliary method to create JBinder2nd object.
| match | match operator |
| second | second hit |
Definition at line 70 of file JBind2nd.hh.
Less than operator for events.
The less than operator is applied to the first hit in the events.
| first | first event |
| second | second event |
Definition at line 215 of file JTrigger/JEvent.hh.
|
inline |
Get time range (i.e. earlist and latest hit time) of triggered event.
| event | event |
Definition at line 26 of file JEventToolkit.hh.
Less than operator for hits.
The less than operator is applied to the time of the hits.
| first | first hit |
| second | second hit |
Definition at line 231 of file JTrigger/JHit.hh.
|
inline |
Less than operator for hits.
The less than operator is applied to the time of the hits.
| hit | hit |
| t1 | time [ns] |
Definition at line 246 of file JTrigger/JHit.hh.
Equal operator for hits.
The equal operator is applied to the time of the hits.
| first | hit |
| second | hit |
Definition at line 261 of file JTrigger/JHit.hh.
|
inline |
Get hit count.
The hit refers to a data structure which should have the following member method:
| hit | hit |
Definition at line 277 of file JTrigger/JHit.hh.
Get hit count.
The hit iterator refers to a data structure which should have the following member method:
| __begin | begin of data |
| __end | end of data |
Definition at line 294 of file JTrigger/JHit.hh.
|
inline |
Get calibrated time of DAQ hit.
| hit | DAQ hit |
| cal | calibration |
Definition at line 34 of file JHitToolkit.hh.
|
inline |
Get calibrated time-over-threshold of DAQ hit.
| hit | DAQ hit |
| cal | calibration |
Definition at line 47 of file JHitToolkit.hh.
| JMatchHelper<JHit_t> JTRIGGER::make_match | ( | bool(*)(const JHit_t &, const JHit_t &) | match | ) |
|
inline |
Equal operator for PMT identifiers.
| first | PMT identifier |
| second | PMT identifier |
Definition at line 169 of file JPMTIdentifier_t.hh.
|
inline |
Less than operator for PMT identifiers.
The less than operator is applied first to the module identifer and then to the PMT address.
| first | PMT identifier |
| second | PMT identifier |
Definition at line 185 of file JPMTIdentifier_t.hh.
|
inline |
Convert pmt bit to pmt mask.
| bit | pmt bit |
Definition at line 45 of file JPMTMask.hh.
| JTRIGGER::setTriggerBit | ( | JTrigger3DShower | , |
| JTRIGGER3DSHOWER | |||
| ) |
| JTRIGGER::setTriggerBit | ( | JTriggerMXShower | , |
| JTRIGGERMXSHOWER | |||
| ) |
| JTRIGGER::setTriggerBit | ( | JTrigger3DMuon | , |
| JTRIGGER3DMUON | |||
| ) |
| JTRIGGER::setTriggerBit | ( | JTriggerNB | , |
| JTRIGGERNB | |||
| ) |
|
inline |
Less than operator for triggered hits.
The less than operator is applied first to JTRIGGER::JHit and then to the KM3NETDAQ::JDAQPMTIdentifier. Hence, the ordering by JTRIGGER::JHit is maintained. This allows for the use of STL sort() and set_union() algorithms.
| first | first hit |
| second | second hit |
Definition at line 86 of file JTriggeredHit.hh.
|
inline |
Equal operator for triggered hits.
The equal operator is applied to JTRIGGER::JHit and to the KM3NETDAQ::JDAQPMTIdentifier.
| first | first hit |
| second | second hit |
Definition at line 104 of file JTriggeredHit.hh.
|
inline |
Get the trigger bit.
Definition at line 206 of file JTriggerInterface.hh.
|
inline |
Get the trigger bit.
| event | triggered event |
Definition at line 219 of file JTriggerInterface.hh.
|
inline |
Get trigger name.
param bit trigger bit
Definition at line 231 of file JTriggerInterface.hh.
|
inline |
Set module attributes.
| first | first module |
| second | second module |
| attributes | module attributes |
Definition at line 46 of file JTriggerMXShower.hh.
|
inline |
Randomize trigger parameters.
| p | pointer to valid object |
Definition at line 26 of file JTriggerTestkit.hh.
|
inline |
Randomize trigger parameters.
| p | pointer to valid object |
Definition at line 44 of file JTriggerTestkit.hh.
|
inline |
Randomize trigger parameters.
| p | pointer to valid object |
Definition at line 60 of file JTriggerTestkit.hh.
|
inline |
Randomize trigger parameters.
| p | pointer to valid object |
Definition at line 76 of file JTriggerTestkit.hh.
|
inline |
Randomize trigger parameters.
| p | pointer to valid object |
Definition at line 94 of file JTriggerTestkit.hh.
|
inline |
Get time range of snapshot.
| parameters | trigger parameters |
Definition at line 39 of file JTriggerToolkit.hh.
|
inline |
Get time range of snapshot.
| parameters | trigger parameters |
Definition at line 51 of file JTriggerToolkit.hh.
|
inline |
Test status of DAQ.
The DAQ test passes if the assembly of UDP packets is complete.
The test can be bypassed using the PMT control status.
| frame | data frame status |
| status | PMT control status |
Definition at line 69 of file JTriggerToolkit.hh.
|
inline |
Test status of DAQ.
The DAQ test passes if the assembly of UDP packets is complete.
The test can be bypassed using the PMT control status.
| frame | data frame status |
| module | module |
| pmt | PMT number |
Definition at line 87 of file JTriggerToolkit.hh.
|
inline |
Test status of PMT.
The PMT test passes if it is not disabled.
| status | PMT control status |
Definition at line 101 of file JTriggerToolkit.hh.
|
inline |
Test status of PMT.
The PMT test passes if it is not disabled and no high-rate veto or FIFO (almost) full.
The test can be bypassed using the PMT control status.
| frame | data frame |
| status | PMT control status |
| pmt | PMT number |
Definition at line 118 of file JTriggerToolkit.hh.
|
inline |
Test status of PMT.
The PMT test passes if it is not disabled and no high-rate veto or FIFO (almost) full.
The test can be bypassed using the PMT control status.
| frame | data frame |
| module | module |
| pmt | PMT number |
Definition at line 137 of file JTriggerToolkit.hh.
|
inline |
Get corrected rate of PMT.
The measured rate is corrected for the possible loss of UDP packets.
| frame | data frame |
| pmt | PMT number |
| factor | scaling factor |
Definition at line 153 of file JTriggerToolkit.hh.
|
mutable |
Definition at line 180 of file JAlgorithm.hh.
| struct { ... } JTRIGGER::clusterize |
Anonymous structure for clustering of hits.
| struct { ... } JTRIGGER::reverse_clusterize |
Anonymous structure for reverse clustering of hits.
|
mutable |
Definition at line 417 of file JAlgorithm.hh.
| struct { ... } JTRIGGER::clusterizeWeight |
Anonymous struct for weighed clustering of hits.
|
static |
Maximal frame size.
Definition at line 32 of file JChecksum.hh.
|
static |
Function object to perform check-sum of raw data.
Definition at line 176 of file JChecksum.hh.
|
static |
Function object for rise time evaluation.
Definition at line 313 of file JGetRiseTime.hh.
|
static |
Function object to count unique modules.
Definition at line 67 of file JModuleCounter.hh.
|
static |
Number of pmt bits.
Definition at line 36 of file JPMTMask.hh.
1.8.5