21 #include "StEEmcUtil/EEfeeRaw/EEdims.h"
34 enum {mxTile=4,kT=0, kP=1, kQ=2, kR=3, kU=0, kV=1};
39 float twMipRelEneLow, twMipRelEneHigh;
44 float towerMipE [MaxEtaBins];
45 float presMipE [MaxEtaBins];
47 float twTghEta[MaxEtaBins];
50 const EEmcDbItem *dbT[mxTile][MaxEtaBins][MaxPhiBins];
51 const EEmcDbItem *dbS[MaxSmdPlains][MaxSmdStrips];
64 TH1F *hT[kCut][mxTile][MaxEtaBins][MaxPhiBins];
65 TH1F *hSs[kCut][MaxSmdPlains][MaxSmdStrips];
66 #if 0 //smdMap verification
68 void scanSpike(
float adc1, TH1F *h);
71 void initTileHistoAdc(
char cut,
const char * title,
int col=1);
72 void initTileHistoEne(
char cut,
const char * title,
int col=1);
73 void initSmdHist(
char cut,
const char * title,
int col=1);
74 void initSmdEneHist(
char cut,
const char * title,
int col=1);
78 void addTwMipEbarsToHisto (
int col,
char mxC);
79 void addPresMipEbarsToHisto (
int col,
char cT);
80 void addSmdMipEbarsToHisto (
int col,
char cT);
82 void fillSmdHisto_a();
83 void fillOneTailHisto(
char cut,
int iEta,
int iPhi);
100 float tileAdc[mxTile][MaxEtaBins][MaxPhiBins];
101 float tileEne[mxTile][MaxEtaBins][MaxPhiBins];
102 bool tileThr[mxTile][MaxEtaBins][MaxPhiBins];
105 float smdAdc[MaxSmdPlains][MaxSmdStrips];
106 float smdEne[MaxSmdPlains][MaxSmdStrips];
107 bool killT[mxTile][MaxEtaBins][MaxPhiBins];
110 void findSectorMip();
111 void calibAllwithMip(
int iStrU,
int iStrV);
122 void finish(
int k=0);
125 void initRun(
int runID);
126 void setSmdCuts(
float xs,
int n1){ thrMipSmdE=xs; emptyStripCount=n1;}
127 void setPreCuts(
int n1){ thrMipPresAdc=n1;}
128 void setTwCuts(
float e1,
float e2 ,
float r){
129 twMipRelEneLow=e1; twMipRelEneHigh=e2; offCenter=r;
132 void saveHisto(TString fname=
"fixMe3");
int iSect
calibrate only one sector
int sectID
no. of input events
float smdAdc[MaxSmdPlains][MaxSmdStrips]
30 deg (only for this sector)
unsigned short killStat
DB access point.
EEsmdCal()
output histo access point
void setSector(int x)
the same info, counted from 0
float tileAdc[mxTile][MaxEtaBins][MaxPhiBins]