BOSS
7.1.2
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
printCut
()
const
;
25
void
clear
();
26
27
private
:
28
static
Double_t xtfun(Double_t *
x
, Double_t *par);
29
30
MdcCalParams
m_param;
31
32
IMdcGeomSvc
* m_mdcGeomSvc;
33
IMdcCalibFunSvc
* m_mdcFunSvc;
34
IMdcUtilitySvc
* m_mdcUtilitySvc;
35
TObjArray* m_hlist;
36
37
int
m_nWire;
38
int
m_nLayer;
39
40
TFolder* m_fdPreXt;
41
TFolder* m_fdNhit;
42
TGraph* m_grXt[
MdcCalNLayer
];
43
TH2F* m_haxis;
44
TH1F* m_htrec[
MdcCalNLayer
];
45
TH1F* m_nhitBin[
MdcCalNLayer
];
46
TH1F* m_nhitTot;
47
48
/* integrated time Spectrum for determination X-T */
49
int
m_nXtBin;
50
double
m_tbin[40];
51
int
m_nEntries[
MdcCalNLayer
][40];
52
int
m_nTot[
MdcCalNLayer
];
53
54
bool
m_fgIniTm;
55
double
m_t0[
MdcCalNLayer
];
56
double
m_tm[
MdcCalNLayer
];
57
};
58
59
inline
void
PreXtMdcCalib::setParam
(
MdcCalParams
& param){
60
MdcCalib::setParam
(param);
61
m_param = param;
62
}
63
#endif
/* PREXTMDCCALIB_H */
x
Double_t x[10]
Definition
DataBase/tau_mode.c:57
IMdcCalibFunSvc.h
IMdcGeomSvc.h
MdcCalNLayer
const int MdcCalNLayer
Definition
MdcCalParams.h:6
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
PreXtMdcCalib
Definition
PreXtMdcCalib.h:14
PreXtMdcCalib::setParam
void setParam(MdcCalParams ¶m)
Definition
PreXtMdcCalib.h:59
PreXtMdcCalib::~PreXtMdcCalib
~PreXtMdcCalib()
Definition
PreXtMdcCalib.cxx:35
PreXtMdcCalib::updateConst
int updateConst(MdcCalibConst *calconst)
Definition
PreXtMdcCalib.cxx:207
PreXtMdcCalib::fillHist
int fillHist(MdcCalEvent *event)
Definition
PreXtMdcCalib.cxx:104
PreXtMdcCalib::printCut
void printCut() const
Definition
PreXtMdcCalib.cxx:204
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
7.1.2
Mdc
MdcCalibAlg
MdcCalibAlg-01-00-00
MdcCalibAlg
PreXtMdcCalib.h
Generated by
1.12.0