BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
IMeasuredEcmsSvc Class Referenceabstract

#include <IMeasuredEcmsSvc.h>

+ Inheritance diagram for IMeasuredEcmsSvc:

Public Member Functions

virtual ~IMeasuredEcmsSvc ()
 
virtual bool isRunNoValid ()=0
 
virtual double getEcms ()=0
 
virtual double getBeamEnergy ()=0
 
virtual double getEcmsError ()=0
 
virtual double getAverageEcms ()=0
 
virtual double getAverageEcmsError ()=0
 
virtual double getSampleName ()=0
 
virtual double getPx ()=0
 
virtual double getPy ()=0
 
virtual double getPz ()=0
 
virtual double getEcms (int runNo)=0
 
virtual std::string getRecord (int runNo, char *tab, char *col, char *min_col, char *max_col)=0
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Protected Member Functions

virtual void readDBTable (int runNo)=0
 
virtual int triggerDBTable (int runNo)=0
 

Detailed Description

Class to read the data information from database, such as ECMS, ECMS Error ... ( beam_energy = ECMS / 2.0). Access to almost all the XYZ, 3773, and 4180 data.

Definition at line 48 of file IMeasuredEcmsSvc.h.

Constructor & Destructor Documentation

◆ ~IMeasuredEcmsSvc()

virtual IMeasuredEcmsSvc::~IMeasuredEcmsSvc ( )
inlinevirtual

Definition at line 59 of file IMeasuredEcmsSvc.h.

59{}

Member Function Documentation

◆ getAverageEcms()

virtual double IMeasuredEcmsSvc::getAverageEcms ( )
pure virtual

Return average Ecms

Implemented in MeasuredEcmsSvc.

◆ getAverageEcmsError()

virtual double IMeasuredEcmsSvc::getAverageEcmsError ( )
pure virtual

Return average Ecms error

Implemented in MeasuredEcmsSvc.

◆ getBeamEnergy()

virtual double IMeasuredEcmsSvc::getBeamEnergy ( )
pure virtual

Return beam energy

Implemented in MeasuredEcmsSvc.

◆ getEcms() [1/2]

virtual double IMeasuredEcmsSvc::getEcms ( )
pure virtual

Return Ecms ( Ecms = beam_energy * 2 )

Implemented in MeasuredEcmsSvc.

Referenced by KKMC::execute().

◆ getEcms() [2/2]

virtual double IMeasuredEcmsSvc::getEcms ( int  runNo)
pure virtual

Return Ecms depend on runNo only. Here RunNo. can be set independ on event.

Implemented in MeasuredEcmsSvc.

◆ getEcmsError()

virtual double IMeasuredEcmsSvc::getEcmsError ( )
pure virtual

Return error for Ecms

Implemented in MeasuredEcmsSvc.

◆ getPx()

virtual double IMeasuredEcmsSvc::getPx ( )
pure virtual

Return x momentum

Implemented in MeasuredEcmsSvc.

◆ getPy()

virtual double IMeasuredEcmsSvc::getPy ( )
pure virtual

Return y momentum

Implemented in MeasuredEcmsSvc.

◆ getPz()

virtual double IMeasuredEcmsSvc::getPz ( )
pure virtual

Return z momentum

Implemented in MeasuredEcmsSvc.

◆ getRecord()

virtual std::string IMeasuredEcmsSvc::getRecord ( int  runNo,
char *  tab,
char *  col,
char *  min_col,
char *  max_col 
)
pure virtual

Return the string depend on the parameters

Implemented in MeasuredEcmsSvc.

◆ getSampleName()

virtual double IMeasuredEcmsSvc::getSampleName ( )
pure virtual

Return sample name

Implemented in MeasuredEcmsSvc.

◆ interfaceID()

static const InterfaceID & IMeasuredEcmsSvc::interfaceID ( )
inlinestatic

Definition at line 52 of file IMeasuredEcmsSvc.h.

53 {
54 return IID_IMeasuredEcmsSvc;
55 }

Referenced by MeasuredEcmsSvc::queryInterface().

◆ isRunNoValid()

virtual bool IMeasuredEcmsSvc::isRunNoValid ( )
pure virtual

Return true or false for runNo

Implemented in MeasuredEcmsSvc.

◆ readDBTable()

virtual void IMeasuredEcmsSvc::readDBTable ( int  runNo)
protectedpure virtual

Read database table

Implemented in MeasuredEcmsSvc.

◆ triggerDBTable()

virtual int IMeasuredEcmsSvc::triggerDBTable ( int  runNo)
protectedpure virtual

trigger based on runNo @option 1 MeasuredEcms2 table for XYZ (Charmonium data) @option 2 RunParams table for 3773, 4180 (Charm data)

Implemented in MeasuredEcmsSvc.


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