40 #ifndef _ST_FGT_QA_MAKER_H_
41 #define _ST_FGT_QA_MAKER_H_
46 #include "StRoot/StFgtPool/StFgtPedMaker/StFgtPedReader.h"
47 #include "StRoot/StFgtPool/StFgtPedMaker/StFgtPedReader.h"
53 StFgtQaMaker(
const Char_t* name =
"FGT_QA_Adc_vs_Channel",
56 const Char_t* quadName =
"000" );
69 void setDisc( Short_t discId );
70 void setQuad( Short_t quadId );
71 void setTimeBin( Short_t timeBin );
72 void setQuadName(
const Char_t* quadName );
73 void setToPlotVsStrip( Char_t strip =
'R' );
75 void setToSubtrPeds( Bool_t doIt );
76 void setPedReaderFile(
const Char_t* filename );
77 void setPedThres( Float_t thres );
78 void setXbins( Int_t nbins );
79 void setXrange( Float_t low, Float_t high );
80 void setYbins( Int_t nbins );
81 void setYrange( Float_t low, Float_t high );
82 void setBinFactors( Int_t factorX, Int_t factorY );
89 Short_t mDiscId, mQuadId, mTimeBin;
93 Float_t mXmin, mXmax, mYmin, mYmax;
94 Int_t mBinFactorX, mBinFactorY;
97 std::string mQuadName;
101 std::string mPedFile;
114 inline void StFgtQaMaker::setDisc( Short_t discId ){ mDiscId = discId; };
115 inline void StFgtQaMaker::setQuad( Short_t quadId ){ mQuadId = quadId; };
116 inline void StFgtQaMaker::setTimeBin( Short_t timeBin ){ mTimeBin = timeBin; };
117 inline void StFgtQaMaker::setQuadName(
const Char_t* quadName ){ mQuadName = quadName; };
118 inline void StFgtQaMaker::setToSubtrPeds( Bool_t doIt ){ mDoSubtrPeds = doIt; };
119 inline void StFgtQaMaker::setPedReaderFile(
const Char_t* filename ){ mPedFile = filename; };
120 inline void StFgtQaMaker::setPedThres( Float_t thres ){ mPedThres = thres; };
122 inline void StFgtQaMaker::setXbins( Int_t nbins ){ mXbins = nbins; };
123 inline void StFgtQaMaker::setXrange( Float_t low, Float_t high ){ mXmin = low; mXmax = high; };
124 inline void StFgtQaMaker::setYbins( Int_t nbins ){ mYbins = nbins; };
125 inline void StFgtQaMaker::setYrange( Float_t low, Float_t high ){ mYmin = low; mYmax = high; };
127 inline void StFgtQaMaker::setBinFactors( Int_t factorX, Int_t factorY ){
128 mBinFactorX = factorX;
129 mBinFactorY = factorY;
132 inline void StFgtQaMaker::setToPlotVsStrip( Char_t strip ){
133 mDoVsStrip = ( (strip ==
'R' || strip ==
'P' || strip ==
'r' ) ? strip :
'c' );