BOSS
7.1.1
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
printCut
()
const
;
25
void
clear
();
26
27
private
:
28
29
static
Double_t funTmin(Double_t*
x
, Double_t* par);
30
static
Double_t funTmax(Double_t*
x
, Double_t* par);
31
static
Double_t xtfun(Double_t *
x
, Double_t *par);
32
33
MdcCalParams
m_param;
34
35
TObjArray* m_hlist;
36
IMdcGeomSvc
* m_mdcGeomSvc;
37
IMdcCalibFunSvc
* m_mdcFunSvc;
38
IMdcUtilitySvc
* m_mdcUtilitySvc;
39
40
int
m_nzbin;
41
double
m_zwid[
MdcCalNLayer
];
42
double
m_zst[
MdcCalNLayer
];
43
double
m_vp[
MdcCalNLayer
];
44
45
TFolder* m_fdTrec;
46
TFolder* m_fdTrecZ;
47
TH1F* m_hTrec[
MdcCalNLayer
][
MdcCalLR
];
48
TH1F* m_hTrecCosm[
MdcCalNLayer
][2];
49
TH1F* m_hTrecZ[
MdcCalNLayer
][
MdcCalLR
][11];
50
};
51
52
inline
void
PreT0MdcCalib::setParam
(
MdcCalParams
& param){
53
MdcCalib::setParam
(param);
54
m_param = param;
55
}
56
#endif
/* PRET0MDCCALIB_H */
x
Double_t x[10]
Definition
DataBase/tau_mode.c:57
IMdcCalibFunSvc.h
IMdcGeomSvc.h
MdcCalNLayer
const int MdcCalNLayer
Definition
MdcCalParams.h:6
MdcCalLR
const int MdcCalLR
Definition
MdcCalParams.h:10
MdcCalibFunSvc.h
MdcCalib.h
MdcGeomSvc.h
IMdcCalibFunSvc
Definition
IMdcCalibFunSvc.h:17
IMdcGeomSvc
Definition
IMdcGeomSvc.h:15
IMdcUtilitySvc
Definition
IMdcUtilitySvc.h:17
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:306
PreT0MdcCalib
Definition
PreT0MdcCalib.h:14
PreT0MdcCalib::clear
void clear()
Definition
PreT0MdcCalib.cxx:38
PreT0MdcCalib::updateConst
int updateConst(MdcCalibConst *calconst)
Definition
PreT0MdcCalib.cxx:251
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::printCut
void printCut() const
Definition
PreT0MdcCalib.cxx:248
PreT0MdcCalib::setParam
void setParam(MdcCalParams ¶m)
Definition
PreT0MdcCalib.h:52
7.1.1
Mdc
MdcCalibAlg
MdcCalibAlg-01-00-00
MdcCalibAlg
PreT0MdcCalib.h
Generated by
1.12.0