Jpp
pmt_effective_area_update_2
the software that should make you happy
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
software
JSupport
JMonteCarloFileReader.hh
Go to the documentation of this file.
1
#ifndef __JSUPPORT__JMONTECARLOFILEREADER__
2
#define __JSUPPORT__JMONTECARLOFILEREADER__
3
4
#include "
JLang/JObjectIterator.hh
"
5
6
7
/**
8
* \author mdejong
9
*/
10
11
namespace
JSUPPORT {}
12
namespace
JPP {
using namespace
JSUPPORT; }
13
14
namespace
JSUPPORT {
15
16
using
JLANG::JAccessibleObjectIterator
;
17
using
JLANG::JNullIterator
;
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>
28
class
JMonteCarloASCIIFileReader
:
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>
42
class
JMonteCarloGZFileReader
:
43
public
JAccessibleObjectIterator
<T>,
44
public
JNullAccess
,
45
public
JNullIterator
<T>
46
{};
47
}
48
49
#endif
JLANG::JNullAccess
Interface for null access.
Definition:
JAccessible.hh:65
JSUPPORT::JMonteCarloGZFileReader
Template definition of Monte Carlo object reader for gzipped ASCII formatted file (i...
Definition:
JMonteCarloFileReader.hh:42
JSUPPORT::JMonteCarloASCIIFileReader
Template definition of Monte Carlo object reader for ASCII formatted file (i.e. '.evt')
Definition:
JMonteCarloFileReader.hh:28
JLANG::JNullIterator
Implementation for null iteration.
Definition:
JObjectIterator.hh:327
JLANG::JAccessibleObjectIterator
Interface for object iteration with named access.
Definition:
JObjectIterator.hh:374
JObjectIterator.hh
Generated by
1.8.5