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
StFpostQaMaker
StFpostQaMaker.h
1
/*
2
*
3
* \class StFpostQaMaker
4
*
5
*/
6
7
#ifndef STAR_StFpoatQaMaker_HH
8
#define STAR_StFpostQaMaker_HH
9
10
#include "
StRoot/St_base/Stypes.h
"
11
#include "StMaker.h"
12
13
class
StFmsDbMaker
;
14
class
StFmsCollection
;
15
class
TH1F;
16
class
TH2F;
17
18
class
StFpostQaMaker
:
public
StMaker
{
19
public
:
20
StFpostQaMaker
(
const
Char_t* name =
"FpostQA"
);
21
virtual
~
StFpostQaMaker
();
22
virtual
Int_t Init();
//Gets run first in the chain
23
virtual
Int_t
Make
();
//Gets run second in the chain
24
virtual
Int_t
Finish
();
//Gets run last in the chain
25
void
setRun(
int
v) {mRun = v;}
//Assigns the run number to 'mRun' called in 'runqa.C'
26
void
setPed(
int
v) {mPed = v;}
//Assigns the pedestal flag to 'mPed' called in 'runqa.C'
27
28
private
:
29
StFmsDbMaker
*mFmsDbMkr;
//Pointer to FMS database for retrieving values
30
StFmsCollection
*mFmsCollectionPtr;
//Pointer to FMS object that contains all the data from the file
31
32
int
mRun;
//The run number of interest
33
int
mPed;
//The pedestal or not flag (1 is pedestal, 0 is physics)
34
TFile *mFile;
//ROOT file that will be created with the histogramss
35
char
mFilename[100];
//holds the name of the file that will be created
36
37
static
const
int
mNPREPOST=3;
//Number of pre and post crossings
38
static
const
int
mNQ=2;
//Number of quadrants in FPOST
39
static
const
int
mNL=6;
//Number of layers in FPOST
40
static
const
int
mNS=43;
41
static
const
int
mNID=241;
//Maximum Id for FPOST
42
static
const
int
mNTRG=64;
//Number of triggers in STAR
43
44
bool
ran_fpost =
false
;
//Variable to hold whether this run contains fpost or not
45
TH1F* mDataSize[2];
//Histograms for datasize [0] is total [1] is
46
TH1F* mRccDiff[2];
//Histograms for the RCC-TCU difference
47
TH1F* mXing[mNPREPOST*2+1];
//Histograms for crossings
48
TH2F* mAdc2[2];
//2D histograms for ADCs where x-axis is slad id y-axis is adc value [0] is for upper adc range [1] is lower adc range
49
TH1F* mAdc[mNID][2];
//1D histograms for ADCs by ID where [0] is upper adc range and [1] is lower adc range
50
TH1F* mNHit[mNQ][mNL];
//1D histogram for number of hits by quadrant and layer where x-axis is number of hits
51
TH1F* mHit[mNQ][mNL];
//1D histogram for hits in each slat per quadrant per layer where x-axis is the slat number
52
TH1F* mNHitTrg[mNTRG+1];
//1D histogram for number of hits for each trigger
53
TH2F* mNHitTrg2;
//2D histogram for each trigger where x-axis is the number of hits and y-axis is the trigger
54
55
ClassDef(
StFpostQaMaker
,1);
// for Versioning?
56
};
57
58
#endif //STAR_StFpostQaMaker_HH
59
60
61
/*
62
* $Id: StFpostQaMaker.h,v 1.1 2017/02/22 07:14:44 akio Exp $
63
* $Log: StFpostQaMaker.h,v $
64
* Revision 1.1 2017/02/22 07:14:44 akio
65
* Initial version from David
66
*
67
* Revision 1.1 2017/02/01 23:10:12 dkap7827
68
* new fpost qa maker
69
*
70
*/
71
72
Stypes.h
StFpostQaMaker
Definition:
StFpostQaMaker.h:18
StMaker
Definition:
StMaker.h:57
StFpostQaMaker::Make
virtual Int_t Make()
Definition:
StFpostQaMaker.cxx:150
StFmsDbMaker
Definition:
StFmsDbMaker.h:125
StFpostQaMaker::Finish
virtual Int_t Finish()
Definition:
StFpostQaMaker.cxx:297
StFmsCollection
Definition:
StFmsCollection.h:60
Generated by
1.8.5