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
StEventMaker
StEventMaker.h
1
/***************************************************************************
2
*
3
* $Id: StEventMaker.h,v 2.16 2014/08/06 11:43:08 jeromel Exp $
4
*
5
* Author: Original version by T. Wenaus, BNL
6
* Revised version for new StEvent by T. Ullrich, Yale
7
***************************************************************************
8
*
9
* Description: Setup of StEvent
10
*
11
***************************************************************************
12
*
13
* $Log: StEventMaker.h,v $
14
* Revision 2.16 2014/08/06 11:43:08 jeromel
15
* Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
16
*
17
* Revision 2.15 2009/11/23 16:37:08 fisyak
18
* Clean up, fix problem with bunch crossing information in StEventInfo and StHddr
19
*
20
* Revision 2.13 2009/11/19 16:54:09 fisyak
21
* Clean up
22
*
23
* Revision 2.12 2009/11/10 20:45:08 fisyak
24
* pams Cleanup
25
*
26
* Revision 2.11 2002/04/18 23:29:35 jeromel
27
* Implementation of the SVT 2 tables scheme ...
28
*
29
* Revision 2.10 2002/02/25 19:34:14 ullrich
30
* Fill parts of StRunInfo from StDetectorDbBeamInfo.
31
*
32
* Revision 2.9 2001/09/28 22:22:05 ullrich
33
* Load helix geometry at last point of each track.
34
*
35
* Revision 2.8 2001/09/18 00:16:07 ullrich
36
* Fill and add StRunInfo.
37
*
38
* Revision 2.7 2001/09/12 23:49:22 ullrich
39
* Removed code to build StRun and StRunSummary.
40
*
41
* Revision 2.6 2001/05/17 22:46:38 ullrich
42
* Removed loading of event summary params.
43
*
44
* Revision 2.5 2001/02/22 04:59:16 ullrich
45
* Added protected method getStEventInstance().
46
*
47
* Revision 2.4 2000/08/17 00:38:52 ullrich
48
* Allow loading of tpt tracks.
49
*
50
* Revision 2.3 2000/05/24 15:48:20 ullrich
51
* Instance of StEvent now also created if no DST dataset
52
* is available.
53
*
54
* Revision 2.2 2000/01/05 16:07:47 ullrich
55
* Added loading of SSD hits and handling of runco branch.
56
*
57
* Revision 2.1 1999/11/05 18:35:57 ullrich
58
* Added methods and flags for debugging and monitoring.
59
*
60
* Revision 2.0 1999/11/04 19:03:00 ullrich
61
* Revised to build new StEvent version
62
*
63
**************************************************************************/
64
#ifndef STAR_StEventMaker
65
#define STAR_StEventMaker
66
67
#include "StMaker.h"
68
#include "StEventMaker/StEventManager.hh"
69
class
StEvent
;
70
class
StTrack
;
71
class
StRunInfo
;
72
73
class
StEventMaker
:
public
StMaker
{
74
public
:
75
StEventMaker
(
const
char
*name=
"StEventMaker"
,
const
char
*title=
""
);
76
virtual
~
StEventMaker
();
77
78
virtual
Int_t Init();
79
virtual
Int_t
Make
();
80
virtual
void
setEventManager(
StEventManager
* mgr);
81
virtual
StEventManager
* eventManager();
82
virtual
StEvent
* event();
83
virtual
void
Clear(
const
char
* opt=
""
);
84
85
virtual
const
char
*GetCVS()
const
86
{
87
static
const
char
cvs[]=
"$Id: StEventMaker.h,v 2.16 2014/08/06 11:43:08 jeromel Exp $ built "
__DATE__
" "
__TIME__ ;
88
return
cvs;
89
}
90
91
public
:
92
Bool_t doLoadTpcHits;
93
Bool_t doLoadFtpcHits;
94
Bool_t doLoadSvtHits;
95
Bool_t doLoadSsdHits;
96
Bool_t doLoadTptTracks;
97
Bool_t doLoadEstTracks;
98
99
Bool_t doPrintEventInfo;
100
Bool_t
doPrintMemoryInfo
;
101
Bool_t doPrintCpuInfo;
102
103
protected
:
104
Int_t makeEvent();
105
StEvent
* getStEventInstance();
106
void
printEventInfo();
107
void
printTrackInfo(
StTrack
*);
108
109
private
:
110
StEventManager
* mEventManager;
111
StEvent
* mCurrentEvent;
112
Bool_t mCreateEmptyInstance;
113
ClassDef(
StEventMaker
, 0)
114
};
115
#endif
StRunInfo
Definition:
StRunInfo.h:51
StEventMaker
Definition:
StEventMaker.h:73
StEventMaker::Make
virtual Int_t Make()
Definition:
StEventMaker.cxx:105
StEventManager
Definition:
StEventManager.hh:53
StTrack
Definition:
StTrack.h:198
StEvent
Definition:
StEvent.h:232
StMaker
Definition:
StMaker.h:57
StEventMaker::doPrintMemoryInfo
Bool_t doPrintMemoryInfo
lots of screen output
Definition:
StEventMaker.h:100
Generated by
1.8.5