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
StJetMaker
StJetSkimEventMaker.h
1
//StJetSkimEventMaker.h
2
//M.L. Miller (MIT)
3
//12/06
4
5
#ifndef STJETSKIMEVENTMAKER_H
6
#define STJETSKIMEVENTMAKER_H
7
8
#include "StMaker.h"
9
#include <string>
10
using namespace
std;
11
12
#include <TRef.h>
13
14
class
TFile;
15
class
StMuDstMaker
;
16
class
StMCAsymMaker
;
17
class
TTree;
18
class
StJetSkimEvent
;
19
class
StJetSkimTrig
;
20
class
StJetSkimTrigHeader
;
21
22
class
StJetSkimEventMaker
:
public
StMaker
23
{
24
public
:
25
26
StJetSkimEventMaker
(
const
Char_t *name,
StMuDstMaker
* uDstMaker,
const
char
*outputFile);
27
virtual
~
StJetSkimEventMaker
();
28
29
virtual
Int_t Init();
30
virtual
Int_t InitRun(
int
runnumber);
31
virtual
Int_t Make();
32
virtual
Int_t Finish();
33
virtual
void
Clear(
const
Option_t*);
34
35
TTree* tree()
const
{
return
mTree; }
36
StJetSkimEvent
* event()
const
{
return
mEvent; }
37
38
void
addSimuTrigger(
int
trigId) {mSimuTrigIds.push_back(trigId);}
39
40
const
char
* GetCVS()
const
41
{
static
const
char
cvs[]=
"Tag $Name: $ $Id: StJetSkimEventMaker.h,v 1.9 2017/01/02 15:33:26 rfatemi Exp $ built "
__DATE__
" "
__TIME__;
return
cvs;}
42
43
protected
:
44
StMuDstMaker
* muDstMaker;
45
StMCAsymMaker
* mcAsymMaker;
46
47
private
:
48
const
char
* outName;
49
TFile* mOutfile;
50
TTree* mTree;
51
StJetSkimEvent
* mEvent;
52
TRef mCurrentHeaderRef;
53
vector<int> mSimuTrigIds;
54
bool
isRealData;
55
56
void
fillTriggerSimulationInfo(
StJetSkimTrig
&trig);
57
void
fillThresholds(
StJetSkimTrigHeader
&header);
58
59
ClassDef(
StJetSkimEventMaker
,0)
60
};
61
62
63
#endif // STJETSKIMEVENTMAKER_H
StJetSkimTrigHeader
Definition:
StJetSkimEvent.h:24
StMuDstMaker
Definition:
StMuDstMaker.h:131
StMCAsymMaker
Definition:
StMCAsymMaker.h:42
StJetSkimTrig
Definition:
StJetSkimEvent.h:59
StMaker
Definition:
StMaker.h:57
StJetSkimEventMaker
Definition:
StJetSkimEventMaker.h:22
StJetSkimEvent
Definition:
StJetSkimEvent.h:233
Generated by
1.8.5