CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
calib_endcap_veff Class Reference

#include <calib_endcap_veff.h>

+ Inheritance diagram for calib_endcap_veff:

Public Member Functions

 calib_endcap_veff ()
 
void calculate_funcs (const Record *r)
 
void calculate_y (const Record *r)
 
void updateData (RecordSet *&data)
 
 calib_endcap_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)
 
 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
 
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

Constructor & Destructor Documentation

◆ calib_endcap_veff() [1/2]

calib_endcap_veff::calib_endcap_veff ( )
inline

◆ calib_endcap_veff() [2/2]

calib_endcap_veff::calib_endcap_veff ( )
inline

Definition at line 10 of file Tof/tofcalgsec/tofcalgsec-00-02-08/tofcalgsec/calib_endcap_veff.h.

11 m_name = string("calib_endcap_veff");
12 }

Member Function Documentation

◆ calculate_funcs() [1/2]

void calib_endcap_veff::calculate_funcs ( const Record r)
inlinevirtual

Implements TofCalib.

Definition at line 14 of file InstallArea/include/tofcalgsec/tofcalgsec/calib_endcap_veff.h.

14 {
15 double z = r->zrhit();
16
17 funcs[0] = 1.0;
18 funcs[1] = z-44.5;
19 funcs[2] = (z-44.5)*(z-44.5);
20 funcs[3] = (z-44.5)*(z-44.5)*(z-44.5);
21
22 return;
23 }

◆ calculate_funcs() [2/2]

void calib_endcap_veff::calculate_funcs ( const Record r)
inlinevirtual

Implements TofCalib.

Definition at line 14 of file Tof/tofcalgsec/tofcalgsec-00-02-08/tofcalgsec/calib_endcap_veff.h.

14 {
15 double z = r->zrhit();
16
17 funcs[0] = 1.0;
18 funcs[1] = z-44.5;
19 funcs[2] = (z-44.5)*(z-44.5);
20 funcs[3] = (z-44.5)*(z-44.5)*(z-44.5);
21
22 return;
23 }

◆ calculate_y() [1/2]

void calib_endcap_veff::calculate_y ( const Record r)
inlinevirtual

◆ calculate_y() [2/2]

void calib_endcap_veff::calculate_y ( const Record r)
inlinevirtual

Implements TofCalib.

Definition at line 25 of file Tof/tofcalgsec/tofcalgsec-00-02-08/tofcalgsec/calib_endcap_veff.h.

25 {
26 y = r->tleft() - r->texp();
27 return;
28 }

◆ updateData() [1/2]

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

Implements TofCalib.

Definition at line 30 of file InstallArea/include/tofcalgsec/tofcalgsec/calib_endcap_veff.h.

30 {
31 return;
32 }

◆ updateData() [2/2]

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

Implements TofCalib.

Definition at line 30 of file Tof/tofcalgsec/tofcalgsec-00-02-08/tofcalgsec/calib_endcap_veff.h.

30 {
31 return;
32 }

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