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
StjSpinReader.h
1
// -*- mode: c++;-*-
2
// $Id: StjSpinReader.h,v 1.1 2008/11/05 05:48:29 tai Exp $
3
// Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov>
4
#ifndef STJSPINREADER_H
5
#define STJSPINREADER_H
6
7
#include "StjTreeReader.h"
8
9
class
StjSpinReader
:
public
StjTreeReader
{
10
11
public
:
12
StjSpinReader
(TTree *tree) :
StjTreeReader
(tree) { }
13
virtual
~
StjSpinReader
() { }
14
15
int
runNumber()
const
{
return
__runNumber; }
16
int
eventId()
const
{
return
__eventId; }
17
int
bx7()
const
{
return
__bx7; }
18
int
bx48()
const
{
return
__bx48; }
19
int
spin4()
const
{
return
__spin4; }
20
int
bbcTimebin()
const
{
return
__bbcTimebin; }
21
double
vertexZ()
const
{
return
__vertexZ; }
22
23
private
:
24
25
void
SetBranchAddress(TTree *tree);
26
27
void
clearEntry();
28
void
readEntry();
29
30
Int_t _runNumber;
31
Int_t _eventId;
32
Int_t _bx7;
33
Int_t _bx48;
34
Int_t _spin4;
35
Int_t _bbcTimebin;
36
Double_t _vertexZ;
37
38
int
__runNumber;
39
int
__eventId;
40
int
__bx7;
41
int
__bx48;
42
int
__spin4;
43
int
__bbcTimebin;
44
double
__vertexZ;
45
46
ClassDef(
StjSpinReader
, 1)
47
48
};
49
50
#endif // STJSPINREADER_H
StjTreeReader
Definition:
StjTreeReader.h:13
StjSpinReader
Definition:
StjSpinReader.h:9
Generated by
1.8.5