Jpp
|
Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events). More...
#include <JTriggeredFileScanner.hh>
Public Types | |
typedef JTypeList< JDAQEvent, JTypelist_t > | typelist |
typedef JParallelFileScanner < typelist, JMultipleFileScanner > | base_class |
typedef JMultiPointer < JTypeList< Evt, typelist > > | multi_pointer_type |
typedef JMultipleFileScanner < JNullType >::input_type | input_type |
typedef JRewindableObjectIterator < JTypeList< JDAQEvent, JTypelist_t > >::pointer_type | pointer_type |
Public Member Functions | |
JTriggeredFileScanner () | |
Default constructor. More... | |
virtual bool | hasNext () |
Constructor. More... | |
virtual const multi_pointer_type & | next () |
Get next element. More... | |
const std::string & | getFilename () const |
Get current file name. More... | |
counter_type | getCounter () const |
Get counter. More... | |
virtual void | rewind () |
Rewind. More... | |
virtual skip_type | skip (const skip_type ns) |
Skip items. More... | |
virtual skip_type | skip (const skip_type ns) |
Skip items. More... | |
Protected Attributes | |
JTreeScanner< Evt > | in |
std::string | file_name |
JFileScanner< JTypeList < JDAQEvent, JTypelist_t > > | scanner |
unsigned int | index |
counter_type | counter |
Auxiliary class to synchronously read DAQ events and Monte Carlo events (and optionally other events).
It is assumed that the TTree corresponding to the template argument and the TTree with KM3NETDAQ::JDAQEvent can be read in parallel.
Definition at line 39 of file JTriggeredFileScanner.hh.
typedef JTypeList<JDAQEvent, JTypelist_t> JSUPPORT::JTriggeredFileScanner< JTypelist_t >::typelist |
Definition at line 42 of file JTriggeredFileScanner.hh.
typedef JParallelFileScanner<typelist, JMultipleFileScanner> JSUPPORT::JTriggeredFileScanner< JTypelist_t >::base_class |
Definition at line 43 of file JTriggeredFileScanner.hh.
typedef JMultiPointer< JTypeList<Evt, typelist> > JSUPPORT::JTriggeredFileScanner< JTypelist_t >::multi_pointer_type |
Definition at line 44 of file JTriggeredFileScanner.hh.
|
inherited |
Definition at line 36 of file JParallelFileScanner.hh.
|
inherited |
Definition at line 264 of file JMultipleFileScanner.hh.
|
inline |
Default constructor.
Definition at line 50 of file JTriggeredFileScanner.hh.
|
inlinevirtual |
Constructor.
input | input |
limit | limit Check availability of next element. |
Reimplemented from JSUPPORT::JMultipleFileScanner< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 72 of file JTriggeredFileScanner.hh.
|
inlinevirtual |
Get next element.
Reimplemented from JSUPPORT::JParallelFileScanner< JTypeList< JDAQEvent, JTypelist_t >, JMultipleFileScanner >.
Definition at line 92 of file JTriggeredFileScanner.hh.
|
inlineinherited |
Get current file name.
Note that this method should only be called when method hasNext() returns true.
Definition at line 312 of file JMultipleFileScanner.hh.
|
inlineinherited |
Get counter.
Definition at line 323 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Rewind.
Implements JLANG::JRewindable< T >.
Definition at line 332 of file JMultipleFileScanner.hh.
|
inlinevirtualinherited |
Skip items.
ns | number of items to skip |
Definition at line 412 of file JMultipleFileScanner.hh.
|
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 >, JLANG::JAbstractObjectReader< JDAQSummaryslice >, and JLANG::JAbstractObjectReader< JTypeList< JDAQEvent, JTypelist_t > >.
Definition at line 88 of file JObjectIterator.hh.
|
protected |
Definition at line 107 of file JTriggeredFileScanner.hh.
|
protected |
Definition at line 108 of file JTriggeredFileScanner.hh.
|
protectedinherited |
Definition at line 427 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 428 of file JMultipleFileScanner.hh.
|
protectedinherited |
Definition at line 429 of file JMultipleFileScanner.hh.