#include <StorePIDinfo.h>
Definition at line 13 of file StorePIDinfo.h.
◆ StorePIDinfo() [1/4]
| StorePIDinfo::StorePIDinfo |
( |
| ) |
|
|
default |
◆ StorePIDinfo() [2/4]
◆ StorePIDinfo() [3/4]
◆ ~StorePIDinfo()
| StorePIDinfo::~StorePIDinfo |
( |
| ) |
|
|
default |
◆ StorePIDinfo() [4/4]
| StorePIDinfo::StorePIDinfo |
( |
int | nbins, |
|
|
float | min, |
|
|
float | max, |
|
|
const std::vector< float > & | values ) |
Definition at line 11 of file StorePIDinfo.cxx.
11 {
13}
void update(int nbins, float min, float max, const std::vector< float > &values)
◆ check()
| StatusCode StorePIDinfo::check |
( |
int | gas, |
|
|
int | detpart ) const |
Definition at line 44 of file StorePIDinfo.cxx.
44 {
47 {
48
49 log << MSG::ERROR <<
" StorePIDinfo: No bins in the DB!! Gas: " << gas <<
" detpart " << detpart <<
endmsg;
50 return StatusCode::FAILURE;
51 }
53 {
54 log << MSG::ERROR <<
" Different number of PID numbers!!!!! " <<
endmsg;
55 return StatusCode::FAILURE;
56 }
58 {
59 log << MSG::ERROR <<
" Max is smaller or equal than min!!!" <<
endmsg;
60 return StatusCode::FAILURE;
61 }
62 return StatusCode::SUCCESS;
63}
std::vector< float > m_values
IMessageSvc * getMessageSvc(bool quiet=false)
◆ GetBin()
| int StorePIDinfo::GetBin |
( |
float | input | ) |
const |
◆ GetBinValue()
| float StorePIDinfo::GetBinValue |
( |
int | bin | ) |
const |
|
inline |
◆ GetValue()
| float StorePIDinfo::GetValue |
( |
float | input | ) |
const |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ push_back()
| void StorePIDinfo::push_back |
( |
float | value | ) |
|
◆ update()
| void StorePIDinfo::update |
( |
int | nbins, |
|
|
float | min, |
|
|
float | max, |
|
|
const std::vector< float > & | values ) |
Definition at line 16 of file StorePIDinfo.cxx.
16 {
22 log << MSG::ERROR <<
" Different Values of n_bins and vector size!!!" <<
endmsg;
23 }
25 for (float value : values){
27 }
28}
◆ m_max
| float StorePIDinfo::m_max = 10000000 * 2 |
|
private |
◆ m_min
| float StorePIDinfo::m_min = -9999.9 |
|
private |
◆ m_nbins
| unsigned int StorePIDinfo::m_nbins = 0 |
|
private |
◆ m_values
| std::vector<float> StorePIDinfo::m_values |
|
private |
The documentation for this class was generated from the following files: