CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
PreT0MdcCalib.h
Go to the documentation of this file.
1
#ifndef PRET0MDCCALIB_H
2
#define PRET0MDCCALIB_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 "TGraph.h"
11
#include <vector>
12
13
14
class
PreT0MdcCalib
:
public
MdcCalib
{
15
public
:
16
PreT0MdcCalib
();
17
~PreT0MdcCalib
();
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
28
static
Double_t funTmin(Double_t*
x
, Double_t* par);
29
static
Double_t funTmax(Double_t*
x
, Double_t* par);
30
static
Double_t xtfun(Double_t *
x
, Double_t *par);
31
32
MdcCalParams
m_param;
33
34
TObjArray* m_hlist;
35
IMdcGeomSvc
* m_mdcGeomSvc;
36
IMdcCalibFunSvc
* m_mdcFunSvc;
37
IMdcUtilitySvc
* m_mdcUtilitySvc;
38
39
int
m_nzbin;
40
double
m_zwid[
MdcCalNLayer
];
41
double
m_zst[
MdcCalNLayer
];
42
double
m_vp[
MdcCalNLayer
];
43
44
TFolder* m_fdTrec;
45
TFolder* m_fdTrecZ;
46
TH1F* m_hTrec[
MdcCalNLayer
][
MdcCalLR
];
47
TH1F* m_hTrecCosm[
MdcCalNLayer
][2];
48
TH1F* m_hTrecZ[
MdcCalNLayer
][
MdcCalLR
][11];
49
};
50
51
inline
void
PreT0MdcCalib::setParam
(
MdcCalParams
& param){
52
MdcCalib::setParam
(param);
53
m_param = param;
54
}
55
#endif
/* PRET0MDCCALIB_H */
x
Double_t x[10]
Definition
DataBase/tau_mode.c:57
IMdcCalibFunSvc.h
MdcCalNLayer
const int MdcCalNLayer
Definition
MdcCalParams.h:6
MdcCalLR
const int MdcCalLR
Definition
MdcCalParams.h:10
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
PreT0MdcCalib
Definition
PreT0MdcCalib.h:14
PreT0MdcCalib::clear
void clear()
Definition
PreT0MdcCalib.cxx:38
PreT0MdcCalib::updateConst
int updateConst(MdcCalibConst *calconst)
Definition
PreT0MdcCalib.cxx:228
PreT0MdcCalib::fillHist
int fillHist(MdcCalEvent *event)
Definition
PreT0MdcCalib.cxx:138
PreT0MdcCalib::PreT0MdcCalib
PreT0MdcCalib()
Definition
PreT0MdcCalib.cxx:31
PreT0MdcCalib::initialize
void initialize(TObjArray *hlist, IMdcGeomSvc *mdcGeomSvc, IMdcCalibFunSvc *mdcFunSvc, IMdcUtilitySvc *mdcUtilitySvc)
Definition
PreT0MdcCalib.cxx:59
PreT0MdcCalib::~PreT0MdcCalib
~PreT0MdcCalib()
Definition
PreT0MdcCalib.cxx:35
PreT0MdcCalib::setParam
void setParam(MdcCalParams ¶m)
Definition
PreT0MdcCalib.h:51
6.6.5.h
Mdc
MdcCalibAlg
MdcCalibAlg-00-09-02
MdcCalibAlg
PreT0MdcCalib.h
Generated by
1.12.0