3 #ifndef STAR_StJanBarrelDbMaker
4 #define STAR_StJanBarrelDbMaker
29 #include "JanBarrelConst.h"
33 enum {kStarDb=0, kJanDb=1};
37 TH2S *janDb_bprsPed2D, *janDb_bprsSigPed2D;
39 TH1I *janDb_bprsReMap, *janDb_btowReMap;
43 TH1F *janDb_mipMean[mxBTile];
44 TH1F *janDb_mipSig[mxBTile];
45 TH1F *janDb_mipStat[mxBTile];
53 void initBprsGeometry();
56 StEmcGeom *mBtowGeom, *mBprsGeom, * mSmdEGeom, * mSmdPGeom;
61 virtual Int_t InitRun (
int runumber);
63 void setDbType(
int i) {par_dbType=i;}
64 void setHList(TObjArray * x){HList=x;}
66 int bprsCrate(
int softID);
68 float pedTile(
int ibp,
int softID,
int capID);
69 float sigPedTile(
int ibp,
int softID,
int capID);
70 int statTile(
int ibp,
int softID);
71 TH1I *bprsReMap()
const{
return janDb_bprsReMap;}
72 TH1I *btowReMap()
const{
return janDb_btowReMap;}
73 TH1F *mipMean(
int ibp)
const { assert(ibp>=0 && ibp<mxBTile);
return janDb_mipMean[ibp];}
74 TH1F *mipSig(
int ibp)
const { assert(ibp>=0 && ibp<mxBTile);
return janDb_mipSig[ibp];}
75 TH1F *mipStat(
int ibp)
const { assert(ibp>=0 && ibp<mxBTile);
return janDb_mipStat[ibp];}
77 float cut_mipAdcL[mxBTile][mxBtow];
78 float cut_mipAdcH[mxBTile][mxBtow];
79 void cut_mipAdcLH(
int ibp,
int id,
float &L,
float &H) {
80 assert(ibp>=0 && ibp<mxBTile); assert(
id>0 &&
id<=mxBtow);
81 L=cut_mipAdcL[ibp][
id-1]; H=cut_mipAdcH[ibp][
id-1]; }
86 static const char cvs[]=
"Tag $Name: $ $Id: StJanBarrelDbMaker.h,v 1.2 2014/08/06 11:43:06 jeromel Exp $ built " __DATE__
" " __TIME__ ;
virtual const char * GetCVS() const
Displayed on session exit, leave it as-is please ...