#include <ZdcDigits.h>
|
| static void | print_to_stream (const std::vector< double > &val, const std::string &label, std::ostringstream &text) |
| static void | print_to_stream (const std::vector< int > &val, const std::string &label, std::ostringstream &text) |
Definition at line 27 of file ZdcDigits.h.
◆ ZdcDigits() [1/2]
◆ ZdcDigits() [2/2]
◆ ~ZdcDigits()
| virtual ZdcDigits::~ZdcDigits |
( |
| ) |
|
|
inlinevirtual |
◆ get_digits_gain0_delay0()
| const std::vector< int > & ZdcDigits::get_digits_gain0_delay0 |
( |
void | | ) |
const |
|
inline |
Definition at line 58 of file ZdcDigits.h.
std::vector< int > m_digits_gain0_delay0
◆ get_digits_gain0_delay1()
| const std::vector< int > & ZdcDigits::get_digits_gain0_delay1 |
( |
void | | ) |
const |
|
inline |
Definition at line 59 of file ZdcDigits.h.
std::vector< int > m_digits_gain0_delay1
◆ get_digits_gain1_delay0()
| const std::vector< int > & ZdcDigits::get_digits_gain1_delay0 |
( |
void | | ) |
const |
|
inline |
Definition at line 60 of file ZdcDigits.h.
std::vector< int > m_digits_gain1_delay0
◆ get_digits_gain1_delay1()
| const std::vector< int > & ZdcDigits::get_digits_gain1_delay1 |
( |
void | | ) |
const |
|
inline |
Definition at line 61 of file ZdcDigits.h.
std::vector< int > m_digits_gain1_delay1
◆ identify()
◆ NtimeSamples()
| int ZdcDigits::NtimeSamples |
( |
void | | ) |
const |
|
inline |
◆ operator std::string()
| ZdcDigits::operator std::string |
( |
| ) |
const |
|
virtual |
Reimplemented from ZdcRawData.
Definition at line 100 of file ZdcDigits.cxx.
101{
102 std::cout << "Trying to print ZdcDigits" << std::endl;
103 std::ostringstream
text(std::ostringstream::out);
104
106
107
108 text << std::setiosflags( std::ios::fixed );
109 text << std::setiosflags( std::ios::showpoint );
110 text << std::setprecision(2);
111
120
122}
static void print_to_stream(const std::vector< double > &val, const std::string &label, std::ostringstream &text)
◆ print()
| void ZdcDigits::print |
( |
void | | ) |
const |
|
virtual |
Reimplemented from ZdcRawData.
Definition at line 61 of file ZdcDigits.cxx.
62{
63
64 std::cout << "Trying to print() ZdcDigits" << std::endl;
65
66
67
68
69
70
71
74 std::cout <<
" " <<
val;
75 }
76 std::cout << std::endl;
77
80 std::cout <<
" " <<
val;
81 }
82 std::cout << std::endl;
83
86 std::cout <<
" " <<
val;
87 }
88 std::cout << std::endl;
89
92 std::cout <<
" " <<
val;
93 }
94 std::cout << std::endl;
95
96
97 return;
98}
◆ print_to_stream() [1/2]
| void ZdcRawData::print_to_stream |
( |
const std::vector< double > & | val, |
|
|
const std::string & | label, |
|
|
std::ostringstream & | text ) |
|
staticinherited |
Definition at line 75 of file ZdcRawData.cxx.
78{
80 for (double v : val) {
82 }
83}
std::string label(const std::string &format, int i)
◆ print_to_stream() [2/2]
| void ZdcRawData::print_to_stream |
( |
const std::vector< int > & | val, |
|
|
const std::string & | label, |
|
|
std::ostringstream & | text ) |
|
staticinherited |
Definition at line 85 of file ZdcRawData.cxx.
88{
90 for (double v : val) {
92 }
93}
◆ set_digits_gain0_delay0() [1/2]
| void ZdcDigits::set_digits_gain0_delay0 |
( |
const std::vector< int > & | v | ) |
|
◆ set_digits_gain0_delay0() [2/2]
| void ZdcDigits::set_digits_gain0_delay0 |
( |
const std::vector< uint16_t > & | v | ) |
|
Definition at line 144 of file ZdcDigits.cxx.
145{
148 for (
size_t i=0;
i<
v.size();
i++)
149 {
151 }
152}
◆ set_digits_gain0_delay1() [1/2]
| void ZdcDigits::set_digits_gain0_delay1 |
( |
const std::vector< int > & | v | ) |
|
◆ set_digits_gain0_delay1() [2/2]
| void ZdcDigits::set_digits_gain0_delay1 |
( |
const std::vector< uint16_t > & | v | ) |
|
Definition at line 154 of file ZdcDigits.cxx.
155{
158 for (
size_t i=0;
i<
v.size();
i++)
159 {
161 }
162}
◆ set_digits_gain1_delay0() [1/2]
| void ZdcDigits::set_digits_gain1_delay0 |
( |
const std::vector< int > & | v | ) |
|
◆ set_digits_gain1_delay0() [2/2]
| void ZdcDigits::set_digits_gain1_delay0 |
( |
const std::vector< uint16_t > & | v | ) |
|
Definition at line 164 of file ZdcDigits.cxx.
165{
168 for (
size_t i=0;
i<
v.size();
i++)
169 {
171 }
172}
◆ set_digits_gain1_delay1() [1/2]
| void ZdcDigits::set_digits_gain1_delay1 |
( |
const std::vector< int > & | v | ) |
|
◆ set_digits_gain1_delay1() [2/2]
| void ZdcDigits::set_digits_gain1_delay1 |
( |
const std::vector< uint16_t > & | v | ) |
|
Definition at line 174 of file ZdcDigits.cxx.
175{
178 for (
size_t i=0;
i<
v.size();
i++)
179 {
181 }
182}
◆ whoami()
| std::string ZdcDigits::whoami |
( |
void | | ) |
const |
|
inlinevirtual |
◆ m_digits_gain0_delay0
| std::vector<int> ZdcDigits::m_digits_gain0_delay0 |
|
private |
◆ m_digits_gain0_delay1
| std::vector<int> ZdcDigits::m_digits_gain0_delay1 |
|
private |
◆ m_digits_gain1_delay0
| std::vector<int> ZdcDigits::m_digits_gain1_delay0 |
|
private |
◆ m_digits_gain1_delay1
| std::vector<int> ZdcDigits::m_digits_gain1_delay1 |
|
private |
◆ m_id
◆ m_nSamples
| unsigned int ZdcDigits::m_nSamples |
The documentation for this class was generated from the following files: