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

#include <Parameter.h>

Public Member Functions

void parameters (double E_cms)
 
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

Member Function Documentation

◆ parameters() [1/2]

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}

Referenced by DiGam::execute().

◆ parameters() [2/2]

void Parameter::parameters ( double  E_cms)

Member Data Documentation

◆ m_boostMinEmax

double Parameter::m_boostMinEmax

◆ m_boostMinEmin

double Parameter::m_boostMinEmin

◆ m_CrossSection

double Parameter::m_CrossSection

◆ m_E_start

double Parameter::m_E_start

Definition at line 7 of file DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h.

Referenced by parameters().

◆ m_E_stop

double Parameter::m_E_stop

Definition at line 8 of file DQA/DiGamAlg/DiGamAlg-00-10-02/DiGamAlg/Parameter.h.

Referenced by parameters().

◆ m_MCEff

double Parameter::m_MCEff

◆ m_MCEffBoost

double Parameter::m_MCEffBoost

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