Jpp
|
Auxiliary class to apply the supernova trigger to SN data. More...
#include <JSupernova.hh>
Public Member Functions | |
JTriggerSN (JRange< int > tRange, double TMax_ms) | |
Default constructor. More... | |
void | setVeto (JVetoSet &vt) |
void | operator() (const JDataSN &in) |
Builds trigger. More... | |
vector< int > | benchmark (JRange< int > A=JRange< int >(6, 10)) |
Benchmark different trigger steps. More... | |
JModuleSet | getModules (JRange< int > A=JRange< int >(6, 10)) |
Get triggered modules after track veto. More... | |
void | fill (TH1D *out, const JSNFilter &F) |
Get modules according to a filter criterion JModuleSet getModules(const JSNFilter& F) { JModuleSet out;. More... | |
bool | operator> (const JTriggerSN &rhs) const |
used by (reverse) std:priority_queue, in absence of this operator the container will behave unpredictably More... | |
bool | operator< (const JTriggerSN &rhs) const |
< operator More... | |
Public Attributes | |
int | frameIndex |
JDAQUTCExtended | timeUTC |
Private Attributes | |
double | TMaxCluster_ms = 1000.0 |
JVetoSet | veto |
Auxiliary class to apply the supernova trigger to SN data.
Definition at line 385 of file JSupernova.hh.
|
inline |
Default constructor.
tRange | multiplicity range for selection of supernova coincidences |
TMax_ms | time width for coincidence clustering (track / afterpulse) |
Definition at line 404 of file JSupernova.hh.
|
inline |
Definition at line 408 of file JSupernova.hh.
|
inline |
Builds trigger.
in | pretrigger SN data |
Definition at line 418 of file JSupernova.hh.
Benchmark different trigger steps.
0: count every triggering cluster of coincidences 1: track veto based on time-correlated coincidences 2: track veto based on triggered events
Definition at line 452 of file JSupernova.hh.
|
inline |
Get triggered modules after track veto.
Definition at line 472 of file JSupernova.hh.
|
inline |
Get modules according to a filter criterion JModuleSet getModules(const JSNFilter& F) { JModuleSet out;.
for (JTriggerSN::const_iterator p = this->begin(); p != this->end(); p++) { if (F(*p)) {
} }
} Fills histogram with multiplicity counts
Definition at line 508 of file JSupernova.hh.
|
inline |
operator
used by (reverse) std:priority_queue, in absence of this operator the container will behave unpredictably
Definition at line 524 of file JSupernova.hh.
|
inline |
|
private |
Definition at line 389 of file JSupernova.hh.
|
private |
Definition at line 391 of file JSupernova.hh.
int JSUPERNOVA::JTriggerSN::frameIndex |
Definition at line 395 of file JSupernova.hh.
JDAQUTCExtended JSUPERNOVA::JTriggerSN::timeUTC |
Definition at line 396 of file JSupernova.hh.