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
StJetMaker
tree
StjTreeReader.h
1
// -*- mode: c++;-*-
2
// $Id: StjTreeReader.h,v 1.4 2015/08/14 16:38:11 rfatemi Exp $
3
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4
#ifndef STJTREEREADER_H
5
#define STJTREEREADER_H
6
7
#include <TObject.h>
8
9
class
TTree;
10
11
class
StjTreeIndex
;
12
13
class
StjTreeReader
:
public
TObject {
14
15
public
:
16
StjTreeReader
(TTree* tree) : _tree(tree) { }
17
StjTreeReader
() : _tree(0) { }
18
virtual
~
StjTreeReader
() { }
19
20
virtual
void
Init();
21
22
virtual
Long64_t GetEntryWithIndex(
const
StjTreeIndex
& idx);
23
virtual
Long64_t GetEntryWithIndex(Int_t big, Int_t small);
24
25
protected
:
26
27
virtual
void
SetBranchAddress(TTree *tree) { }
28
29
virtual
void
clearEntry() = 0;
30
virtual
void
readEntry() = 0;
31
32
TTree* _tree;
33
34
ClassDef(
StjTreeReader
, 1)
35
36
};
37
38
#endif // STJTREEREADER_H
StjTreeReader
Definition:
StjTreeReader.h:13
StjTreeIndex
Definition:
StjTreeIndex.h:12
Generated by
1.8.5