StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StHighptPool
Common
IO.h
1
/*
2
just chains root files
3
4
5
*/
6
#ifndef IO_H
7
#define IO_H
8
9
#include "TString.h"
10
#include "TObject.h"
11
#include <vector>
12
#include <string>
13
#include <list>
14
#include <utility>
15
16
//typedef pair<string,int> myPair
17
18
class
TChain;
19
20
class
IO
:
public
TObject{
21
public
:
22
IO
(
const
char
* dir=
"./"
,
const
char
* match=
"st_physics"
,
const
char
* ext=
".root"
);
23
~
IO
();
24
25
void
setNFile(
int
n) { mNFile = n; }
26
void
chain(TChain* chain);
27
void
createDb(
const
char
* dbFile);
28
29
/*
30
int createDb(const char* dbFile, const char* inputList);
31
int addDb(const char* dbFile);
32
void showDb();
33
void sortDb();
34
int entriesDb();
35
int entries(const char* file);
36
*/
37
38
private
:
39
int
mNFile;
40
TString mDir;
41
TString mMatch;
42
TString mExt;
43
44
/*
46
vector< myPair > mDb;
47
vector< myPair >::iterator iter;
48
*/
49
50
ClassDef(
IO
,1)
51
52
};
53
55
//inline int IO::entriesDb() { return mDb.size(); }
56
57
#endif
IO
Definition:
IO.h:20
Generated by
1.8.5