#include <pulse_info.hh>
Inheritance diagram for pulse_info:

Public Member Functions | |
| pulse_info () | |
| Default constructor. | |
| pulse_info (const pulse_info &original) | |
| Default copy constructor. | |
| void | set_channel_number (PMT::ch_number_t ch) |
| Setter for the channel number. | |
| void | set_ped_mean (double v) |
| Setter for pedestal mean. | |
| void | set_ped_rms (double v) |
| Setter for pedestal rms. | |
| void | set_pulse_peak (double v) |
| Setter for pulse peak height. | |
| void | set_charge (double v) |
| Setter for pulse charge (integral). | |
| void | set_start_time (double v) |
| Setter for pulse start time. | |
| void | set_start_time_reco (double v) |
| Setter for reconstructed pulse start time. | |
| void | set_end_time (double v) |
| Setter for pulse end time. | |
| void | set_max_time (double v) |
| Setter for pulse max time (peak point). | |
| void | set_disc_id (PMT::DISCRIMINATOR id) |
| Setter for discriminator id. | |
| void | set_channel_frame_id (PMT::word_t id) |
| Setter for original waveform's frame number. | |
| void | set_timeslice (PMT::word_t t) |
| Setter for original waveform's sample time-slice. | |
| PMT::ch_number_t | channel_number () const |
| Getter for the channel number. | |
| double | ped_mean () const |
| Getter for pedestal mean. | |
| double | ped_rms () const |
| Getter for pedestal rms. | |
| double | pulse_peak () const |
| Getter for pulse peak height. | |
| double | charge () const |
| Getter for pulse charge (integral). | |
| double | start_time () const |
| Getter for pulse start time. | |
| double | start_time_reco () const |
| Getter for reconstructed pulse start time. | |
| double | end_time () const |
| Getter for pulse end time. | |
| double | max_time () const |
| Getter for pulse max time (peak point). | |
| PMT::DISCRIMINATOR | disc_id () const |
| Getter for discriminator id. | |
| PMT::word_t | frame_id () const |
| Getter for original waveform's frame number. | |
| PMT::word_t | timeslice () const |
| Getter for original waveform's sample time-slice. | |
| virtual void | clear_data () |
| Method to clear currently held data contents in the buffer. | |
| ~pulse_info () | |
| Default destructor. | |
Private Member Functions | |
| void | init_vars () |
| Internal function to reset variables. | |
Private Attributes | |
| PMT::ch_number_t | _channel_number |
| Channel number. | |
| double | _ped_mean |
| pedestal mean | |
| double | _ped_rms |
| pedestal std. deviation | |
| double | _pulse_peak |
| peak height | |
| double | _charge |
| charge sum (integral) | |
| double | _start_time |
| pulse start time | |
| double | _start_time_reco |
| pulse reconstructed start time | |
| double | _end_time |
| pulse end time | |
| double | _max_time |
| pulse max time (where highestpeak is) | |
| PMT::word_t | _channel_frame_id |
| original waveofrm's readout frame id | |
| PMT::word_t | _timeslice |
| original waveform's sample number | |
| PMT::DISCRIMINATOR | _disc_id |
| original waveform's discriminator id | |
Definition at line 23 of file pulse_info.hh.
| pulse_info::pulse_info | ( | ) | [inline] |
Default constructor.
Definition at line 28 of file pulse_info.hh.
References clear_data().
00028 : data_base(){clear_data();};
| pulse_info::pulse_info | ( | const pulse_info & | original | ) | [inline] |
Default copy constructor.
Definition at line 31 of file pulse_info.hh.
00031 : data_base(original), 00032 _channel_number(original._channel_number), 00033 _ped_mean(original._ped_mean), 00034 _ped_rms(original._ped_rms), 00035 _pulse_peak(original._pulse_peak), 00036 _charge(original._charge), 00037 _start_time(original._start_time), 00038 _start_time_reco(original._start_time_reco), 00039 _end_time(original._end_time), 00040 _max_time(original._max_time), 00041 _channel_frame_id(original._channel_frame_id), 00042 _timeslice(original._timeslice), 00043 _disc_id(original._disc_id) 00044 {};
| pulse_info::~pulse_info | ( | ) | [inline] |
| PMT::ch_number_t pulse_info::channel_number | ( | ) | const [inline] |
Getter for the channel number.
Definition at line 83 of file pulse_info.hh.
References _channel_number.
Referenced by pulse_selector_simple::select_pulse().
00083 {return _channel_number;};
| double pulse_info::charge | ( | ) | const [inline] |
Getter for pulse charge (integral).
Definition at line 95 of file pulse_info.hh.
References _charge.
Referenced by pmtbaseline::analyze(), and pulse_selector_simple::select_pulse().
00095 { return _charge;};
| void pulse_info::clear_data | ( | ) | [virtual] |
Method to clear currently held data contents in the buffer.
Reimplemented from data_base.
Definition at line 6 of file pulse_info.cc.
References _channel_number, _charge, _end_time, _max_time, _ped_mean, _ped_rms, _start_time, _start_time_reco, and PMT::INVALID_CH.
Referenced by pulse_info().
00006 { 00007 00008 _channel_number=PMT::INVALID_CH; 00009 _ped_mean=-1; 00010 _ped_rms=-1; 00011 _charge=-1; 00012 _start_time=-1; 00013 _start_time_reco=-1; 00014 _end_time=-1; 00015 _max_time=-1; 00016 00017 }
| PMT::DISCRIMINATOR pulse_info::disc_id | ( | ) | const [inline] |
Getter for discriminator id.
Definition at line 110 of file pulse_info.hh.
References _disc_id.
00110 { return _disc_id;};
| double pulse_info::end_time | ( | ) | const [inline] |
Getter for pulse end time.
Definition at line 104 of file pulse_info.hh.
References _end_time.
Referenced by pulse_selector_simple::select_pulse().
00104 { return _end_time;};
| PMT::word_t pulse_info::frame_id | ( | ) | const [inline] |
Getter for original waveform's frame number.
Definition at line 113 of file pulse_info.hh.
References _channel_frame_id.
Referenced by pulse_selector_simple::select_pulse(), and led_pulse_selector::select_pulse().
00113 { return _channel_frame_id;};
| void pulse_info::init_vars | ( | ) | [private] |
Internal function to reset variables.
| double pulse_info::max_time | ( | ) | const [inline] |
Getter for pulse max time (peak point).
Definition at line 107 of file pulse_info.hh.
References _max_time.
00107 { return _max_time;};
| double pulse_info::ped_mean | ( | ) | const [inline] |
Getter for pedestal mean.
Definition at line 86 of file pulse_info.hh.
References _ped_mean.
Referenced by pulse_selector_simple::select_pulse().
00086 { return _ped_mean;};
| double pulse_info::ped_rms | ( | ) | const [inline] |
Getter for pedestal rms.
Definition at line 89 of file pulse_info.hh.
References _ped_rms.
Referenced by pulse_selector_simple::select_pulse().
00089 { return _ped_rms;};
| double pulse_info::pulse_peak | ( | ) | const [inline] |
Getter for pulse peak height.
Definition at line 92 of file pulse_info.hh.
References _pulse_peak.
Referenced by pmtbaseline::analyze(), and pulse_selector_simple::select_pulse().
00092 { return _pulse_peak;};
| void pulse_info::set_channel_frame_id | ( | PMT::word_t | id | ) | [inline] |
Setter for original waveform's frame number.
Definition at line 77 of file pulse_info.hh.
References _channel_frame_id.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00077 { _channel_frame_id=id; };
| void pulse_info::set_channel_number | ( | PMT::ch_number_t | ch | ) | [inline] |
Setter for the channel number.
Definition at line 47 of file pulse_info.hh.
References _channel_number.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00047 {_channel_number=ch;};
| void pulse_info::set_charge | ( | double | v | ) | [inline] |
Setter for pulse charge (integral).
Definition at line 59 of file pulse_info.hh.
References _charge.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00059 {_charge=v;};
| void pulse_info::set_disc_id | ( | PMT::DISCRIMINATOR | id | ) | [inline] |
Setter for discriminator id.
Definition at line 74 of file pulse_info.hh.
References _disc_id.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00074 { _disc_id=id; };
| void pulse_info::set_end_time | ( | double | v | ) | [inline] |
Setter for pulse end time.
Definition at line 68 of file pulse_info.hh.
References _end_time.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00068 {_end_time=v;};
| void pulse_info::set_max_time | ( | double | v | ) | [inline] |
Setter for pulse max time (peak point).
Definition at line 71 of file pulse_info.hh.
References _max_time.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00071 {_max_time=v;};
| void pulse_info::set_ped_mean | ( | double | v | ) | [inline] |
Setter for pedestal mean.
Definition at line 50 of file pulse_info.hh.
References _ped_mean.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00050 {_ped_mean=v;};
| void pulse_info::set_ped_rms | ( | double | v | ) | [inline] |
Setter for pedestal rms.
Definition at line 53 of file pulse_info.hh.
References _ped_rms.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00053 {_ped_rms=v;};
| void pulse_info::set_pulse_peak | ( | double | v | ) | [inline] |
Setter for pulse peak height.
Definition at line 56 of file pulse_info.hh.
References _pulse_peak.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00056 {_pulse_peak=v;};
| void pulse_info::set_start_time | ( | double | v | ) | [inline] |
Setter for pulse start time.
Definition at line 62 of file pulse_info.hh.
References _start_time.
Referenced by pulse_reco::analyze(), and pmtbaseline::analyze().
00062 {_start_time=v;};
| void pulse_info::set_start_time_reco | ( | double | v | ) | [inline] |
Setter for reconstructed pulse start time.
Definition at line 65 of file pulse_info.hh.
References _start_time_reco.
Referenced by pmtbaseline::analyze().
00065 {_start_time_reco=v;};
| void pulse_info::set_timeslice | ( | PMT::word_t | t | ) | [inline] |
Setter for original waveform's sample time-slice.
Definition at line 80 of file pulse_info.hh.
References _timeslice.
Referenced by pmtbaseline::analyze().
00080 { _timeslice=t; };
| double pulse_info::start_time | ( | ) | const [inline] |
Getter for pulse start time.
Definition at line 98 of file pulse_info.hh.
References _start_time.
Referenced by pulse_selector_simple::select_pulse().
00098 { return _start_time;};
| double pulse_info::start_time_reco | ( | ) | const [inline] |
Getter for reconstructed pulse start time.
Definition at line 101 of file pulse_info.hh.
References _start_time_reco.
Referenced by pulse_selector_simple::select_pulse().
00101 { return _start_time_reco;};
| PMT::word_t pulse_info::timeslice | ( | ) | const [inline] |
Getter for original waveform's sample time-slice.
Definition at line 116 of file pulse_info.hh.
References _timeslice.
Referenced by pulse_selector_simple::select_pulse(), and led_pulse_selector::select_pulse().
00116 { return _timeslice;};
PMT::word_t pulse_info::_channel_frame_id [private] |
original waveofrm's readout frame id
Definition at line 140 of file pulse_info.hh.
Referenced by frame_id(), and set_channel_frame_id().
PMT::ch_number_t pulse_info::_channel_number [private] |
Channel number.
Definition at line 130 of file pulse_info.hh.
Referenced by channel_number(), clear_data(), and set_channel_number().
double pulse_info::_charge [private] |
charge sum (integral)
Definition at line 134 of file pulse_info.hh.
Referenced by charge(), clear_data(), and set_charge().
PMT::DISCRIMINATOR pulse_info::_disc_id [private] |
original waveform's discriminator id
Definition at line 142 of file pulse_info.hh.
Referenced by disc_id(), and set_disc_id().
double pulse_info::_end_time [private] |
pulse end time
Definition at line 137 of file pulse_info.hh.
Referenced by clear_data(), end_time(), and set_end_time().
double pulse_info::_max_time [private] |
pulse max time (where highestpeak is)
Definition at line 138 of file pulse_info.hh.
Referenced by clear_data(), max_time(), and set_max_time().
double pulse_info::_ped_mean [private] |
pedestal mean
Definition at line 131 of file pulse_info.hh.
Referenced by clear_data(), ped_mean(), and set_ped_mean().
double pulse_info::_ped_rms [private] |
pedestal std. deviation
Definition at line 132 of file pulse_info.hh.
Referenced by clear_data(), ped_rms(), and set_ped_rms().
double pulse_info::_pulse_peak [private] |
peak height
Definition at line 133 of file pulse_info.hh.
Referenced by pulse_peak(), and set_pulse_peak().
double pulse_info::_start_time [private] |
pulse start time
Definition at line 135 of file pulse_info.hh.
Referenced by clear_data(), set_start_time(), and start_time().
double pulse_info::_start_time_reco [private] |
pulse reconstructed start time
Definition at line 136 of file pulse_info.hh.
Referenced by clear_data(), set_start_time_reco(), and start_time_reco().
PMT::word_t pulse_info::_timeslice [private] |
original waveform's sample number
Definition at line 141 of file pulse_info.hh.
Referenced by set_timeslice(), and timeslice().
1.4.7