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
StEStructPool
EventGenerators
StEStructGevsim.h
1
/**********************************************************************
2
* Author: Mike Daugherity
3
*
4
**********************************************************************
5
*
6
* Description: EStructEventReader wrapper for Gevsim event generator
7
*
8
**********************************************************************/
9
#ifndef __STESTRUCTGEVSIM__H
10
#define __STESTRUCTGEVSIM__H
11
12
#include "StEStructPool/AnalysisMaker/StEStructEventReader.h"
13
14
#include "TROOT.h"
15
#include "StEStructPool/Gevsim/TGeVSim.h"
16
17
class
StEStructEventCuts
;
18
class
StEStructTrackCuts
;
19
20
class
StEStructGevsim
:
public
StEStructEventReader
{
21
22
TGeVSim
*mgevsim;
23
int
meventCount;
24
int
meventsToDo;
25
bool
mAmDone;
26
int
mrefMult;
27
28
TClonesArray *mtrackArray;
29
30
void
fillTracks(
StEStructEvent
* estructEvent);
31
32
public
:
33
34
StEStructGevsim
();
35
StEStructGevsim
(
int
nevents,
TGeVSim
* gevsim,
StEStructEventCuts
* ecuts,
StEStructTrackCuts
* tcuts);
36
37
virtual
~
StEStructGevsim
(){};
38
bool
hasGenerator();
39
40
virtual
StEStructEvent
* next();
41
virtual
bool
done();
42
virtual
StEStructEvent
* generateEvent();
43
44
ClassDef(
StEStructGevsim
,1)
45
};
46
47
48
inline
bool
StEStructGevsim::done(){
return
mAmDone; };
49
50
51
#endif
52
StEStructEvent
Definition:
StEStructEvent.h:25
StEStructTrackCuts
Definition:
StEStructTrackCuts.h:21
StEStructGevsim
Definition:
StEStructGevsim.h:20
StEStructEventReader
Definition:
StEStructEventReader.h:24
StEStructEventCuts
Definition:
StEStructEventCuts.h:26
TGeVSim
Definition:
TGeVSim.h:78
Generated by
1.8.5