Example class for data analysis.
More...
Example class for data analysis.
Definition at line 43 of file JDAQTimesliceSelector.cc.
◆ JAnalysis()
Constructor.
Definition at line 49 of file JDAQTimesliceSelector.cc.
53 h0(
"h0", NULL, numeric_limits<JDAQHit::JPMT_t>::max(), -0.5, numeric_limits<JDAQHit::JPMT_t>::max() - 0.5),
54 h1(
"h1", NULL, numeric_limits<JDAQHit::JTOT_t>::max(), -0.5, numeric_limits<JDAQHit::JTOT_t>::max() - 0.5),
double getFrameTime()
Get frame time duration.
◆ ~JAnalysis()
JAnalysis::~JAnalysis |
( |
| ) |
|
|
inline |
◆ put() [1/2]
Process data.
- Parameters
-
- Returns
- true
Definition at line 85 of file JDAQTimesliceSelector.cc.
89 for (JDAQTimeslice::const_iterator frame = timeslice.begin(); frame != timeslice.end(); ++frame) {
93 h0.Fill(hit->getPMT());
94 h1.Fill(hit->getToT());
JDAQPMTIdentifier PMT
Command line options.
#define DEBUG(A)
Message macros.
◆ put() [2/2]
Object output.
- Parameters
-
- Returns
- true if OK; else false
◆ h0
◆ h1
◆ h2
◆ counter
The documentation for this struct was generated from the following file: