|
Class Reference for E1039 Core & Analysis Software
|
A set of utility functions about the beam info. More...
Functions | |
| void | ListOfRfValues (int &n_value, int *&list_values) |
| Make a list of QIE RF+nn values. More... | |
| void | ListOfRfValues (int &n_value, double *&list_values) |
| Make a list of QIE RF+nn values. More... | |
| double | PoTRaw (const unsigned int spill_id) |
| Return the raw number of PoT. More... | |
| double | PoTLive (const unsigned int spill_id) |
| Return the live number of PoT. More... | |
| double | PoTPerQIE (const unsigned int spill_id) |
| Return PoT/QIEsum. More... | |
| double | QIE2Proton (const int qie_count, const unsigned int spill_id) |
| Convert the QIE count to the number of protons. More... | |
A set of utility functions about the beam info.
| void UtilBeam::ListOfRfValues | ( | int & | n_value, |
| double *& | list_values | ||
| ) |
Make a list of QIE RF+nn values.
This function uses an array of "double", instead of "int". It is suitable for the constructors of the TH1 classes.
Definition at line 48 of file UtilBeam.cc.
References ListOfRfValues().
Here is the call graph for this function:| void UtilBeam::ListOfRfValues | ( | int & | n_value, |
| int *& | list_values | ||
| ) |
Make a list of QIE RF+nn values.
The possible values for QIE RF+nn are not evenly distributed. This function just fills list_values with a list of all values. The values are taken from "float_2_linrom-2.xls" in DocDB 537.
Definition at line 10 of file UtilBeam.cc.
Referenced by AnaBG::Init(), and ListOfRfValues().
Here is the caller graph for this function:| double UtilBeam::PoTLive | ( | const unsigned int | spill_id | ) |
Return the live number of PoT.
The QIE pedestal is not subtracted at present.
Definition at line 19 of file UtilBeam.cc.
Referenced by AnaSortMixVertex::Analyze().
Here is the caller graph for this function:| double UtilBeam::PoTPerQIE | ( | const unsigned int | spill_id | ) |
Return PoT/QIEsum.
The QIE pedestal is subtracted from QIEsum.
Definition at line 38 of file UtilBeam.cc.
Referenced by AnaSortMixVertex::Analyze().
Here is the caller graph for this function:| double UtilBeam::PoTRaw | ( | const unsigned int | spill_id | ) |
Return the raw number of PoT.
Definition at line 6 of file UtilBeam.cc.
| double UtilBeam::QIE2Proton | ( | const int | qie_count, |
| const unsigned int | spill_id | ||
| ) |
Convert the QIE count to the number of protons.
This function does not subtract the QIE pedestal from qie_count.
Definition at line 60 of file UtilBeam.cc.