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

#include <Parameter.h>

Public Member Functions

void parameters (double E_cms)
 

Public Attributes

double m_E_start
 
double m_E_stop
 
double m_CrossSection
 
double m_MCEff
 
double m_MCEffBoost
 
double m_boostMinEmin
 
double m_boostMinEmax
 

Detailed Description

Definition at line 4 of file Parameter.h.

Member Function Documentation

◆ parameters()

void Parameter::parameters ( double  E_cms)

Definition at line 8 of file Parameter.cxx.

9{
10 std::string digamPath = getenv("DIGAMALGROOT");
11 digamPath += "/DiGamAlg/parameters.txt";
12 std::ifstream fin;
13 fin.open(digamPath.c_str());
14
15 int i = 0;
16 std::string temp;
17 while (getline(fin, temp))
18 {
19 std::istringstream word(temp);
21 if(m_E_start <= E_cms && m_E_stop > E_cms)
22 break;
23 i++;
24 }
25 fin.close();
26}
double m_MCEffBoost
Definition: Parameter.h:12
double m_E_stop
Definition: Parameter.h:8
double m_boostMinEmax
Definition: Parameter.h:14
double m_boostMinEmin
Definition: Parameter.h:13
double m_E_start
Definition: Parameter.h:7
double m_MCEff
Definition: Parameter.h:11
double m_CrossSection
Definition: Parameter.h:10
short int word(short i, const _T &v)
Definition: bitmanip.h:27

Referenced by DiGam::execute().

Member Data Documentation

◆ m_boostMinEmax

double Parameter::m_boostMinEmax

Definition at line 14 of file Parameter.h.

Referenced by DiGam::execute(), and parameters().

◆ m_boostMinEmin

double Parameter::m_boostMinEmin

Definition at line 13 of file Parameter.h.

Referenced by DiGam::execute(), and parameters().

◆ m_CrossSection

double Parameter::m_CrossSection

Definition at line 10 of file Parameter.h.

Referenced by DiGam::execute(), and parameters().

◆ m_E_start

double Parameter::m_E_start

Definition at line 7 of file Parameter.h.

Referenced by parameters().

◆ m_E_stop

double Parameter::m_E_stop

Definition at line 8 of file Parameter.h.

Referenced by parameters().

◆ m_MCEff

double Parameter::m_MCEff

Definition at line 11 of file Parameter.h.

Referenced by DiGam::execute(), and parameters().

◆ m_MCEffBoost

double Parameter::m_MCEffBoost

Definition at line 12 of file Parameter.h.

Referenced by DiGam::execute(), and parameters().


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