Jpp
18.0.1-rc.2
the software that should make you happy
|
Auxiliary class to select summary data (KM3NETDAQ::JDAQSummaryslice) from the specified raw data file(s). More...
#include <JRunByRun.hh>
Public Types | |
typedef JRandomSampler < JDAQSummaryslice > | sampler_type |
typedef JObjectIterator< T > ::pointer_type | pointer_type |
Public Member Functions | |
JRunByRun () | |
Default constructor. More... | |
bool | is_valid () const |
Check validity of run by run options. More... | |
const JMultipleFileScanner < JDAQSummaryslice > *const | operator-> () const |
Smart pointer operator. More... | |
JMultipleFileScanner < JDAQSummaryslice > * | operator-> () |
Smart pointer operator. More... | |
virtual bool | hasNext () override |
Check availability of next element. More... | |
virtual const pointer_type & | next () override |
Get next element. More... | |
const JSampler_t< T > & | getSampler () const |
Get sampler. More... | |
JSampler_t< T > & | getSampler () |
Get sampler. More... | |
virtual skip_type | skip (const skip_type ns) |
Skip items. More... | |
Static Protected Member Functions | |
template<class T > | |
static JProperties | getProperties (T &object) |
Get properties of this class. More... | |
Protected Attributes | |
JMultipleFileScanner < JDAQSummaryslice > | scanner |
JRewindableObjectIterator< T > & | in |
JSampler_t< T > | sampler |
JPointer< T > | ps |
bool | has_next |
Friends | |
std::istream & | operator>> (std::istream &in, JRunByRun &object) |
Read run by run options from input. More... | |
std::ostream & | operator<< (std::ostream &out, const JRunByRun &object) |
Write run by run options to output. More... | |
Auxiliary class to select summary data (KM3NETDAQ::JDAQSummaryslice) from the specified raw data file(s).
The use case of this class primarily is for the run-by-run mode of JTriggerEfficiency.cc.
The two parameters of the JSUPPORT::JRandomSampler class should then be set to sufficiently cover the contents of raw data file(s) and to minimise possible biases.
The values can also be tuned to reduce the overhead of accessing the data in the input file(s).
Definition at line 32 of file JRunByRun.hh.
|
inherited |
Definition at line 60 of file JMultipleFileSampler.hh.
|
inherited |
Definition at line 45 of file JObjectSampler.hh.
|
inline |
Default constructor.
Definition at line 38 of file JRunByRun.hh.
|
inline |
Check validity of run by run options.
Definition at line 48 of file JRunByRun.hh.
|
inlinestaticprotected |
|
inlineinherited |
Smart pointer operator.
Definition at line 31 of file JMultipleFileSampler.hh.
|
inlineinherited |
Smart pointer operator.
Definition at line 41 of file JMultipleFileSampler.hh.
|
inlineoverridevirtualinherited |
Check availability of next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 78 of file JObjectSampler.hh.
|
inlineoverridevirtualinherited |
Get next element.
Implements JLANG::JObjectIterator< T >.
Definition at line 120 of file JObjectSampler.hh.
|
inlineinherited |
|
inlineinherited |
|
inlinevirtualinherited |
Skip items.
ns | number of items to skip |
Reimplemented in JLANG::JPipe< T >, JLANG::JPipe< JTail_t >, JLANG::JPipe< JHead_t >, JLANG::JSTDObjectIterator< T >, JLANG::JAbstractObjectReader< T >, JLANG::JAbstractObjectReader< JNullType >, JLANG::JAbstractObjectReader< const T >, JLANG::JAbstractObjectReader< JTail_t >, JLANG::JAbstractObjectReader< JHead_t >, JLANG::JAbstractObjectReader< KM3NETDAQ::KM3NETDAQ::JDAQEvent >, and JLANG::JAbstractObjectReader< JDAQSummaryslice >.
Definition at line 90 of file JObjectIterator.hh.
|
friend |
Read run by run options from input.
in | input stream |
object | run by run options |
Definition at line 61 of file JRunByRun.hh.
|
friend |
Write run by run options to output.
out | output stream |
object | run by run options |
Definition at line 85 of file JRunByRun.hh.
|
protectedinherited |
Definition at line 47 of file JMultipleFileSampler.hh.
|
protectedinherited |
Definition at line 154 of file JObjectSampler.hh.
|
protectedinherited |
Definition at line 155 of file JObjectSampler.hh.
|
protectedinherited |
Definition at line 156 of file JObjectSampler.hh.
|
protectedinherited |
Definition at line 157 of file JObjectSampler.hh.