#include <JRunHistograms.hh>
|
| SummaryHistograms () |
|
void | initialize (std::set< int > &du_ids, int modules_per_string, JFrameIndexRange &frame_index_range) |
|
void | init_h_frame_index_check (int n_frames) |
|
void | init_h_fifo (int n_frames, int first_frame, int last_frame) |
|
void | init_h_daq_status (int n_frames, int first_frame, int last_frame) |
|
void | init_h_hrv (int n_frames, int first_frame, int last_frame) |
|
void | init_h_fifo_per_dom (std::set< int > &du_ids, int modules_per_string) |
|
void | init_h_daq_status_per_dom (std::set< int > &du_ids, int modules_per_string) |
|
void | init_h_hrv_per_dom (set< int > &du_ids, int modules_per_string) |
|
void | init_h_rate_summary (set< int > &du_ids, int modules_per_string) |
|
void | init_h_pmt_rate_distribution () |
|
void | init_m_mean_summary_rate (int modules_per_string) |
|
void | init_m_summary_rate_vs_time (int n_frames, double first_frame, double last_frame) |
|
void | init_m_summary_rate_distribution () |
|
void | init_m_fifo_full (int n_frames, double first_frame, double last_frame) |
|
void | init_m_hrv (int n_frames, double first_frame, double last_frame) |
|
void | init_m_module_rates_vs_time (int n_frames, double min_time, double max_time) |
|
void | init_h_rate (int n_frames, int first_frame, int last_frame) |
|
Definition at line 91 of file JRunHistograms.hh.
◆ SummaryHistograms()
SummaryHistograms::SummaryHistograms |
( |
| ) |
|
|
inline |
◆ initialize()
void SummaryHistograms::initialize |
( |
std::set< int > & |
du_ids, |
|
|
int |
modules_per_string, |
|
|
JFrameIndexRange & |
frame_index_range |
|
) |
| |
|
inline |
Definition at line 188 of file JRunHistograms.hh.
190 int first_frame = frame_index_range.
first ;
192 int last_frame = frame_index_range.
second ;
194 int n_frames = last_frame - first_frame + 1 ;
198 double min_time = -0.5 * frame_time_s ;
200 double max_time = (frame_index_range.
second - frame_index_range.
first + 0.5 ) * frame_time_s ;
202 init_h_fifo (n_frames , first_frame , last_frame) ;
210 init_h_hrv (n_frames , first_frame , last_frame) ;
240 init_h_rate (n_frames , first_frame , last_frame) ;
◆ init_h_frame_index_check()
void SummaryHistograms::init_h_frame_index_check |
( |
int |
n_frames | ) |
|
|
inline |
◆ init_h_fifo()
void SummaryHistograms::init_h_fifo |
( |
int |
n_frames, |
|
|
int |
first_frame, |
|
|
int |
last_frame |
|
) |
| |
|
inline |
Definition at line 268 of file JRunHistograms.hh.
272 string title =
MAKE_STRING (
"FIFO status ; slice number ; Average number of PMTs per module with FIFO almost full") ;
274 h_fifo =
new TH1D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ) ;
◆ init_h_daq_status()
void SummaryHistograms::init_h_daq_status |
( |
int |
n_frames, |
|
|
int |
first_frame, |
|
|
int |
last_frame |
|
) |
| |
|
inline |
Definition at line 298 of file JRunHistograms.hh.
302 string title =
MAKE_STRING (
"DAQ status ; slice number ; Number of DOMS with wrong DAQ status of packets") ;
304 h_daq_status =
new TH1D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ) ;
◆ init_h_hrv()
void SummaryHistograms::init_h_hrv |
( |
int |
n_frames, |
|
|
int |
first_frame, |
|
|
int |
last_frame |
|
) |
| |
|
inline |
Definition at line 328 of file JRunHistograms.hh.
332 string title =
MAKE_STRING (
"High Rate Veto ; slice number ; Average number of PMTs per module in HRV regime") ;
334 h_hrv =
new TH1D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ) ;
◆ init_h_fifo_per_dom()
void SummaryHistograms::init_h_fifo_per_dom |
( |
std::set< int > & |
du_ids, |
|
|
int |
modules_per_string |
|
) |
| |
|
inline |
Definition at line 383 of file JRunHistograms.hh.
387 string title =
MAKE_STRING (
" FIFO ; String ; Floor ; Number of slices with FIFO almost full ") ;
389 h_fifo_per_dom =
new TH2D (name.c_str() , title.c_str() , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 , modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
◆ init_h_daq_status_per_dom()
void SummaryHistograms::init_h_daq_status_per_dom |
( |
std::set< int > & |
du_ids, |
|
|
int |
modules_per_string |
|
) |
| |
|
inline |
Definition at line 399 of file JRunHistograms.hh.
401 string name =
MAKE_STRING (
"h_daq_status_per_dom") ;
403 string title =
MAKE_STRING (
" DAQ Status ; String ; Floor ; Number of slices with wrong DAQ status of packets ") ;
405 h_daq_status_per_dom =
new TH2D (name.c_str() , title.c_str() , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 , modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
◆ init_h_hrv_per_dom()
void SummaryHistograms::init_h_hrv_per_dom |
( |
set< int > & |
du_ids, |
|
|
int |
modules_per_string |
|
) |
| |
|
inline |
Definition at line 415 of file JRunHistograms.hh.
419 string title =
MAKE_STRING (
" HRV ; String ; Floor ; Number of slices with at least 1 PMT in HRV ") ;
421 h_hrv_per_dom =
new TH2D (name.c_str() , title.c_str() , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 , modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
◆ init_h_rate_summary()
void SummaryHistograms::init_h_rate_summary |
( |
set< int > & |
du_ids, |
|
|
int |
modules_per_string |
|
) |
| |
|
inline |
Definition at line 431 of file JRunHistograms.hh.
435 string title =
MAKE_STRING (
" Summary slices ; String ; Floor ; Mean rate over all summary slices [kHz] ") ;
437 h_rate_summary =
new TH2D (name.c_str() , title.c_str() , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 , modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
◆ init_h_pmt_rate_distribution()
void SummaryHistograms::init_h_pmt_rate_distribution |
( |
| ) |
|
|
inline |
Definition at line 444 of file JRunHistograms.hh.
446 string name =
MAKE_STRING (
"h_pmt_rate_distribution") ;
448 string title =
MAKE_STRING (
" PMT rate distribution from summary slices ; rate [kHz] ; Counts ") ;
◆ init_m_mean_summary_rate()
void SummaryHistograms::init_m_mean_summary_rate |
( |
int |
modules_per_string | ) |
|
|
inline |
◆ init_m_summary_rate_vs_time()
void SummaryHistograms::init_m_summary_rate_vs_time |
( |
int |
n_frames, |
|
|
double |
first_frame, |
|
|
double |
last_frame |
|
) |
| |
|
inline |
◆ init_m_summary_rate_distribution()
void SummaryHistograms::init_m_summary_rate_distribution |
( |
| ) |
|
|
inline |
Definition at line 496 of file JRunHistograms.hh.
498 string name =
MAKE_STRING (
"%/h_pmt_rate_distributions_Summaryslice") ;
500 string title =
MAKE_STRING (
"Summaryslice ; rate [kHz] ; TDC channel ; counts ") ;
502 TH2D* h_summary_rate_distribution =
new TH2D (name.c_str() , title.c_str() ,
503 40 , 0 , log10(1000),
506 BinLogX (h_summary_rate_distribution) ;
◆ init_m_fifo_full()
void SummaryHistograms::init_m_fifo_full |
( |
int |
n_frames, |
|
|
double |
first_frame, |
|
|
double |
last_frame |
|
) |
| |
|
inline |
◆ init_m_hrv()
void SummaryHistograms::init_m_hrv |
( |
int |
n_frames, |
|
|
double |
first_frame, |
|
|
double |
last_frame |
|
) |
| |
|
inline |
◆ init_m_module_rates_vs_time()
void SummaryHistograms::init_m_module_rates_vs_time |
( |
int |
n_frames, |
|
|
double |
min_time, |
|
|
double |
max_time |
|
) |
| |
|
inline |
Definition at line 559 of file JRunHistograms.hh.
561 string name =
MAKE_STRING (
"%/h_module_rate_vs_time_Summaryslice") ;
563 string title =
MAKE_STRING (
"Summaryslice ; time since run start [s] ; rate [Hz]" ) ;
◆ init_h_rate()
void SummaryHistograms::init_h_rate |
( |
int |
n_frames, |
|
|
int |
first_frame, |
|
|
int |
last_frame |
|
) |
| |
|
inline |
Definition at line 578 of file JRunHistograms.hh.
580 string name =
MAKE_STRING (
"h_rate_Summaryslice") ;
582 string title =
MAKE_STRING (
"Average module rate (Summaryslice) ; slice number ; rate [Hz]") ;
584 h_rate =
new TProfile ( name.c_str() , title.c_str() , int(n_frames/600) , -0.5 , last_frame - first_frame + 0.5 ) ;
◆ h_fifo
TH1D* SummaryHistograms::h_fifo |
◆ h_mean_fifo
TH1D* SummaryHistograms::h_mean_fifo |
◆ h_daq_status
TH1D* SummaryHistograms::h_daq_status |
◆ h_frame_index_check
TH1D* SummaryHistograms::h_frame_index_check |
◆ h_hrv
TH1D* SummaryHistograms::h_hrv |
◆ h_fifo_per_dom
TH2D* SummaryHistograms::h_fifo_per_dom |
◆ h_daq_status_per_dom
TH2D* SummaryHistograms::h_daq_status_per_dom |
◆ h_hrv_per_dom
TH2D* SummaryHistograms::h_hrv_per_dom |
◆ h_rate_summary
TH2D* SummaryHistograms::h_rate_summary |
◆ h_pmt_rate_distribution
TH1D* SummaryHistograms::h_pmt_rate_distribution |
◆ m_mean_summary_rate
JManager< string , TH2D >* SummaryHistograms::m_mean_summary_rate |
◆ m_summary_rate_vs_time
JManager< string , TProfile2D >* SummaryHistograms::m_summary_rate_vs_time |
◆ m_summary_rate_distribution
JManager< string , TH2D >* SummaryHistograms::m_summary_rate_distribution |
◆ m_fifo_full
JManager< string , TProfile2D >* SummaryHistograms::m_fifo_full |
◆ m_hrv
JManager< string , TProfile2D >* SummaryHistograms::m_hrv |
◆ m_module_rates_vs_time
JManager< string , TProfile >* SummaryHistograms::m_module_rates_vs_time |
◆ h_rate
TProfile* SummaryHistograms::h_rate |
The documentation for this struct was generated from the following file:
void init_m_module_rates_vs_time(int n_frames, double min_time, double max_time)
void init_m_fifo_full(int n_frames, double first_frame, double last_frame)
void init_m_hrv(int n_frames, double first_frame, double last_frame)
void init_m_summary_rate_vs_time(int n_frames, double first_frame, double last_frame)
void init_h_fifo(int n_frames, int first_frame, int last_frame)
void init_h_daq_status_per_dom(std::set< int > &du_ids, int modules_per_string)
TH1D * h_frame_index_check
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
void init_h_rate(int n_frames, int first_frame, int last_frame)
TH1D * h_pmt_rate_distribution
#define MAKE_STRING(A)
Make string.
void init_h_hrv_per_dom(set< int > &du_ids, int modules_per_string)
TH2D * h_daq_status_per_dom
void init_h_fifo_per_dom(std::set< int > &du_ids, int modules_per_string)
void init_h_daq_status(int n_frames, int first_frame, int last_frame)
double getFrameTime()
Get frame time duration.
JManager< string, TProfile2D > * m_hrv
JManager< string, TH2D > * m_mean_summary_rate
void init_h_hrv(int n_frames, int first_frame, int last_frame)
void init_m_mean_summary_rate(int modules_per_string)
void init_m_summary_rate_distribution()
void init_h_pmt_rate_distribution()
JManager< string, TProfile2D > * m_summary_rate_vs_time
JManager< string, TH2D > * m_summary_rate_distribution
JManager< string, TProfile2D > * m_fifo_full
JManager< string, TProfile > * m_module_rates_vs_time
void init_h_rate_summary(set< int > &du_ids, int modules_per_string)