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
StjVertexReader.h
1
// -*- mode: c++;-*-
2
// $Id: StjVertexReader.h,v 1.1 2008/08/13 19:37:30 tai Exp $
3
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4
#ifndef STJVERTEXREADER_H
5
#define STJVERTEXREADER_H
6
7
#include "StjTreeReader.h"
8
9
class
StjVertexReader
:
public
StjTreeReader
{
10
11
public
:
12
StjVertexReader
(TTree *tree) :
StjTreeReader
(tree) { }
13
virtual
~
StjVertexReader
() { }
14
15
int
runNumber()
const
{
return
__runNumber; }
16
int
eventId()
const
{
return
__eventId; }
17
double
vertexZ()
const
{
return
__vertexZ; }
18
double
vertexY()
const
{
return
__vertexY; }
19
double
vertexX()
const
{
return
__vertexX; }
20
21
private
:
22
23
void
SetBranchAddress(TTree *tree);
24
25
void
clearEntry();
26
void
readEntry();
27
28
Int_t _runNumber;
29
Int_t _eventId;
30
Double_t _vertexZ;
31
Double_t _vertexY;
32
Double_t _vertexX;
33
34
int
__runNumber;
35
int
__eventId;
36
double
__vertexZ;
37
double
__vertexY;
38
double
__vertexX;
39
40
ClassDef(
StjVertexReader
, 1)
41
42
};
43
44
#endif // STJVERTEXREADER_H
StjTreeReader
Definition:
StjTreeReader.h:13
StjVertexReader
Definition:
StjVertexReader.h:9
Generated by
1.8.5