BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_barrel_sigma.h
Go to the documentation of this file.
1
#ifndef CALIB_BARREL_SIGMA_H
2
#define CALIB_BARREL_SIGMA_H
3
4
#include "
tofcalgsec/TofCalibFit.h
"
5
6
const
int
nBarrelSigma
= 15;
// number of calib_barrel_sigma.txt
7
const
int
nParSigma
= 4;
// 4: offset, offset error, sigma, sigma error
8
const
int
nGraphTotalSigma
= 11;
9
10
class
calib_barrel_sigma
:
public
TofCalibFit
{
11
public
:
12
calib_barrel_sigma
(
const
unsigned
int
nzbin );
13
~calib_barrel_sigma
();
14
15
void
calculate
(
RecordSet
*&
data
,
unsigned
int
icounter );
16
17
private
:
18
void
fillRecord(
const
Record
* r,
unsigned
int
icounter );
19
void
fitHistogram(
unsigned
int
icounter );
20
void
fillGraph(
unsigned
int
icounter );
21
void
fitGraph(
unsigned
int
icounter );
22
23
void
updateData(
Record
* r,
unsigned
int
icounter );
24
void
fillRecordT0(
const
Record
* r,
unsigned
int
icounter );
25
void
fitHistogramT0(
unsigned
int
icounter );
26
void
fillGraphT0(
unsigned
int
icounter );
27
void
fitGraphT0(
unsigned
int
icounter );
28
29
private
:
30
std::vector<double> zpos;
31
std::vector<double> zposerr;
32
double
zstep;
33
34
std::vector<HepVector> m_fitresult;
35
};
36
37
#endif
38
data
TTree * data
Definition
DataBase/tau_mode.c:5
TofCalibFit.h
RecordSet
std::vector< Record * > RecordSet
Definition
TofDataSet.h:98
nParSigma
const int nParSigma
Definition
calib_barrel_sigma.h:7
nBarrelSigma
const int nBarrelSigma
Definition
calib_barrel_sigma.h:6
nGraphTotalSigma
const int nGraphTotalSigma
Definition
calib_barrel_sigma.h:8
Record
Definition
TofDataSet.h:39
TofCalibFit
Definition
TofCalibFit.h:21
calib_barrel_sigma
Definition
calib_barrel_sigma.h:10
calib_barrel_sigma::calib_barrel_sigma
calib_barrel_sigma(const unsigned int nzbin)
Definition
calib_barrel_sigma.cxx:22
calib_barrel_sigma::~calib_barrel_sigma
~calib_barrel_sigma()
Definition
calib_barrel_sigma.cxx:86
calib_barrel_sigma::calculate
void calculate(RecordSet *&data, unsigned int icounter)
Definition
calib_barrel_sigma.cxx:93
7.1.1
Tof
tofcalgsec
tofcalgsec-00-03-00
tofcalgsec
calib_barrel_sigma.h
Generated by
1.12.0