CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_endcap_sigma.h
Go to the documentation of this file.
1
#ifndef CALIB_ENDCAP_SIGMA_H
2
#define CALIB_ENDCAP_SIGMA_H
3
4
#include "
tofcalgsec/TofCalibFit.h
"
5
6
const
int
nEndcapSigma
= 3;
// number of calib_endcap_sigma.txt
7
const
int
nParEcSigma
= 4;
// 4: offset, offset error, sigma, sigma error
8
const
int
nGraphEcSigma
= 2;
9
10
class
calib_endcap_sigma
:
public
TofCalibFit
{
11
public
:
12
calib_endcap_sigma
(
const
unsigned
int
nrbin );
13
~calib_endcap_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
private
:
24
std::vector<double> rpos;
25
std::vector<double> rposerr;
26
double
rstep;
27
28
std::vector<HepVector> m_fitresult;
29
};
30
31
#endif
32
data
TTree * data
Definition
DataBase/tau_mode.c:5
TofCalibFit.h
RecordSet
std::vector< Record * > RecordSet
Definition
TofDataSet.h:89
nGraphEcSigma
const int nGraphEcSigma
Definition
calib_endcap_sigma.h:8
nParEcSigma
const int nParEcSigma
Definition
calib_endcap_sigma.h:7
nEndcapSigma
const int nEndcapSigma
Definition
calib_endcap_sigma.h:6
Record
Definition
TofDataSet.h:35
TofCalibFit
Definition
TofCalibFit.h:23
calib_endcap_sigma
Definition
calib_endcap_sigma.h:10
calib_endcap_sigma::calib_endcap_sigma
calib_endcap_sigma(const unsigned int nrbin)
Definition
calib_endcap_sigma.cxx:4
calib_endcap_sigma::calculate
void calculate(RecordSet *&data, unsigned int icounter)
Definition
calib_endcap_sigma.cxx:68
calib_endcap_sigma::~calib_endcap_sigma
~calib_endcap_sigma()
Definition
calib_endcap_sigma.cxx:61
6.6.5.i
Tof
tofcalgsec
tofcalgsec-00-02-08
tofcalgsec
calib_endcap_sigma.h
Generated by
1.12.0