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
StSpectraPool
StRareMaker
StReadRare.h
1
//
2
//
3
// author: struck
4
//
5
// read rare tree and fill histos
6
7
#include <Ttypes.h>
8
#include <TChain.h>
9
#include <TString.h>
10
#include <TFile.h>
11
#include <TH1.h>
12
#include <TH2.h>
13
14
class
StReadRare
15
{
16
public
:
17
StReadRare
();
18
StReadRare
(Int_t nEvents,
const
Char_t* histoFileName=
"RareEventPlots.root"
);
19
virtual
~
StReadRare
(){};
20
void
Init();
21
Int_t Run();
22
void
PrintInfo();
23
Int_t Finish();
24
25
26
Int_t mNEvents;
27
TChain* mChain;
28
TString* mHistoFile;
29
30
// L3 trigger cut parameters
31
Float_t mCutFraction;
32
Int_t mMinHits;
33
Float_t mMaxDCA;
34
Float_t mMinP;
35
Float_t mMaxDedx;
36
// Offline cut parameters
37
Int_t mMinHitsOffline;
38
Float_t mDEdxnHitsRatio;
39
40
41
// histograms
42
TH1F* hOffP;
43
TH1F* hL3P;
44
45
TH1F* hL3Dca;
46
47
TH2F* hOffdEdx;
48
TH2F* hL3dEdx;
49
50
TH1F* hOffZ;
51
TH1F* hL3Z;
52
53
TH1F* hCandidateMatch;
54
TH2F* hOffCandidatedEdx;
55
TH1F* hOffCandidateZ;
56
TH2F* hL3CandidatedEdx;
57
TH2F* hL3CandidatedEdxMatch;
58
TH2F* hL3CandidatedEdxTriggeredMatch;
59
TH1F* hL3CandidateDca;
60
TH1F* hL3CandidateZ;
61
62
ClassDef(
StReadRare
, 1)
63
};
64
StReadRare
Definition:
StReadRare.h:14
Generated by
1.8.5