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

#include <IMeasuredEcmsSvc.h>

+ Inheritance diagram for IMeasuredEcmsSvc:

Public Member Functions

 DeclareInterfaceID (IMeasuredEcmsSvc, 1, 0)
 
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
 

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

◆ DeclareInterfaceID()

IMeasuredEcmsSvc::DeclareInterfaceID ( IMeasuredEcmsSvc ,
1 ,
0  )

◆ getAverageEcms()

virtual double IMeasuredEcmsSvc::getAverageEcms ( )
pure virtual

Return average Ecms

◆ getAverageEcmsError()

virtual double IMeasuredEcmsSvc::getAverageEcmsError ( )
pure virtual

Return average Ecms error

◆ getBeamEnergy()

virtual double IMeasuredEcmsSvc::getBeamEnergy ( )
pure virtual

Return beam energy

◆ getEcms() [1/2]

virtual double IMeasuredEcmsSvc::getEcms ( )
pure virtual

Return Ecms ( Ecms = beam_energy * 2 )

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.

◆ getEcmsError()

virtual double IMeasuredEcmsSvc::getEcmsError ( )
pure virtual

Return error for Ecms

◆ getPx()

virtual double IMeasuredEcmsSvc::getPx ( )
pure virtual

Return x momentum

◆ getPy()

virtual double IMeasuredEcmsSvc::getPy ( )
pure virtual

Return y momentum

◆ getPz()

virtual double IMeasuredEcmsSvc::getPz ( )
pure virtual

Return z momentum

◆ 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

◆ getSampleName()

virtual double IMeasuredEcmsSvc::getSampleName ( )
pure virtual

Return sample name

◆ isRunNoValid()

virtual bool IMeasuredEcmsSvc::isRunNoValid ( )
pure virtual

Return true or false for runNo

◆ readDBTable()

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

Read database table

◆ 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)


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