Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
python
PyNTupleController.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _PyNTupleController_H_
15
#define _PyNTupleController_H_
16
17
#include <string>
18
#include <vector>
19
20
namespace
hippodraw {
21
22
class
CircularBuffer;
23
class
DataSource;
24
class
NTupleController;
25
class
NTuple;
26
class
PyDataSource;
27
35
class
PyNTupleController
36
{
37
38
private
:
39
42
static
PyNTupleController
*
s_instance
;
43
46
static
NTupleController
*
m_instance
;
47
49
PyNTupleController
();
50
52
PyNTupleController
(
const
PyNTupleController
&);
53
54
public
:
55
58
static
PyNTupleController
*
instance
();
59
62
NTuple
*
createNTuple
();
63
66
DataSource
*
createNTuple
(
const
std::string & filename );
67
70
CircularBuffer
*
createCircularBuffer
(
unsigned
int
n );
71
74
PyDataSource
*
createDataArray
(
const
std::string & filename );
75
78
DataSource
*
findDataSource
(
const
std::string & name )
const
;
79
82
std::string
registerNTuple
(
DataSource
* source );
83
86
void
registerNTuple
(
const
std::string & name,
87
DataSource
* source );
88
93
int
writeNTupleToFile
(
DataSource
* source,
94
const
std::string & filename );
95
98
void
changeName
(
DataSource
* source,
const
std::string & new_name );
99
100
};
101
102
}
// namespace hippodraw
103
104
#endif // _PyNTupleController_H_
Generated for HippoDraw Class Library by