BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Mdc/MdcCalibAlg/MdcCalibAlg-00-09-02/MdcCalibAlg/QtMdcCalib.h
Go to the documentation of this file.
1
#ifndef QTMDCCALIB_H
2
#define QTMDCCALIB_H
3
4
#include "MdcCalibAlg/MdcCalib.h"
5
#include "TFolder.h"
6
#include "TGraphErrors.h"
7
8
class
QtMdcCalib
:
public
MdcCalib
{
9
public
:
10
QtMdcCalib
();
11
~QtMdcCalib
();
12
void
initialize
(TObjArray* hlist,
IMdcGeomSvc
* mdcGeomSvc,
13
IMdcCalibFunSvc
* mdcFunSvc,
IMdcUtilitySvc
* mdcUtilitySvc);
14
15
void
setParam
(
MdcCalParams
& param);
16
int
fillHist
(
MdcCalEvent
* event);
17
int
updateConst
(
MdcCalibConst
* calconst);
18
void
clear
();
19
20
static
Double_t
qtFun
(Double_t *x, Double_t *par);
21
22
private
:
23
MdcCalParams
m_param;
24
25
TObjArray* m_hlist;
26
IMdcGeomSvc
* m_mdcGeomSvc;
27
IMdcCalibFunSvc
* m_mdcFunSvc;
28
IMdcUtilitySvc
* m_mdcUtilitySvc;
29
30
int
m_nlayer;
31
int
m_nbin;
32
int
m_innNLay;
33
int
m_qtorder;
34
35
double
m_qhit;
36
double
m_resi;
37
double
m_vdr;
38
39
double
m_qbinw[
MdcCalNLayer
];
// width of Q bin for all cells
40
double
m_qmin[
MdcCalNLayer
];
41
double
m_qmax[
MdcCalNLayer
];
42
double
m_qtpar[
MdcCalNLayer
][
MdcCalQtOrd
];
43
44
TFolder* m_fdQt;
45
TH1F* m_hqhit[
MdcCalNLayer
];
46
TH1F* m_hqt[
MdcCalNLayer
][
MdcCalNQBin
];
47
TFolder* m_fdQ_T;
48
TGraphErrors* m_grqt[
MdcCalNLayer
];
49
TGraphErrors* m_grqdt[
MdcCalNLayer
];
50
};
51
52
inline
void
QtMdcCalib::setParam
(
MdcCalParams
& param){
53
MdcCalib::setParam
(param);
54
m_param = param;
55
}
56
57
#endif
/* QTMDCCALIB_H */
MdcCalNLayer
const int MdcCalNLayer
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalParams.h:6
MdcCalQtOrd
const int MdcCalQtOrd
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalParams.h:16
MdcCalNQBin
const int MdcCalNQBin
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalParams.h:17
IMdcCalibFunSvc
Definition:
InstallArea/include/MdcCalibFunSvc/MdcCalibFunSvc/IMdcCalibFunSvc.h:17
IMdcGeomSvc
Definition:
InstallArea/include/MdcGeomSvc/MdcGeomSvc/IMdcGeomSvc.h:15
IMdcUtilitySvc
Definition:
InstallArea/include/MdcUtilitySvc/MdcUtilitySvc/IMdcUtilitySvc.h:16
MdcCalEvent
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalEvent.h:15
MdcCalParams
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalParams.h:30
MdcCalibConst
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalibConst.h:7
MdcCalib
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalib.h:36
MdcCalib::setParam
virtual void setParam(MdcCalParams ¶m)=0
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/MdcCalib.h:293
QtMdcCalib
Definition:
InstallArea/include/MdcCalibAlg/MdcCalibAlg/QtMdcCalib.h:8
QtMdcCalib::setParam
void setParam(MdcCalParams ¶m)
QtMdcCalib::qtFun
static Double_t qtFun(Double_t *x, Double_t *par)
QtMdcCalib::clear
void clear()
QtMdcCalib::initialize
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
QtMdcCalib::fillHist
int fillHist(MdcCalEvent *event)
QtMdcCalib::QtMdcCalib
QtMdcCalib()
QtMdcCalib::~QtMdcCalib
~QtMdcCalib()
QtMdcCalib::updateConst
int updateConst(MdcCalibConst *calconst)
source
Mdc
MdcCalibAlg
MdcCalibAlg-00-09-02
MdcCalibAlg
QtMdcCalib.h
Generated by
1.9.6