#include <JRunHistograms.hh>
 | 
|   | TimesliceHistograms () | 
|   | 
| void  | initialize (std::set< int > du_ids, int modules_per_string, JFrameIndexRange &frame_index_range, int ts_type, std::string ts_name) | 
|   | 
| void  | Fill_mean_ToT_histograms () | 
|   | 
| void  | init_h_slice_starting_time (int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name) | 
|   | 
| void  | init_h_rate (int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name) | 
|   | 
| void  | init_h_active_modules (int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name) | 
|   | 
| void  | init_h_du_active_modules (int ts_type, std::set< int > du_ids, int n_frames, int first_frame, int last_frame, std::string ts_name) | 
|   | 
| void  | init_h_dom_mean_rates (int ts_type, std::set< int > du_ids, int modules_per_string, std::string ts_name) | 
|   | 
| void  | init_h_ToT_255_vs_time (int ts_type, string ts_name) | 
|   | 
| void  | init_h_ToT_255_Floor_vs_time (int ts_type, int modules_per_string, string ts_name) | 
|   | 
| void  | init_h_ToT_255_Floor_vs_time_2 (int ts_type, int modules_per_string, string ts_name) | 
|   | 
| void  | init_m_mean_ToT (int ts_type, int modules_per_string, string ts_name) | 
|   | 
| void  | init_m_ToT_255 (int ts_type, int modules_per_string, string ts_name) | 
|   | 
| void  | init_m_module_rates_vs_time (int ts_type, int n_frames, double min_time, double max_time, string ts_name) | 
|   | 
| void  | init_m_pmt_tot_distributions (int ts_type, string ts_name) | 
|   | 
| void  | init_m_pmt_rate_distributions (int ts_type, string ts_name) | 
|   | 
| void  | init_m_pmt_tot_vs_time (int ts_type, int n_frames, double min_time, double max_time, string ts_name) | 
|   | 
| void  | init_m_pmt_rates_vs_time (int ts_type, int n_frames, double min_time, double max_time, string ts_name) | 
|   | 
| void  | init_m_pmt_dt_consecutive_hits (int ts_type, string ts_name) | 
|   | 
Definition at line 590 of file JRunHistograms.hh.
 
