Jpp
18.0.0-rc.1
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 JTemplate< JType_t > | template_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... | |
operator const JType_t & () const | |
Type conversion. More... | |
operator JType_t & () | |
Type conversion. More... | |
const JType_t * | operator-> () const |
Smart pointer operator. More... | |
JType_t * | operator-> () |
Smart pointer operator. More... | |
template<class T , bool use_polymorphism = false> | |
const T & | get () const |
Get reference to object. More... | |
template<class T , bool use_polymorphism = false> | |
T & | get () |
Get reference to object. More... | |
template_type & | set (const JType_t &value) |
Set value. More... | |
template<bool use_polymorphism, class T > | |
template_type & | set (const T &value) |
Set value. 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... | |
Protected Member Functions | |
const JType_t & | c_get (JBool< true > option) const |
Get reference to object. More... | |
JType_t & | c_get (JBool< true > option) |
Get reference to object. More... | |
template<class T > | |
template_type & | c_set (const T &value, JBool< true > option) |
Set value. More... | |
Static Protected Member Functions | |
template<class T > | |
static JProperties | getProperties (T &object) |
Get properties of this class. More... | |
Protected Attributes | |
JType_t | object |
object More... | |
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 33 of file JMultipleFileSampler.hh.
|
inherited |
Definition at line 42 of file JTemplate.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 |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get reference to object.
Definition at line 113 of file JTemplate.hh.
|
inlineinherited |
Get reference to object.
Definition at line 125 of file JTemplate.hh.
|
inlineinherited |
Set value.
value | value |
Definition at line 137 of file JTemplate.hh.
|
inlineinherited |
Set value.
value | value |
Definition at line 150 of file JTemplate.hh.
|
inlineprotectedinherited |
Get reference to object.
option | true |
Definition at line 188 of file JTemplate.hh.
|
inlineprotectedinherited |
Get reference to object.
option | true |
Definition at line 200 of file JTemplate.hh.
|
inlineprotectedinherited |
Set value.
value | value |
option | true |
Definition at line 214 of file JTemplate.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 |
object
Definition at line 222 of file JTemplate.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.