BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_etf_veff Class Reference

#include <calib_etf_veff.h>

+ Inheritance diagram for calib_etf_veff:

Public Member Functions

 calib_etf_veff ()
 
void calculate_funcs (const Record *r)
 
void calculate_y (const Record *r)
 
void updateData (RecordSet *&data)
 
- Public Member Functions inherited from TofCalib
 TofCalib (const int npar)
 
 ~TofCalib ()
 
void reset ()
 
virtual void calculate (RecordSet *&data, unsigned int icounter)
 
virtual void updateData (RecordSet *&data)=0
 
virtual const string & name () const
 
void fillTxt (const char *file)
 

Additional Inherited Members

virtual void calculate_funcs (const Record *r)=0
 
virtual void calculate_y (const Record *r)=0
 
- Protected Attributes inherited from TofCalib
string m_name
 
int Npar
 
HepMatrix F
 
HepVector X
 
HepVector Y
 
HepVector funcs
 
double y
 
std::vector< HepVector > m_result
 

Detailed Description

Definition at line 8 of file calib_etf_veff.h.

Constructor & Destructor Documentation

◆ calib_etf_veff()

calib_etf_veff::calib_etf_veff ( )
inline

Definition at line 10 of file calib_etf_veff.h.

10 :TofCalib( nEtfVeff ) {
11 m_name = string("calib_etf_veff");
12 }
const int nEtfVeff
Definition: calib_etf_veff.h:6
string m_name
Definition: TofCalib.h:36

Member Function Documentation

◆ calculate_funcs()

void calib_etf_veff::calculate_funcs ( const Record r)
inlinevirtual

Implements TofCalib.

Definition at line 14 of file calib_etf_veff.h.

14 {
15 double z = r->zrhit();
16
17 funcs[0] = 1.0;
18 funcs[1] = z;
19 funcs[2] = z*z;
20 funcs[3] = z*z*z;
21
22 return;
23 }
double zrhit() const
Definition: TofDataSet.h:61
HepVector funcs
Definition: TofCalib.h:41

◆ calculate_y()

void calib_etf_veff::calculate_y ( const Record r)
inlinevirtual

Implements TofCalib.

Definition at line 25 of file calib_etf_veff.h.

25 {
26 y = r->tright() - r->tleft();
27 return;
28 }
double tleft() const
Definition: TofDataSet.h:59
double tright() const
Definition: TofDataSet.h:60
double y
Definition: TofCalib.h:42

◆ updateData()

void calib_etf_veff::updateData ( RecordSet *&  data)
inlinevirtual

Implements TofCalib.

Definition at line 30 of file calib_etf_veff.h.

30 {
31 return;
32 }

The documentation for this class was generated from the following file: