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

Public Member Functions | |
| pmtbaseline_ana () | |
| Default constructor. | |
| virtual | ~pmtbaseline_ana () |
| Default destructor. | |
| virtual bool | initialize () |
| IMPLEMENT in pmtbaseline_ana.cc! Initialization method to be called before the analysis event loop. | |
| virtual bool | analyze (storage_manager *storage) |
| IMPLEMENT in pmtbaseline_ana.cc! Analyze a data event-by-event. | |
| virtual bool | finalize () |
| IMPLEMENT in pmtbaseline_ana.cc! Finalize method to be called after all events processed. | |
| void | set_range_pulse_start_time (double v1, double v2) |
| Setter for the range of pusle start time to select pulses of interest. | |
| void | set_range_pulse_start_time_reco (double v1, double v2) |
| Setter for the range of reconstructed pusle start time to select pulses of interest. | |
| void | set_range_pulse_end_time (double v1, double v2) |
| Setter for the range of pusle end time to select pulses of interest.. | |
| void | set_range_pulse_amp (double v1, double v2) |
| Setter for the range of pusle amplitude to select pulses of interest.. | |
| void | set_range_pulse_charge (double v1, double v2) |
| Setter for the range of integrated charge to select pulses of interest.. | |
| void | set_range_ped_mean (double v1, double v2) |
| Setter for the range of pedestal mean value to select pulses of interest.. | |
| void | set_range_ped_rms (double v1, double v2) |
| Setter for the range of pedestal rms to select pulses of interest.. | |
| void | set_range_event_id (PMT::word_t v1, PMT::word_t v2) |
| Setter for the range of event id to select pulses of interest. | |
| void | set_range_channel (PMT::ch_number_t v1, PMT::ch_number_t v2) |
| Setter for the range of channel numbers to select pulses of interest. | |
| void | set_range_sum_charge (double v1, double v2) |
| Setter for the range of event charge sum to select pulses of interest. | |
| void | set_range_sum_peak (double v1, double v2) |
| Setter for the range of event peak sum to select pulses of interest. | |
| void | set_range_npulse (double v1, double v2) |
| Setter for the range of event-wise number of pulses to select pulses of interest. | |
| const std::pair< double, double > | range_pulse_start_time () const |
| Getter for the range of pusle start time to select pulses of interest. | |
| const std::pair< double, double > | range_pulse_start_time_reco () const |
| Getter for the range of pusle reconstructed start time to select pulses of interest. | |
| const std::pair< double, double > | range_pulse_end_time () const |
| Getter for the range of pusle end time to select pulses of interest.. | |
| const std::pair< double, double > | range_pulse_amp () const |
| Getter for the range of pusle amplitude to select pulses of interest.. | |
| const std::pair< double, double > | range_pulse_charge () const |
| Getter for the range of integrated charge to select pulses of interest.. | |
| const std::pair< double, double > | range_ped_mean () const |
| Getter for the range of pedestal mean value to select pulses of interest.. | |
| const std::pair< double, double > | range_ped_rms () const |
| Getter for the range of pedestal rms to select pulses of interest.. | |
| const std::pair< PMT::word_t, PMT::word_t > | range_event_id () const |
| Getter for the range of event id to select pulses of interest. | |
| const std::pair< PMT::word_t, PMT::word_t > | range_channel () const |
| Getter for the range of channel numbers to select pulses of interest. | |
| const std::pair< double, double > | range_sum_charge () const |
| Getter for the range of event charge sum to select pulses of interest. | |
| const std::pair< double, double > | range_sum_peak () const |
| Getter for the range of event peak sum to select pulses of interest. | |
| const std::pair< UInt_t, UInt_t > | range_npulse () const |
| Getter for the range of event-wise number of pulses to select pulses of interest. | |
| void | set_output_file (TFile *fout) |
| A setter for analysis output file poitner. | |
| void | set_verbosity (MSG::Level level) |
| Setter for the verbosity level. | |
| MSG::Level | get_verbosity () const |
| Getter for the verbosity level. | |
| const std::string | class_name () const |
| Getter for the class name. | |
Protected Member Functions | |
| void | reset_cuts () |
| reset cut values | |
Protected Attributes | |
| std::map< PMT::ch_number_t, TH1D * > | _hArray_PedMean |
| std::map< PMT::ch_number_t, TH1D * > | _hArray_PedRMS |
| std::map< PMT::ch_number_t, TH1D * > | _hArray_Charge |
| std::map< PMT::ch_number_t, TH1D * > | _hArray_Peak |
| std::pair< double, double > | _cut_tstart |
| pairs to define a range of pulse parameters for displaying pulses. | |
| std::pair< double, double > | _cut_tstart_reco |
| std::pair< double, double > | _cut_tend |
| std::pair< double, double > | _cut_amp |
| std::pair< double, double > | _cut_charge |
| std::pair< double, double > | _cut_pedbase |
| std::pair< double, double > | _cut_pedrms |
| std::pair< double, double > | _cut_sum_charge |
| pairs to define a range of event parameters for displaying pulses. | |
| std::pair< double, double > | _cut_sum_peak |
| std::pair< UInt_t, UInt_t > | _cut_npulse |
| pairs to define a range of event parameters for displaying pulses. | |
| std::pair< PMT::word_t, PMT::word_t > | _cut_event_id |
| a pair to define a range of event id for displaying pulses. | |
| std::pair< PMT::ch_number_t, PMT::ch_number_t > | _cut_channels |
| a pair to define a range of channel numbers for displaying pulses. | |
| TFile * | _fout |
| Analysis output file pointer. | |
| char | _buf [200] |
| char buffer for message manipulation | |
| bool | _verbosity [MSG::MSG_TYPE_MAX] |
| holder for enabled message levels | |
| MSG::Level | _verbosity_level |
| holder for specified verbosity level | |
| std::string | _name |
| class name holder | |
Definition at line 26 of file pmtbaseline_ana.hh.
| pmtbaseline_ana::pmtbaseline_ana | ( | ) |
Default constructor.
Definition at line 6 of file pmtbaseline_ana.cc.
References ana_base::_fout, decoder_base::_name, and reset_cuts().
00006 { 00007 00008 _name="pmtbaseline_ana"; 00009 _fout=0; 00010 reset_cuts(); 00011 00012 }
| virtual pmtbaseline_ana::~pmtbaseline_ana | ( | ) | [inline, virtual] |
| bool pmtbaseline_ana::analyze | ( | storage_manager * | storage | ) | [virtual] |
IMPLEMENT in pmtbaseline_ana.cc! Analyze a data event-by-event.
Implements ana_base.
Definition at line 46 of file pmtbaseline_ana.cc.
References _cut_amp, _cut_channels, _cut_charge, _cut_event_id, _cut_npulse, _cut_pedbase, _cut_pedrms, _cut_sum_charge, _cut_sum_peak, _cut_tend, _cut_tstart, _cut_tstart_reco, _hArray_Charge, _hArray_Peak, _hArray_PedMean, _hArray_PedRMS, pmt_wf_collection::event_id(), storage_manager::get_data(), pulse_collection::npulse(), DATA_STRUCT::PMT_WF_COLLECTION, DATA_STRUCT::PULSE_COLLECTION, pulse_collection::sum_charge(), and pulse_collection::sum_peak().
00046 { 00047 00048 // 00049 // Do your event-by-event analysis here. This function is called for 00050 // each event in the loop. You have "data" pointer which contains 00051 // event-wise data. For a reference of pmt_wf_collection class instance, 00052 // see the class index in the documentation. 00053 // 00054 // Example to print out event id on screen... 00055 // 00056 //const pmt_wf_collection* event_wf = (pmt_wf_collection*)(storage->get_data(DATA_STRUCT::WF_COLLECTION)); 00057 //std::cout << Form("Event ID: %d",event_wf->event_id()) << std::endl; 00058 // 00059 00060 const pmt_wf_collection* wfs = (pmt_wf_collection*)(storage->get_data(DATA_STRUCT::PMT_WF_COLLECTION)); 00061 const pulse_collection* pulses = (pulse_collection*)(storage->get_data(DATA_STRUCT::PULSE_COLLECTION)); 00062 00063 PMT::word_t event_id = wfs->event_id(); 00064 double sum_charge = pulses->sum_charge(); 00065 double sum_peak = pulses->sum_peak(); 00066 UInt_t npulse = pulses->npulse(); 00067 00068 // Check if this event is in the range of users' interest 00069 if(event_id < _cut_event_id.first || _cut_event_id.second < event_id) 00070 return true; 00071 else if(sum_charge < _cut_sum_charge.first || _cut_sum_charge.second < sum_charge) 00072 return true; 00073 else if(sum_peak < _cut_sum_peak.first || _cut_sum_peak.second < sum_peak) 00074 return true; 00075 else if(npulse < _cut_npulse.first || _cut_npulse.second < npulse) 00076 return true; 00077 00078 // Loop over pulse collection and fill histograms 00079 for(pulse_collection::const_iterator iter(pulses->begin()); iter!=pulses->end(); ++iter){ 00080 00081 PMT::ch_number_t ch((*iter).channel_number()); 00082 double t_start = (*iter).start_time(); 00083 double t_end = (*iter).end_time(); 00084 double charge = (*iter).charge(); 00085 double amp = (*iter).pulse_peak(); 00086 double ped_base = (*iter).ped_mean(); 00087 double ped_rms = (*iter).ped_rms(); 00088 double t_start_reco = (*iter).start_time_reco(); 00089 00090 // Check if this pulse passes the criteria 00091 if(ch < _cut_channels.first || _cut_channels.second < ch) 00092 continue; 00093 if(t_start_reco < _cut_tstart_reco.first || _cut_tstart_reco.second < t_start_reco) 00094 continue; 00095 if(t_start < _cut_tstart.first || _cut_tstart.second < t_start) 00096 continue; 00097 if(t_end < _cut_tend.first || _cut_tend.second < t_end) 00098 continue; 00099 if(charge < _cut_charge.first || _cut_charge.second < charge) 00100 continue; 00101 if(amp < _cut_amp.first || _cut_amp.second < amp) 00102 continue; 00103 if(ped_base < _cut_pedbase.first || _cut_pedbase.second < ped_base) 00104 continue; 00105 if(ped_rms < _cut_pedrms.first || _cut_pedrms.second < ped_rms) 00106 continue; 00107 00108 // Check if a histogram of this pulse's channel already exists. If not, add. 00109 if(_hArray_PedMean.find(ch) == _hArray_PedMean.end()) { 00110 00111 _hArray_PedMean[ch] = new TH1D(Form("hPedMean_Ch%03d",ch), 00112 Form("Pedestal Mean for Ch %03d; ADC; Entries",ch), 00113 250,2000,2100); 00114 _hArray_PedRMS[ch] = new TH1D(Form("hPedRMS_Ch%03d",ch), 00115 Form("Pedestal RMS for Ch %03d; RMS; Entries",ch), 00116 50,0,10); 00117 _hArray_Charge[ch] = new TH1D(Form("hCharge_Ch%03d",ch), 00118 Form("Integrated Charge Sum for Ch %03d; Charge [arbitrary];Entries",ch), 00119 600,0,600); 00120 _hArray_Peak[ch] = new TH1D(Form("hPeak_Ch%03d",ch), 00121 Form("Max. Amplitude for Ch %03d; Peak Amp. [ADC]; Entries",ch), 00122 500,0,200); 00123 } 00124 00125 // Fill histograms 00126 _hArray_PedMean[ch]->Fill(ped_base); 00127 _hArray_PedRMS[ch]->Fill(ped_rms); 00128 _hArray_Charge[ch]->Fill(charge); 00129 _hArray_Peak[ch]->Fill(amp); 00130 00131 } 00132 00133 return true; 00134 }
| const std::string decoder_base::class_name | ( | ) | const [inline, inherited] |
Getter for the class name.
Definition at line 46 of file decoder_base.hh.
References decoder_base::_name.
00046 {return _name;};
| bool pmtbaseline_ana::finalize | ( | ) | [virtual] |
IMPLEMENT in pmtbaseline_ana.cc! Finalize method to be called after all events processed.
Implements ana_base.
Definition at line 136 of file pmtbaseline_ana.cc.
References ana_base::_fout, _hArray_Charge, _hArray_Peak, _hArray_PedMean, and _hArray_PedRMS.
00136 { 00137 00138 // This function is called at the end of event loop. 00139 // Do all variable finalization you wish to do here. 00140 // If you need, you can store your ROOT class instance in the output 00141 // file. You have an access to the output file through "_fout" pointer. 00142 00143 _fout->cd(); 00144 for(std::map<PMT::ch_number_t,TH1D*>::iterator iter(_hArray_PedMean.begin()); 00145 iter!=_hArray_PedMean.end(); 00146 ++iter){ 00147 00148 PMT::ch_number_t ch=(*iter).first; 00149 00150 _hArray_PedMean[ch]->Write(); 00151 _hArray_PedRMS[ch]->Write(); 00152 _hArray_Charge[ch]->Write(); 00153 _hArray_Peak[ch]->Write(); 00154 00155 } 00156 00157 return true; 00158 }
| MSG::Level decoder_base::get_verbosity | ( | ) | const [inline, inherited] |
Getter for the verbosity level.
Definition at line 43 of file decoder_base.hh.
References decoder_base::_verbosity_level.
00043 {return _verbosity_level;};
| bool pmtbaseline_ana::initialize | ( | ) | [virtual] |
IMPLEMENT in pmtbaseline_ana.cc! Initialization method to be called before the analysis event loop.
Implements ana_base.
Definition at line 31 of file pmtbaseline_ana.cc.
References _hArray_Charge, _hArray_Peak, _hArray_PedMean, and _hArray_PedRMS.
00031 { 00032 00033 // 00034 // This function is called in the beggining of event loop 00035 // Do all variable initialization you wish to do here. 00036 // If you need, you have an output root file pointer "_fout". 00037 00038 _hArray_PedMean.clear(); 00039 _hArray_PedRMS.clear(); 00040 _hArray_Charge.clear(); 00041 _hArray_Peak.clear(); 00042 00043 return true; 00044 }
| const std::pair<PMT::word_t,PMT::word_t> pmtbaseline_ana::range_channel | ( | ) | const [inline] |
Getter for the range of channel numbers to select pulses of interest.
Definition at line 116 of file pmtbaseline_ana.hh.
References _cut_channels.
00116 {return _cut_channels;};
| const std::pair<PMT::word_t,PMT::word_t> pmtbaseline_ana::range_event_id | ( | ) | const [inline] |
Getter for the range of event id to select pulses of interest.
Definition at line 113 of file pmtbaseline_ana.hh.
References _cut_event_id.
00113 {return _cut_event_id;};
| const std::pair<UInt_t,UInt_t> pmtbaseline_ana::range_npulse | ( | ) | const [inline] |
Getter for the range of event-wise number of pulses to select pulses of interest.
Definition at line 125 of file pmtbaseline_ana.hh.
References _cut_npulse.
00125 {return _cut_npulse;};
| const std::pair<double,double> pmtbaseline_ana::range_ped_mean | ( | ) | const [inline] |
Getter for the range of pedestal mean value to select pulses of interest..
Definition at line 107 of file pmtbaseline_ana.hh.
References _cut_pedbase.
00107 {return _cut_pedbase;};
| const std::pair<double,double> pmtbaseline_ana::range_ped_rms | ( | ) | const [inline] |
Getter for the range of pedestal rms to select pulses of interest..
Definition at line 110 of file pmtbaseline_ana.hh.
References _cut_pedrms.
00110 {return _cut_pedrms;};
| const std::pair<double,double> pmtbaseline_ana::range_pulse_amp | ( | ) | const [inline] |
Getter for the range of pusle amplitude to select pulses of interest..
Definition at line 101 of file pmtbaseline_ana.hh.
References _cut_amp.
00101 {return _cut_amp;};
| const std::pair<double,double> pmtbaseline_ana::range_pulse_charge | ( | ) | const [inline] |
Getter for the range of integrated charge to select pulses of interest..
Definition at line 104 of file pmtbaseline_ana.hh.
References _cut_charge.
00104 {return _cut_charge;};
| const std::pair<double,double> pmtbaseline_ana::range_pulse_end_time | ( | ) | const [inline] |
Getter for the range of pusle end time to select pulses of interest..
Definition at line 98 of file pmtbaseline_ana.hh.
References _cut_tend.
00098 {return _cut_tend;};
| const std::pair<double,double> pmtbaseline_ana::range_pulse_start_time | ( | ) | const [inline] |
Getter for the range of pusle start time to select pulses of interest.
Definition at line 92 of file pmtbaseline_ana.hh.
References _cut_tstart.
00092 {return _cut_tstart;};
| const std::pair<double,double> pmtbaseline_ana::range_pulse_start_time_reco | ( | ) | const [inline] |
Getter for the range of pusle reconstructed start time to select pulses of interest.
Definition at line 95 of file pmtbaseline_ana.hh.
References _cut_tstart_reco.
00095 {return _cut_tstart_reco;};
| const std::pair<double,double> pmtbaseline_ana::range_sum_charge | ( | ) | const [inline] |
Getter for the range of event charge sum to select pulses of interest.
Definition at line 119 of file pmtbaseline_ana.hh.
References _cut_sum_charge.
00119 {return _cut_sum_charge;};
| const std::pair<double,double> pmtbaseline_ana::range_sum_peak | ( | ) | const [inline] |
Getter for the range of event peak sum to select pulses of interest.
Definition at line 122 of file pmtbaseline_ana.hh.
References _cut_sum_peak.
00122 {return _cut_sum_peak;};
| void pmtbaseline_ana::reset_cuts | ( | ) | [protected] |
reset cut values
Definition at line 14 of file pmtbaseline_ana.cc.
References _cut_amp, _cut_channels, _cut_charge, _cut_event_id, _cut_npulse, _cut_pedbase, _cut_pedrms, _cut_sum_charge, _cut_sum_peak, _cut_tend, _cut_tstart, _cut_tstart_reco, PMT::INVALID_CH, and PMT::NUM_PMT_CHANNEL.
Referenced by pmtbaseline_ana().
00014 { 00015 00016 _cut_tstart_reco = std::make_pair(-1,2000); 00017 _cut_tstart = std::make_pair(-1,2000); 00018 _cut_tend = std::make_pair(-1,2000); 00019 _cut_amp = std::make_pair(-1,4096); 00020 _cut_charge = std::make_pair(-1,4096*2000); 00021 _cut_pedbase = std::make_pair(-1,4096); 00022 _cut_pedrms = std::make_pair(0,4096); 00023 _cut_channels = std::make_pair(0,PMT::INVALID_CH); 00024 _cut_event_id = std::make_pair(0,0xffffffff); 00025 _cut_npulse = std::make_pair(0,0xffffffff); 00026 _cut_sum_charge = std::make_pair(0,4096*2000*PMT::NUM_PMT_CHANNEL); 00027 _cut_sum_peak = std::make_pair(0,4096*PMT::NUM_PMT_CHANNEL); 00028 00029 }
| void ana_base::set_output_file | ( | TFile * | fout | ) | [inline, inherited] |
A setter for analysis output file poitner.
Definition at line 46 of file ana_base.hh.
References ana_base::_fout.
00046 {_fout=fout;};
| void pmtbaseline_ana::set_range_channel | ( | PMT::ch_number_t | v1, | |
| PMT::ch_number_t | v2 | |||
| ) | [inline] |
Setter for the range of channel numbers to select pulses of interest.
Definition at line 76 of file pmtbaseline_ana.hh.
References _cut_channels.
00076 {_cut_channels.first=v1; _cut_channels.second=v2;};
| void pmtbaseline_ana::set_range_event_id | ( | PMT::word_t | v1, | |
| PMT::word_t | v2 | |||
| ) | [inline] |
Setter for the range of event id to select pulses of interest.
Definition at line 73 of file pmtbaseline_ana.hh.
References _cut_event_id.
00073 {_cut_event_id.first=v1; _cut_event_id.second=v2; };
| void pmtbaseline_ana::set_range_npulse | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of event-wise number of pulses to select pulses of interest.
Definition at line 85 of file pmtbaseline_ana.hh.
References _cut_npulse.
00085 {_cut_npulse.first=v1; _cut_npulse.second=v2;};
| void pmtbaseline_ana::set_range_ped_mean | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of pedestal mean value to select pulses of interest..
Definition at line 67 of file pmtbaseline_ana.hh.
References _cut_pedbase.
00067 {_cut_pedbase.first=v1; _cut_pedbase.second=v2; };
| void pmtbaseline_ana::set_range_ped_rms | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of pedestal rms to select pulses of interest..
Definition at line 70 of file pmtbaseline_ana.hh.
References _cut_pedrms.
00070 {_cut_pedrms.first=v1; _cut_pedrms.second=v2; };
| void pmtbaseline_ana::set_range_pulse_amp | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of pusle amplitude to select pulses of interest..
Definition at line 61 of file pmtbaseline_ana.hh.
References _cut_amp.
| void pmtbaseline_ana::set_range_pulse_charge | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of integrated charge to select pulses of interest..
Definition at line 64 of file pmtbaseline_ana.hh.
References _cut_charge.
00064 {_cut_charge.first=v1; _cut_charge.second=v2; };
| void pmtbaseline_ana::set_range_pulse_end_time | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of pusle end time to select pulses of interest..
Definition at line 58 of file pmtbaseline_ana.hh.
References _cut_tend.
| void pmtbaseline_ana::set_range_pulse_start_time | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of pusle start time to select pulses of interest.
Definition at line 52 of file pmtbaseline_ana.hh.
References _cut_tstart.
00052 {_cut_tstart.first=v1; _cut_tstart.second=v2; };
| void pmtbaseline_ana::set_range_pulse_start_time_reco | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of reconstructed pusle start time to select pulses of interest.
Definition at line 55 of file pmtbaseline_ana.hh.
References _cut_tstart_reco.
00055 {_cut_tstart_reco.first=v1; _cut_tstart_reco.second=v2; };
| void pmtbaseline_ana::set_range_sum_charge | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of event charge sum to select pulses of interest.
Definition at line 79 of file pmtbaseline_ana.hh.
References _cut_sum_charge.
00079 {_cut_sum_charge.first=v1; _cut_sum_charge.second=v2;};
| void pmtbaseline_ana::set_range_sum_peak | ( | double | v1, | |
| double | v2 | |||
| ) | [inline] |
Setter for the range of event peak sum to select pulses of interest.
Definition at line 82 of file pmtbaseline_ana.hh.
References _cut_sum_peak.
00082 {_cut_sum_peak.first=v1; _cut_sum_peak.second=v2;};
| void decoder_base::set_verbosity | ( | MSG::Level | level | ) | [inherited] |
Setter for the verbosity level.
Reimplemented in ana_processor.
Definition at line 11 of file decoder_base.cc.
References decoder_base::_verbosity, decoder_base::_verbosity_level, MSG::DEBUG, MSG::ERROR, MSG::INFO, MSG::MSG_TYPE_MAX, MSG::NORMAL, and MSG::WARNING.
Referenced by algo_slow_readout_decoder::algo_slow_readout_decoder(), compare_content(), decoder_base::decoder_base(), decoder_manager::decoder_manager(), decoder_manager::initialize(), main(), xmit_event_search::run(), bin_word_search::run(), and ana_processor::set_verbosity().
00011 { 00012 00013 _verbosity_level=level; 00014 00015 for(size_t i=(size_t)(MSG::DEBUG); i<(size_t)(MSG::MSG_TYPE_MAX); ++i) 00016 _verbosity[i]=false; 00017 00018 switch(level){ 00019 case MSG::DEBUG: 00020 _verbosity[MSG::DEBUG]=true; 00021 case MSG::INFO: 00022 _verbosity[MSG::INFO]=true; 00023 case MSG::NORMAL: 00024 _verbosity[MSG::NORMAL]=true; 00025 case MSG::WARNING: 00026 _verbosity[MSG::WARNING]=true; 00027 case MSG::ERROR: 00028 _verbosity[MSG::ERROR]=true; 00029 case MSG::MSG_TYPE_MAX: 00030 break; 00031 } 00032 00033 }
char decoder_base::_buf[200] [protected, inherited] |
char buffer for message manipulation
Definition at line 46 of file decoder_base.hh.
Referenced by reco_wf::analyze(), pulse_viewer::analyze(), algo_slow_readout_decoder::check_event_quality(), storage_manager::close(), bin_io_handler::close(), decoder_manager::decode(), algo_slow_readout_decoder::decode_ch_word(), algo_pmt_xmit::decode_ch_word(), algo_slow_readout_decoder::decode_event_header(), pulse_viewer::get_waveform(), ana_processor::initialize(), pulse_viewer::next_pulse(), storage_manager::open(), bin_io_handler::open(), storage_manager::prepare_tree(), pulse_viewer::previous_pulse(), algo_slow_readout_decoder::print_adc_values(), algo_tpc_xmit::process_ch_word(), algo_slow_readout_decoder::process_ch_word(), algo_pmt_xmit::process_ch_word(), algo_fem_decoder_base::process_fem_header(), algo_xmit_decoder::process_header(), algo_slow_readout_decoder::process_header(), algo_slow_readout_decoder::process_word(), bin_io_handler::read_multi_word(), bin_io_handler::read_word(), and ana_processor::run().
std::pair<double,double> pmtbaseline_ana::_cut_amp [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_pulse_amp(), reset_cuts(), and set_range_pulse_amp().
std::pair<PMT::ch_number_t,PMT::ch_number_t> pmtbaseline_ana::_cut_channels [protected] |
a pair to define a range of channel numbers for displaying pulses.
Definition at line 147 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_channel(), reset_cuts(), and set_range_channel().
std::pair<double,double> pmtbaseline_ana::_cut_charge [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_pulse_charge(), reset_cuts(), and set_range_pulse_charge().
std::pair<PMT::word_t,PMT::word_t> pmtbaseline_ana::_cut_event_id [protected] |
a pair to define a range of event id for displaying pulses.
Definition at line 144 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_event_id(), reset_cuts(), and set_range_event_id().
std::pair<UInt_t,UInt_t> pmtbaseline_ana::_cut_npulse [protected] |
pairs to define a range of event parameters for displaying pulses.
Definition at line 141 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_npulse(), reset_cuts(), and set_range_npulse().
std::pair<double,double> pmtbaseline_ana::_cut_pedbase [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_ped_mean(), reset_cuts(), and set_range_ped_mean().
std::pair<double,double> pmtbaseline_ana::_cut_pedrms [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_ped_rms(), reset_cuts(), and set_range_ped_rms().
std::pair<double,double> pmtbaseline_ana::_cut_sum_charge [protected] |
pairs to define a range of event parameters for displaying pulses.
Definition at line 138 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_sum_charge(), reset_cuts(), and set_range_sum_charge().
std::pair<double,double> pmtbaseline_ana::_cut_sum_peak [protected] |
Definition at line 138 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_sum_peak(), reset_cuts(), and set_range_sum_peak().
std::pair<double,double> pmtbaseline_ana::_cut_tend [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_pulse_end_time(), reset_cuts(), and set_range_pulse_end_time().
std::pair<double,double> pmtbaseline_ana::_cut_tstart [protected] |
pairs to define a range of pulse parameters for displaying pulses.
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_pulse_start_time(), reset_cuts(), and set_range_pulse_start_time().
std::pair<double,double> pmtbaseline_ana::_cut_tstart_reco [protected] |
Definition at line 135 of file pmtbaseline_ana.hh.
Referenced by analyze(), range_pulse_start_time_reco(), reset_cuts(), and set_range_pulse_start_time_reco().
TFile* ana_base::_fout [protected, inherited] |
Analysis output file pointer.
Definition at line 46 of file ana_base.hh.
Referenced by ana_base::ana_base(), waveform_sampler::finalize(), pulse_reco::finalize(), pulse_analyzer::finalize(), finalize(), pmtbaseline::finalize(), led_pulse_analyzer::finalize(), beamgate_debugger::finalize(), pulse_analyzer::initialize(), pmt_slow_encoder::pmt_slow_encoder(), pmtbaseline::pmtbaseline(), pmtbaseline_ana(), pulse_selector_base::pulse_selector_base(), pulse_selector_simple::pulse_selector_simple(), waveform_sampler::sample_waveform(), ana_base::set_output_file(), and waveform_sampler::waveform_sampler().
std::map<PMT::ch_number_t,TH1D*> pmtbaseline_ana::_hArray_Charge [protected] |
Definition at line 132 of file pmtbaseline_ana.hh.
Referenced by analyze(), finalize(), and initialize().
std::map<PMT::ch_number_t,TH1D*> pmtbaseline_ana::_hArray_Peak [protected] |
Definition at line 132 of file pmtbaseline_ana.hh.
Referenced by analyze(), finalize(), and initialize().
std::map<PMT::ch_number_t,TH1D*> pmtbaseline_ana::_hArray_PedMean [protected] |
Definition at line 132 of file pmtbaseline_ana.hh.
Referenced by analyze(), finalize(), and initialize().
std::map<PMT::ch_number_t,TH1D*> pmtbaseline_ana::_hArray_PedRMS [protected] |
Definition at line 132 of file pmtbaseline_ana.hh.
Referenced by analyze(), finalize(), and initialize().
std::string decoder_base::_name [protected, inherited] |
class name holder
Definition at line 53 of file decoder_base.hh.
Referenced by algo_base::algo_base(), algo_fem_decoder_base::algo_fem_decoder_base(), algo_fixed_window::algo_fixed_window(), algo_slow_readout_decoder::algo_slow_readout_decoder(), algo_threshold::algo_threshold(), algo_tpc_huffman::algo_tpc_huffman(), algo_trig_decoder::algo_trig_decoder(), ana_base::ana_base(), ana_processor::ana_processor(), beamgate_debugger::beamgate_debugger(), bin_io_handler::bin_io_handler(), decoder_base::class_name(), led_pulse_analyzer::led_pulse_analyzer(), led_pulse_selector::led_pulse_selector(), pmt_slow_encoder::pmt_slow_encoder(), pmtbaseline::pmtbaseline(), pmtbaseline_ana(), preco_algo_base::preco_algo_base(), pulse_analyzer::pulse_analyzer(), pulse_reco::pulse_reco(), pulse_selector_base::pulse_selector_base(), pulse_selector_simple::pulse_selector_simple(), pulse_viewer::pulse_viewer(), reco_wf::reco_wf(), storage_manager::storage_manager(), and waveform_sampler::waveform_sampler().
bool decoder_base::_verbosity[MSG::MSG_TYPE_MAX] [protected, inherited] |
holder for enabled message levels
Definition at line 51 of file decoder_base.hh.
Referenced by reco_wf::analyze(), algo_slow_readout_decoder::check_event_quality(), storage_manager::close(), decoder_manager::decode(), algo_slow_readout_decoder::decode_ch_word(), algo_pmt_xmit::decode_ch_word(), algo_slow_readout_decoder::decode_event_header(), algo_fem_decoder_base::decode_fem_header(), algo_trig_decoder::decode_trigger_words(), decoder_manager::finalize(), beamgate_debugger::finalize(), ana_processor::finalize(), decoder_manager::initialize(), beamgate_debugger::initialize(), ana_processor::initialize(), storage_manager::open(), beamgate_debugger::prepare_histo(), storage_manager::prepare_tree(), algo_tpc_xmit::process_ch_word(), algo_tpc_huffman::process_ch_word(), algo_slow_readout_decoder::process_ch_word(), algo_pmt_xmit::process_ch_word(), algo_tpc_xmit::process_event_last_word(), algo_pmt_xmit::process_event_last_word(), algo_fem_decoder_base::process_fem_header(), algo_pmt_xmit::process_fem_last_word(), algo_xmit_decoder::process_header(), algo_slow_readout_decoder::process_header(), algo_fem_decoder_base::process_word(), bin_io_handler::read_multi_word(), storage_manager::reset(), beamgate_debugger::reset(), ana_processor::reset(), decoder_manager::run(), ana_processor::run(), decoder_base::set_verbosity(), algo_tpc_xmit::store_event(), and algo_pmt_xmit::store_event().
MSG::Level decoder_base::_verbosity_level [protected, inherited] |
holder for specified verbosity level
Definition at line 52 of file decoder_base.hh.
Referenced by pulse_viewer::analyze(), decoder_base::get_verbosity(), pulse_viewer::initialize(), decoder_manager::initialize(), ana_processor::initialize(), bin_io_handler::read_multi_word(), bin_io_handler::read_word(), and decoder_base::set_verbosity().
1.4.7