CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
PreXtMdcCalib.h
Go to the documentation of this file.
1
#ifndef PREXTMDCCALIB_H
2
#define PREXTMDCCALIB_H
3
4
#include "
MdcCalibAlg/MdcCalib.h
"
5
#include "
MdcCalibFunSvc/IMdcCalibFunSvc.h
"
6
#include "
MdcCalibFunSvc/MdcCalibFunSvc.h
"
7
#include "MdcGeomSvc/IMdcGeomSvc.h"
8
#include "MdcGeomSvc/MdcGeomSvc.h"
9
10
#include "TH2F.h"
11
#include "TGraph.h"
12
#include "TFolder.h"
13
14
class
PreXtMdcCalib
:
public
MdcCalib
{
15
public
:
16
PreXtMdcCalib
();
17
~PreXtMdcCalib
();
18
void
initialize
(TObjArray* hlist,
IMdcGeomSvc
* mdcGeomSvc,
19
IMdcCalibFunSvc
* mdcFunSvc,
IMdcUtilitySvc
* mdcUtilitySvc);
20
21
void
setParam
(
MdcCalParams
& param);
22
int
fillHist
(
MdcCalEvent
* event);
23
int
updateConst
(
MdcCalibConst
* calconst);
24
void
clear
();
25
26
private
:
27
static
Double_t xtfun(Double_t *
x
, Double_t *par);
28
29
MdcCalParams
m_param;
30
31
IMdcGeomSvc
* m_mdcGeomSvc;
32
IMdcCalibFunSvc
* m_mdcFunSvc;
33
IMdcUtilitySvc
* m_mdcUtilitySvc;
34
TObjArray* m_hlist;
35
36
int
m_nWire;
37
int
m_nLayer;
38
39
TFolder* m_fdPreXt;
40
TFolder* m_fdNhit;
41
TGraph* m_grXt[
MdcCalNLayer
];
42
TH2F* m_haxis;
43
TH1F* m_htrec[
MdcCalNLayer
];
44
TH1F* m_nhitBin[
MdcCalNLayer
];
45
TH1F* m_nhitTot;
46
47
/* integrated time Spectrum for determination X-T */
48
int
m_nXtBin;
49
double
m_tbin[40];
50
int
m_nEntries[
MdcCalNLayer
][40];
51
int
m_nTot[
MdcCalNLayer
];
52
53
bool
m_fgIniTm;
54
double
m_t0[
MdcCalNLayer
];
55
double
m_tm[
MdcCalNLayer
];
56
};
57
58
inline
void
PreXtMdcCalib::setParam
(
MdcCalParams
& param){
59
MdcCalib::setParam
(param);
60
m_param = param;
61
}
62
#endif
/* PREXTMDCCALIB_H */
x
Double_t x[10]
Definition
DataBase/tau_mode.c:57
IMdcCalibFunSvc.h
MdcCalNLayer
const int MdcCalNLayer
Definition
MdcCalParams.h:6
MdcCalibFunSvc.h
MdcCalib.h
IMdcCalibFunSvc
Definition
IMdcCalibFunSvc.h:17
IMdcGeomSvc
Definition
bak_MdcGeomSvc-00-01-39/MdcGeomSvc/IMdcGeomSvc.h:15
IMdcUtilitySvc
Definition
IMdcUtilitySvc.h:16
MdcCalEvent
Definition
MdcCalEvent.h:15
MdcCalParams
Definition
MdcCalParams.h:30
MdcCalibConst
Definition
MdcCalibAlg/MdcCalibConst.h:7
MdcCalib
Definition
MdcCalib.h:36
MdcCalib::setParam
virtual void setParam(MdcCalParams ¶m)=0
Definition
MdcCalib.h:293
PreXtMdcCalib
Definition
PreXtMdcCalib.h:14
PreXtMdcCalib::setParam
void setParam(MdcCalParams ¶m)
Definition
PreXtMdcCalib.h:58
PreXtMdcCalib::~PreXtMdcCalib
~PreXtMdcCalib()
Definition
PreXtMdcCalib.cxx:35
PreXtMdcCalib::updateConst
int updateConst(MdcCalibConst *calconst)
Definition
PreXtMdcCalib.cxx:202
PreXtMdcCalib::fillHist
int fillHist(MdcCalEvent *event)
Definition
PreXtMdcCalib.cxx:104
PreXtMdcCalib::PreXtMdcCalib
PreXtMdcCalib()
Definition
PreXtMdcCalib.cxx:31
PreXtMdcCalib::clear
void clear()
Definition
PreXtMdcCalib.cxx:38
PreXtMdcCalib::initialize
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
Definition
PreXtMdcCalib.cxx:47
6.6.5.i
Mdc
MdcCalibAlg
MdcCalibAlg-00-09-02
MdcCalibAlg
PreXtMdcCalib.h
Generated by
1.12.0