Jpp
JMonteCarloFileReader.hh
Go to the documentation of this file.
1 #ifndef __JSUPPORT__JMONTECARLOFILEREADER__
2 #define __JSUPPORT__JMONTECARLOFILEREADER__
3 
5 
6 
7 /**
8  * \author mdejong
9  */
10 
11 namespace JSUPPORT {}
12 namespace JPP { using namespace JSUPPORT; }
13 
14 namespace JSUPPORT {
15 
18  using JLANG::JNullAccess;
19 
20 
21  /**
22  * Template definition of Monte Carlo object reader for ASCII formatted file (i.e. '.evt')
23  *
24  * This class provides for a null implementation of the JLANG::JAccessibleObjectIterator interface.
25  * It should be specialised for the data types that will be read from a Monte Carlo file.
26  */
27  template<class T>
29  public JAccessibleObjectIterator<T>,
30  public JNullAccess,
31  public JNullIterator<T>
32  {};
33 
34 
35  /**
36  * Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i.e. '.gz')
37  *
38  * This class provides for a null implementation of the JLANG::JAccessibleObjectIterator interface.
39  * It should be specialised for the data types that will be read from a Monte Carlo file.
40  */
41  template<class T>
43  public JAccessibleObjectIterator<T>,
44  public JNullAccess,
45  public JNullIterator<T>
46  {};
47 }
48 
49 #endif
JObjectIterator.hh
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition: JAAnetToolkit.hh:37
JLANG::JAccessibleObjectIterator
Interface for object iteration with named access.
Definition: JObjectIterator.hh:372
JSUPPORT::JMonteCarloGZFileReader
Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i....
Definition: JMonteCarloFileReader.hh:42
JSUPPORT
Support classes and methods for experiment specific I/O.
Definition: JDataWriter.cc:38
JLANG::JNullAccess
Interface for null access.
Definition: JAccessible.hh:65
JSUPPORT::JMonteCarloASCIIFileReader
Template definition of Monte Carlo object reader for ASCII formatted file (i.e.
Definition: JMonteCarloFileReader.hh:28
JLANG::JNullIterator
Implementation for null iteration.
Definition: JObjectIterator.hh:325