◆ TimesliceHistograms()
  
  
      
        
          | TimesliceHistograms::TimesliceHistograms  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ initialize()
  
  
      
        
          | void TimesliceHistograms::initialize  | 
          ( | 
          std::set< int >  | 
          du_ids,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          JFrameIndexRange &  | 
          frame_index_range,  | 
         
        
           | 
           | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 709 of file JRunHistograms.hh.
  711     int first_frame = frame_index_range.
first ;
 
  713     int last_frame = frame_index_range.
second ;
 
  715     int n_frames = last_frame - first_frame + 1 ;
 
  719     double min_time = -0.5 * frame_time_s ;
 
  721     double max_time = (frame_index_range.
second - frame_index_range.
first + 0.5 ) * frame_time_s ;
 
  725     init_h_rate (ts_type , n_frames , first_frame , last_frame , ts_name) ;
 
 
 
 
◆ Fill_mean_ToT_histograms()
  
  
      
        
          | void TimesliceHistograms::Fill_mean_ToT_histograms  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 764 of file JRunHistograms.hh.
  776           TPRegexp 
r (
"(\\w+)/(\\DU)(\\d+)/(F)(\\d+)") ;
 
  778           TObjArray* o = 
r.MatchS(s) ;
 
  780           int String = ((TObjString *)o->At(3))->GetString().Atoi();
 
  782           int Floor = ((TObjString *)o->At(5))->GetString().Atoi();
 
  784           for (
int pmt = 1 ; pmt <= (
j -> second) -> GetYaxis() -> GetNbins() ; pmt++){
 
  786             (*
m_mean_ToT[i])[
MAKE_STRING(
"Detector/DU" + 
to_string(
String))] -> Fill(Floor , (
j->second) -> GetYaxis() -> GetBinCenter(pmt) , (
j -> second) -> ProjectionX (
"" , pmt , pmt) -> GetMean () ) ;
 
 
 
 
◆ init_h_slice_starting_time()
  
  
      
        
          | void TimesliceHistograms::init_h_slice_starting_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 807 of file JRunHistograms.hh.
  809     string name = 
MAKE_STRING (
"h_slice_starting_time_" + ts_name ) ;
 
  811     string title = 
MAKE_STRING (
"Slice Starting Time (" + ts_name + 
"); slice number ; time since first slice [s]") ;
 
  813     h_slice_start_time[ts_type] = 
new TH1D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ) ;
 
 
 
 
◆ init_h_rate()
  
  
      
        
          | void TimesliceHistograms::init_h_rate  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 826 of file JRunHistograms.hh.
  830     string title = 
MAKE_STRING (
"Average module rate ("+ts_name+
") ; slice number ; rate [Hz]") ;
 
  832     h_rate[ts_type] = 
new TProfile ( name.c_str() , title.c_str() , int(n_frames/600) , -0.5 , last_frame - first_frame + 0.5 ) ;
 
 
 
 
◆ init_h_active_modules()
  
  
      
        
          | void TimesliceHistograms::init_h_active_modules  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 845 of file JRunHistograms.hh.
  847     string name = 
MAKE_STRING (
"h_active_DOMS_" + ts_name) ;
 
  849     string title = 
MAKE_STRING (
" Active modules (" + ts_name + 
"); slice number ; fraction of active modules") ;
 
  851     h_active_modules[ts_type] = 
new TProfile ( name.c_str() , title.c_str() , int(n_frames/600) , -0.5 , last_frame - first_frame + 0.5 ) ;
 
 
 
 
◆ init_h_du_active_modules()
  
  
      
        
          | void TimesliceHistograms::init_h_du_active_modules  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          std::set< int >  | 
          du_ids,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 865 of file JRunHistograms.hh.
  867     string name = 
MAKE_STRING (
"h_du_active_DOMS_" + ts_name) ;
 
  869     string title = 
MAKE_STRING (
"Active modules in DU (" + ts_name + 
"); slice number ; DU number ; number of active modules") ;
 
  871     h_du_active_modules[ts_type] = 
new TProfile2D (name.c_str() , title.c_str() , int(n_frames/600) , -0.5 , last_frame - first_frame + 0.5 , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 ) ;
 
 
 
 
◆ init_h_dom_mean_rates()
  
  
      
        
          | void TimesliceHistograms::init_h_dom_mean_rates  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          std::set< int >  | 
          du_ids,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          std::string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 882 of file JRunHistograms.hh.
  884     string name = 
MAKE_STRING (
"h_mean_dom_rates_" + ts_name) ;
 
  886     string title = 
MAKE_STRING (ts_name + 
" ; Floor number ; DU number ; time slice averaged rate [Hz]") ;
 
  888     h_dom_mean_rates[ts_type] = 
new TH2D (name.c_str() , title.c_str() , *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 , modules_per_string , 0.5 , 0.5 + modules_per_string) ;
 
 
 
 
◆ init_h_ToT_255_vs_time()
  
  
      
        
          | void TimesliceHistograms::init_h_ToT_255_vs_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 898 of file JRunHistograms.hh.
  900     string name = 
MAKE_STRING (
"h_ToT_255_vs_time_" + ts_name) ;
 
  902     string title = 
MAKE_STRING (
" (" + ts_name + 
") Hits with ToT = 255 ns. All PMTs, all timeslices ; Time since beginning of slice [ns] ; counts ") ;
 
 
 
 
◆ init_h_ToT_255_Floor_vs_time()
  
  
      
        
          | void TimesliceHistograms::init_h_ToT_255_Floor_vs_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 917 of file JRunHistograms.hh.
  919     string name = 
MAKE_STRING (
"h_ToT_255_Floor_vs_time_" + ts_name) ;
 
  921     string title = 
MAKE_STRING (
" (" + ts_name + 
") Hits with ToT = 255 ns. All DUs , all timeslices ; Time since beginning of slice [ns] ; Floor number ; counts ") ;
 
 
 
 
◆ init_h_ToT_255_Floor_vs_time_2()
  
  
      
        
          | void TimesliceHistograms::init_h_ToT_255_Floor_vs_time_2  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 936 of file JRunHistograms.hh.
  938     string name = 
MAKE_STRING (
"h_ToT_255_Floor_vs_time_2_" + ts_name) ;
 
  940     string title = 
MAKE_STRING (
" (" + ts_name + 
") Hits with ToT = 255 ns. All DUs , all timeslices ; Time since beginning of slice [ns] ; Floor number ; counts ") ;
 
 
 
 
◆ init_m_mean_ToT()
  
  
      
        
          | void TimesliceHistograms::init_m_mean_ToT  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 953 of file JRunHistograms.hh.
  955     string name = 
MAKE_STRING (
"%/h_mean_ToT_" + ts_name) ;
 
  957     string title = 
MAKE_STRING (ts_name + 
" ; Floor number ; TDC channel ; mean ToT over all timeslices [ns] ") ;
 
 
 
 
◆ init_m_ToT_255()
  
  
      
        
          | void TimesliceHistograms::init_m_ToT_255  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 970 of file JRunHistograms.hh.
  972     string name = 
MAKE_STRING (
"%/h_ToT_255_" + ts_name) ;
 
  974     string title = 
MAKE_STRING (ts_name + 
" ; Floor number ; TDC channel ; number of hits with ToT = 255 ns ") ;
 
 
 
 
◆ init_m_module_rates_vs_time()
  
  
      
        
          | void TimesliceHistograms::init_m_module_rates_vs_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          double  | 
          min_time,  | 
         
        
           | 
           | 
          double  | 
          max_time,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 988 of file JRunHistograms.hh.
  990     string name = 
MAKE_STRING ( 
"%/h_module_rate_vs_time_" + ts_name ) ;
 
  992     string title = 
MAKE_STRING (ts_name + 
" ; time since run start [s] ; rate [Hz]" ) ;
 
 
 
 
◆ init_m_pmt_tot_distributions()
  
  
      
        
          | void TimesliceHistograms::init_m_pmt_tot_distributions  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_m_pmt_rate_distributions()
  
  
      
        
          | void TimesliceHistograms::init_m_pmt_rate_distributions  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1022 of file JRunHistograms.hh.
 1024       string name = 
MAKE_STRING (
"%/h_pmt_rate_distributions_" + ts_name) ;
 
 1026       string title = 
MAKE_STRING (ts_name + 
" ; rate [kHz] ; TDC channel ; counts ") ;    
 
 1028       TH2D* h_pmt_rate_distributions = 
new TH2D (name.c_str() , title.c_str() ,
 
 1029                                            60 , -6 , log10(20),
 
 1032       BinLogX (h_pmt_rate_distributions) ;
 
 
 
 
◆ init_m_pmt_tot_vs_time()
  
  
      
        
          | void TimesliceHistograms::init_m_pmt_tot_vs_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          double  | 
          min_time,  | 
         
        
           | 
           | 
          double  | 
          max_time,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_m_pmt_rates_vs_time()
  
  
      
        
          | void TimesliceHistograms::init_m_pmt_rates_vs_time  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          double  | 
          min_time,  | 
         
        
           | 
           | 
          double  | 
          max_time,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1066 of file JRunHistograms.hh.
 1068     string name = 
MAKE_STRING ( 
"%/h_rate_vs_time_" + ts_name ) ;
 
 1070     string title = 
MAKE_STRING (ts_name + 
" ; time since run start [s] ; TDC channel ; rate [Hz]") ;
 
 
 
 
◆ init_m_pmt_dt_consecutive_hits()
  
  
      
        
          | void TimesliceHistograms::init_m_pmt_dt_consecutive_hits  | 
          ( | 
          int  | 
          ts_type,  | 
         
        
           | 
           | 
          string  | 
          ts_name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ min_ToT
      
        
          | int TimesliceHistograms::min_ToT | 
        
      
 
 
◆ max_ToT
      
        
          | int TimesliceHistograms::max_ToT | 
        
      
 
 
◆ min_logdt
      
        
          | int TimesliceHistograms::min_logdt | 
        
      
 
 
◆ max_logdt
      
        
          | int TimesliceHistograms::max_logdt | 
        
      
 
 
◆ nbins_logdt
      
        
          | int TimesliceHistograms::nbins_logdt | 
        
      
 
 
◆ nbins_time
      
        
          | int TimesliceHistograms::nbins_time | 
        
      
 
 
◆ h_slice_start_time
      
        
          | vector< TH1D* > TimesliceHistograms::h_slice_start_time | 
        
      
 
 
◆ h_rate
      
        
          | vector< TProfile* > TimesliceHistograms::h_rate | 
        
      
 
 
◆ h_active_modules
      
        
          | vector< TProfile* > TimesliceHistograms::h_active_modules | 
        
      
 
 
◆ h_du_active_modules
      
        
          | vector< TProfile2D* > TimesliceHistograms::h_du_active_modules | 
        
      
 
 
◆ h_dom_mean_rates
      
        
          | vector< TH2D* > TimesliceHistograms::h_dom_mean_rates | 
        
      
 
 
◆ h_ToT_255_vs_time
      
        
          | vector< TH1D* > TimesliceHistograms::h_ToT_255_vs_time | 
        
      
 
 
◆ h_ToT_255_Floor_vs_time
      
        
          | vector< TH2D* > TimesliceHistograms::h_ToT_255_Floor_vs_time | 
        
      
 
 
◆ h_ToT_255_Floor_vs_time_2
      
        
          | vector< TH2D* > TimesliceHistograms::h_ToT_255_Floor_vs_time_2 | 
        
      
 
 
◆ m_mean_ToT
◆ m_ToT_255
◆ m_module_rates_vs_time
      
        
          | vector< JManager < string , TProfile >* > TimesliceHistograms::m_module_rates_vs_time | 
        
      
 
 
◆ m_pmt_tot_distributions
      
        
          | vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_tot_distributions | 
        
      
 
 
◆ m_pmt_rate_distributions
      
        
          | vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_rate_distributions | 
        
      
 
 
◆ m_pmt_tot_vs_time
      
        
          | vector< JManager < string , TProfile2D >* > TimesliceHistograms::m_pmt_tot_vs_time | 
        
      
 
 
◆ m_pmt_rates_vs_time
      
        
          | vector< JManager < string , TProfile2D >* > TimesliceHistograms::m_pmt_rates_vs_time | 
        
      
 
 
◆ m_pmt_dt_consecutive_hits
      
        
          | vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_dt_consecutive_hits | 
        
      
 
 
The documentation for this struct was generated from the following file:
 
void init_m_pmt_rates_vs_time(int ts_type, int n_frames, double min_time, double max_time, string ts_name)
 
void init_h_du_active_modules(int ts_type, std::set< int > du_ids, int n_frames, int first_frame, int last_frame, std::string ts_name)
 
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
 
void init_m_ToT_255(int ts_type, int modules_per_string, string ts_name)
 
void init_h_ToT_255_vs_time(int ts_type, string ts_name)
 
void init_h_dom_mean_rates(int ts_type, std::set< int > du_ids, int modules_per_string, std::string ts_name)
 
vector< JManager< string, TProfile2D > * > m_pmt_rates_vs_time
 
vector< TProfile2D * > h_du_active_modules
 
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
 
#define MAKE_STRING(A)
Make string.
 
void init_h_ToT_255_Floor_vs_time_2(int ts_type, int modules_per_string, string ts_name)
 
Auxiliary class to manage set of compatible ROOT objects (e.g.
 
void init_h_ToT_255_Floor_vs_time(int ts_type, int modules_per_string, string ts_name)
 
vector< TH2D * > h_ToT_255_Floor_vs_time
 
double getFrameTime()
Get frame time duration.
 
vector< JManager< string, TProfile2D > * > m_pmt_tot_vs_time
 
vector< JManager< string, TH2D > * > m_mean_ToT
 
std::string to_string(const T &value)
Convert value to string.
 
vector< TH1D * > h_ToT_255_vs_time
 
void init_m_mean_ToT(int ts_type, int modules_per_string, string ts_name)
 
void init_m_module_rates_vs_time(int ts_type, int n_frames, double min_time, double max_time, string ts_name)
 
void init_m_pmt_tot_distributions(int ts_type, string ts_name)
 
void init_h_rate(int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name)
 
void init_m_pmt_dt_consecutive_hits(int ts_type, string ts_name)
 
void init_m_pmt_rate_distributions(int ts_type, string ts_name)
 
vector< JManager< string, TH2D > * > m_ToT_255
 
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
 
void init_h_slice_starting_time(int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name)
 
vector< JManager< string, TH2D > * > m_pmt_dt_consecutive_hits
 
vector< TH2D * > h_dom_mean_rates
 
vector< TProfile * > h_rate
 
vector< TH1D * > h_slice_start_time
 
vector< TProfile * > h_active_modules
 
vector< JManager< string, TProfile > * > m_module_rates_vs_time
 
General purpose string class.
 
vector< TH2D * > h_ToT_255_Floor_vs_time_2
 
void init_m_pmt_tot_vs_time(int ts_type, int n_frames, double min_time, double max_time, string ts_name)
 
void init_h_active_modules(int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name)