1 #ifndef STAR_StEmcEqualMaker
2 #define STAR_StEmcEqualMaker
6 #include "StEmcCalibrationMaker.h"
9 #include "StEmcCalibMaker.h"
11 #define MAXTRACK 10000
13 #define MAXCHANNEL 18000
14 #define MAXTOWERCHANNEL 18000
37 virtual void Clear(Option_t *option=
"");
39 void equalize(
int=4,
int = 2,
bool =
false);
40 void equalizeRelative(
int,
int,
int=4,
bool=
false);
41 void equalizeToFunction(
int,TF1*);
45 void saveEqual(
int=0,
int=0);
46 void loadEqual(
char*);
48 TH1F* getA() {
return mA;}
49 TH1F* getB() {
return mB;}
50 TH1F* getStatus() {
return mStatus;}
51 TH1F* getRefSlopes() {
return mRefSlopes;}
52 TH1F* getRefAmps() {
return mRefAmps;}
53 TH1F* getSlopes() {
return mSlopes;}
54 TH1F* getAmps() {
return mAmps;}
55 TH2F* getSlopesTheta() {
return mSlopesTheta;}
57 TH1F* getEtaBinSpec(
int,
int,TH2F* SPEC=0);
58 TH1F* rebin(
int,
const char *name =
"tmp",TH2F* SPEC = NULL);
60 void drawEtaBin(
int,
int,TH2F* SPEC=0);
virtual void Clear(Option_t *option="")
User defined functions.