14 #ifndef STAR_StPmdCalibConstMaker
15 #define STAR_StPmdCalibConstMaker
20 #include "tables/St_pmdBrdMipCalib_Table.h"
21 #include "tables/St_pmdCalSummary_Table.h"
23 #include "StPmdUtil/StPmdGeom.h"
24 #include "StPmdUtil/StPmdDBUtil.h"
25 #define PMD_CELL_NEIGHBOUR 6
26 #define MIP_MIN_ENTRY 1000 // new entry
27 #define MIP_CH_MAX 100// check it
37 static Int_t neibx[PMD_CELL_NEIGHBOUR];
38 static Int_t neiby[PMD_CELL_NEIGHBOUR];
39 static Int_t imax[2*PMD_CRAMS_MAX];
40 static Int_t jmax[2*PMD_CRAMS_MAX];
43 Bool_t mSaveCalibToDB;
45 Float_t mMipPeak[PMD_BOARD_MAX][PMD_BOARD_CH_MAX];
46 Float_t mMipWidth[PMD_BOARD_MAX][PMD_BOARD_CH_MAX];
53 void BookHistograms();
58 TH1F *
mMipEnergy[2*PMD_CRAMS_MAX][PMD_ROW_MAX][PMD_COL_MAX];
59 Float_t
normFactor[2*PMD_CRAMS_MAX][PMD_ROW_MAX][PMD_COL_MAX];
60 Float_t MPV_Entry[2*PMD_CRAMS_MAX][PMD_ROW_MAX][PMD_COL_MAX];
70 void SaveCalibration();
71 void SetSaveCalibToDB(Bool_t a) { mSaveCalibToDB = a; }
72 void SetOptHist(Bool_t a) { mOptHist = a; }
TH1F * mMipEnergy[2 *PMD_CRAMS_MAX][PMD_ROW_MAX][PMD_COL_MAX]
booking Pmd cluster histograms
virtual Int_t Init()
Init method.
virtual ~StPmdCalibConstMaker()
Default destructor.
Float_t normFactor[2 *PMD_CRAMS_MAX][PMD_ROW_MAX][PMD_COL_MAX]
deposited energy of isolated cells
virtual Int_t Make()
Make mathod - process each event.
virtual Int_t Finish()
Finish method - save final numbers.
virtual Int_t FindMipParameters()