Jpp  master_rocky
the software that should make you happy
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
Interface for object iteration with named access.
Interface for null access.
Definition: JAccessible.hh:67
Template definition of Monte Carlo object reader for ASCII formatted file (i.e. '....
Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i....
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Support classes and methods for experiment specific I/O.
Definition: JDataWriter.cc:38
Implementation for null iteration.