35 #ifndef STAR_StPmdReadMaker
36 #define STAR_StPmdReadMaker
39 #include "StRTSBaseMaker.h"
56 #ifndef ST_NO_NAMESPACES
61 #include "StPmdUtil/StPmdGeom.h"
62 #include "StPmdUtil/StPmdDBUtil.h"
63 #include "tables/St_pmdBrdMipCalib_Table.h"
64 #include "tables/St_pmdCalSummary_Table.h"
65 #include "tables/St_pmdSMCalib_Table.h"
66 #include "tables/St_pmdSMChain_GNF_Table.h"
71 #include "tables/St_pmdHotCells_Table.h"
83 StPmdReadMaker(
const char *name=
"pmdReader");
84 virtual ~StPmdReadMaker();
86 virtual Int_t InitRun(Int_t runnr);
90 void SetPmdPrint(Bool_t);
91 void SetCalibFlag(Bool_t);
92 void SetChainThreshold(Float_t);
94 Int_t GetCalib(
int,
int,
int,
float&);
95 virtual const char *GetCVS()
const {
96 static const char cvs[]=
"Tag $Name: $ $Id: StPmdReadMaker.h,v 1.8 2014/08/06 11:43:33 jeromel Exp $ built " __DATE__
" " __TIME__ ;
103 TH1F * m_event_tothit_pmd;
104 TH1F * m_event_tothit_cpv;
105 TH2F* m_chain_channel;
107 TH1D *chain_mean[49];
119 St_pmdHotCells* mHotCells;
120 Bool_t IsHot(Int_t chain, Int_t channel);
121 Bool_t Accept(Int_t chain, Int_t channel);
139 pmdSMCalib_st* m_PmdCalibConst;
141 Int_t ApplyMapping(
int*);
142 Bool_t ReadCalibrationsConst();
143 void ReadBadChains(
int);
145 ClassDef(StPmdReadMaker, 1)
147 inline void StPmdReadMaker::SetPmdPrint(Bool_t var) {mPmdPrint = var;}
148 inline void StPmdReadMaker::SetCalibFlag(Bool_t var) {mCalibFlag = var;}
149 inline void StPmdReadMaker::SetChainThreshold(Float_t var) {mChainTh = var;}
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...