1 #ifndef STAR_StEmcMipMaker
2 #define STAR_StEmcMipMaker
11 #include "StEmcCalibrationMaker.h"
12 #include "StEmcCalibMaker.h"
14 #define MAXTRACK 10000
16 #define MAXCHANNEL 18000
44 virtual void Clear(Option_t *option=
"");
46 TH1F* compareToDb(
char*,
int=0);
52 TH1F* findMip(
int,
int=1,
bool=
true);
54 float findGain(
int,
bool=
true);
56 float getMipPosition(
int id) {
return mMipPos->GetBinContent(
id);}
57 float getMipPositionError(
int id) {
return mMipPosErr->GetBinContent(
id);}
58 float getMipWidth(
int id) {
return mMipWid->GetBinContent(
id);}
59 float getMipWidthError(
int id) {
return mMipWidErr->GetBinContent(
id);}
60 float getGain(
int id) {
return mGain->GetBinContent(
id);}
61 float getChi2(
int id) {
return mChi2->GetBinContent(
id);}
62 float getIntegral(
int id) {
return mIntegral->GetBinContent(
id);}
64 int getNFailed(
int flag) {
return mNFailed[flag];}
66 TH1F* getGainHist() {
return mGain;}
67 TH1F* getGainDistrHist() {
return mGainDistr;}
68 TH1F* getChi2Hist() {
return mChi2;}
69 TH1F* getIntegralHist() {
return mIntegral;}
70 TH1F* getMipPosHist() {
return mMipPos;}
71 TH1F* getMipWidHist() {
return mMipWid;}
virtual void Clear(Option_t *option="")
User defined functions.