34 #ifndef _ST_FGT_QA_CLUSTER_CHARGE_PER_APV_
35 #define _ST_FGT_QA_CLUSTER_CHARGE_PER_APV_
40 #include "StFgtQaMaker.h"
41 #include "StRoot/StFgtPool/StFgtPedMaker/StFgtPedReader.h"
42 #include "StRoot/StFgtPool/StFgtPedMaker/StFgtPedReader.h"
52 const Char_t* quadName =
"000" );
66 TH1F* getHistR(Int_t i);
67 TH1F* getHistPhi(Int_t i);
70 void setNbins( Int_t nbins );
71 void setRange( Float_t min, Float_t max );
72 void setUnits(
const Char_t *units );
76 TH1F *mHistR[10], *mHistPhi[10];
80 Float_t mChargeMin, mChargeMax;
90 inline TH1F* StFgtQaClusterChargePerAPV::getHistR(Int_t i){
91 return (i<10 && i > -1) ? mHistR[i] : 0;
93 inline TH1F* StFgtQaClusterChargePerAPV::getHistPhi(Int_t i){
94 return (i<10 && i > -1) ? mHistPhi[i] : 0;
97 inline void StFgtQaClusterChargePerAPV::setNbins( Int_t nbins ){ mNbins = nbins; };
98 inline void StFgtQaClusterChargePerAPV::setRange( Float_t min, Float_t max ){ mChargeMin = min; mChargeMax = max; };
99 inline void StFgtQaClusterChargePerAPV::setUnits(
const Char_t* units ){ mUnits = units; };