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
StSpinPool
StFmsBsQaMaker
StFmsBsQaMaker.h
1
#ifndef StFmsBsQaMaker_h
2
#define StFmsBsQaMaker_h
3
4
#include "StMaker.h"
5
6
class
StFmsCollection
;
7
class
StFmsDbMaker
;
8
9
class
TFile;
10
class
TH1F;
11
class
TH2F;
12
13
class
StFmsBsQaMaker
:
public
StMaker
14
{
15
public
:
16
17
StFmsBsQaMaker
(
const
char
* name =
"fmsBsQaMaker"
);
18
~
StFmsBsQaMaker
() {}
19
20
virtual
Int_t Init();
21
virtual
Int_t InitRun(
int
runNo);
22
virtual
Int_t
Make
();
23
virtual
Int_t
Finish
();
24
25
void
SetOutputName(
const
char
* name) { mOutputName = name; }
26
27
private
:
28
29
StFmsCollection
* mFmsColl;
30
StFmsDbMaker
* mFmsDbMk;
31
TFile* mFile;
32
33
//nSep: separate each detId by given number of channels
34
enum
{nBit = 12, nChLg = 578, nChSm = 288, nDet = 4};
35
const
char
* mOutputName =
"fmsBsQa.root"
;
36
int
mEvent = 0;
37
38
std::map<int, int> chToN[nDet];
//Convert FMS channel # to temporary index
39
std::map<int, int> nToCh[nDet];
40
41
TH2F* mH2_adc[nDet];
42
TH2F* mH2_bs_DB[nDet];
43
TH2F* mH2_bs_data[nDet];
44
TH2F* mH2_chMap[nDet];
45
46
ClassDef(
StFmsBsQaMaker
, 0);
47
};
48
49
#endif
StFmsBsQaMaker::Make
virtual Int_t Make()
Definition:
StFmsBsQaMaker.cxx:161
StFmsBsQaMaker::Finish
virtual Int_t Finish()
Definition:
StFmsBsQaMaker.cxx:190
StFmsBsQaMaker
Definition:
StFmsBsQaMaker.h:13
StMaker
Definition:
StMaker.h:57
StFmsDbMaker
Definition:
StFmsDbMaker.h:125
StFmsCollection
Definition:
StFmsCollection.h:60
Generated by
1.8.5