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
StEEmcPool
StEEmcPi0Mixer
StEEmcPi0Reader.h
1
#ifndef __StEEmcPi0Reader_h__
2
#define __StEEmcPi0Reader_h__
3
4
#include "StMaker.h"
5
#include "StEEmcMixEvent.h"
6
7
#include "TChain.h"
8
#include "TString.h"
9
10
class
StEEmcPi0Reader
:
public
StMaker
11
{
12
13
public
:
14
15
StEEmcPi0Reader
(
const
Char_t *name=
"mRealTree"
,
const
Char_t *bname=
"MixEvent"
);
16
~
StEEmcPi0Reader
(){
/* nada */
};
17
18
void
chainFile(
const
Char_t *name );
19
20
StEEmcMixEvent
*event(){
return
mEvent
; }
21
22
Int_t Init();
23
Int_t
Make
();
24
void
Clear
(Option_t *opts=
""
);
25
26
Long64_t getNumberOfEvents(){
return
mChain
->GetEntries(); }
27
Int_t getEvent(Int_t event);
28
29
TChain *chain(){
return
mChain
; }
30
31
private
:
32
protected
:
33
34
Int_t index;
35
36
TChain *
mChain
;
37
StEEmcMixEvent
*
mEvent
;
38
TString
mBranchName
;
40
ClassDef(
StEEmcPi0Reader
,1);
41
42
43
};
44
45
#endif
StEEmcPi0Reader::Make
Int_t Make()
Definition:
StEEmcPi0Reader.cxx:24
StEEmcPi0Reader::mChain
TChain * mChain
Definition:
StEEmcPi0Reader.h:36
StEEmcMixEvent
copied from muDst
Definition:
StEEmcMixEvent.h:23
StEEmcPi0Reader::mEvent
StEEmcMixEvent * mEvent
Definition:
StEEmcPi0Reader.h:37
StMaker
Definition:
StMaker.h:57
StEEmcPi0Reader
Definition:
StEEmcPi0Reader.h:10
StEEmcPi0Reader::mBranchName
TString mBranchName
Definition:
StEEmcPi0Reader.h:38
StEEmcPi0Reader::Clear
void Clear(Option_t *opts="")
User defined functions.
Definition:
StEEmcPi0Reader.cxx:38
Generated by
1.8.5