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
StHighptPool
StJetAnalysis
StJetFilter.h
1
//StJetFilter.h
2
3
#ifndef StJetFilter_HH
4
#define StJetFilter_HH
5
6
#include "TObject.h"
7
#include "AnaCuts.h"
8
9
class
StMuEvent
;
10
class
StJetMuEvent
;
11
class
StMuDstMaker
;
12
class
StMuTrack
;
13
class
TFile;
14
class
TTree;
15
16
class
StJetFilter
17
{
18
public
:
19
enum
ioType {kWrite=0, kRead=1};
20
21
StJetFilter
(ioType,
const
char
* file);
22
virtual
~
StJetFilter
();
23
24
//set the cuts
25
void
setCuts(
const
AnaCuts
& c);
26
27
//Get the action
28
StJetMuEvent
* event()
const
{
return
mEvent;}
29
30
//number of events in the tree
31
int
nEvents()
const
;
32
33
//action
34
void
fill(
StMuDstMaker
* maker=0);
//we need maker for the filtering process, not reading
35
36
private
:
37
StJetFilter
();
//Not implemented
38
39
private
:
40
ioType mIoType;
41
int
mEventCounter;
42
43
TFile* mFile;
44
TTree* mTree;
45
StJetMuEvent
* mEvent;
46
47
ClassDef(
StJetFilter
,1)
48
};
49
50
#endif
StMuEvent
Definition:
StMuEvent.h:49
StJetMuEvent
Definition:
StJetMuEvent.h:16
StMuDstMaker
Definition:
StMuDstMaker.h:131
StMuTrack
Definition:
StMuTrack.h:55
StJetFilter
Definition:
StJetFilter.h:16
AnaCuts
Definition:
AnaCuts.h:12
Generated by
1.8.5