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
StGammaMaker
StGammaEventMaker.h
1
// //
3
// StGammaEventMaker //
4
// //
5
// First StGamma maker in the chain, responsible for //
6
// creating the StGammaEvent and filling with basic //
7
// event information. Other StGamma makers will //
8
// access the StGammaEvent to add further information. //
9
// //
10
// Original concept and implementation by Jason //
11
// Webb (Valpo) and Pibero Djawatho (IUCF) //
12
// //
14
15
#ifndef STAR_StGammaEventMaker
16
#define STAR_StGammaEventMaker
17
18
#include <vector>
19
20
#include <StMaker.h>
21
#include "StEEmcUtil/EEmcGeom/EEmcGeomDefs.h"
22
23
class
StGammaEvent
;
24
25
class
StGammaTower
;
26
class
StGammaStrip
;
27
28
class
StGammaPythiaEvent
;
29
class
StGammaPythiaEventMaker
;
30
31
class
StMuDstMaker
;
32
33
class
StGammaEventMaker
:
public
StMaker
34
{
35
36
public
:
37
38
StGammaEventMaker
(
const
char
*name =
"mGammaMaker"
);
39
~
StGammaEventMaker
();
40
41
virtual
const
char
* GetCVS()
const
42
{
static
const
char
cvs[] =
"Tag $Name: $ $Id: StGammaEventMaker.h,v 1.8 2014/08/06 11:43:18 jeromel Exp $ built "
__DATE__
" "
__TIME__;
return
cvs; }
43
44
// Required Maker Methods
45
Int_t Init();
46
void
Clear
( Option_t *opts=
""
);
47
Int_t
Make
();
48
Int_t
Finish
() {
return
StMaker::Finish
(); }
49
50
StGammaEvent
*event() {
return
mGammaEvent; }
51
void
addSimuTrigger(
unsigned
int
triggerId) { mRequestedTriggers.push_back(triggerId); }
52
53
private
:
54
55
StGammaEvent
*mGammaEvent;
56
StGammaPythiaEvent
* mPythia;
57
StGammaPythiaEventMaker
* mPythiaMaker;
58
StMuDstMaker
*muDstMaker;
59
vector<unsigned int> mRequestedTriggers;
60
61
ClassDef(
StGammaEventMaker
, 1);
62
63
};
64
65
#endif
StGammaStrip
Definition:
StGammaStrip.h:21
StGammaEventMaker::Make
Int_t Make()
Definition:
StGammaEventMaker.cxx:69
StGammaTower
Definition:
StGammaTower.h:32
StMuDstMaker
Definition:
StMuDstMaker.h:131
StGammaEventMaker::Clear
void Clear(Option_t *opts="")
User defined functions.
Definition:
StGammaEventMaker.cxx:59
StGammaEvent
Definition:
StGammaEvent.h:33
StMaker
Definition:
StMaker.h:57
StGammaEventMaker::Finish
Int_t Finish()
Definition:
StGammaEventMaker.h:48
StGammaPythiaEvent
Definition:
StGammaPythiaEvent.h:18
StGammaEventMaker
Definition:
StGammaEventMaker.h:33
StMaker::Finish
virtual Int_t Finish()
Definition:
StMaker.cxx:776
StGammaPythiaEventMaker
Definition:
StGammaPythiaEventMaker.h:23
Generated by
1.8.5