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
StTriggerUtilities
StJanEventMaker
StJanEventMaker.h
1
// -*- mode: c++ -*-
2
//
3
// Pibero Djawotho <pibero@iucf.indiana.edu>
4
// Indiana University
5
// Mar 1, 2006
6
//
7
8
#ifndef StJanEventMaker_h
9
#define StJanEventMaker_h
10
11
// C++ STL
12
#include <fstream>
13
using namespace
std;
14
15
// STAR
16
#include "StMaker.h"
17
18
class
StEvent
;
19
class
StEmcDecoder
;
20
class
JanEvent
;
21
22
class
StJanEventMaker
:
public
StMaker
{
23
public
:
24
StJanEventMaker
(
const
string
& name =
"StJanEventMaker"
) :
StMaker
(name.c_str()) {}
25
~
StJanEventMaker
() {}
26
27
28
Int_t Init();
29
Int_t InitRun(Int_t runNumber);
30
Int_t Make();
31
Int_t Finish();
32
33
private
:
34
Char_t* triggerData(
StEvent
* event);
35
void
fillJanEvent(Char_t* trgData, UShort_t* bemcData, UShort_t* eemcData,
JanEvent
& event);
36
37
ofstream mFile;
38
Int_t mEventCounter;
39
40
ClassDef(
StJanEventMaker
, 0)
41
};
42
43
#endif
StEvent
Definition:
StEvent.h:232
JanEvent
Definition:
JanEvent.h:13
StMaker
Definition:
StMaker.h:57
StEmcDecoder
Definition:
StEmcDecoder.h:36
StJanEventMaker
Definition:
StJanEventMaker.h:22
Generated by
1.8.5