#include <JRunHistograms.hh>
 | 
|   | TriggerHistograms () | 
|   | 
| void  | initialize (std::set< int > &du_ids, JFrameIndexRange &frame_index_range, int modules_per_string) | 
|   | 
| void  | init_h_Trigger_bit_event () | 
|   | 
| void  | init_h_Trigger_bit_hit () | 
|   | 
| void  | init_h_Snapshot_hits () | 
|   | 
| void  | init_h_Triggered_hits () | 
|   | 
| void  | init_h_Snapshot_hits_per_module (int modules_per_string, std::set< int > &du_ids) | 
|   | 
| void  | init_h_Triggered_hits_per_module (int modules_per_string, std::set< int > &du_ids) | 
|   | 
| void  | init_h_Trigger_map (int modules_per_string, int n_frames, int first_frame, int last_frame) | 
|   | 
| void  | init_m_trigger_rates (int first_frame, int last_frame, int seconds_per_bin=30) | 
|   | 
| void  | init_m_Snapshot_hits_per_pmt (int modules_per_string) | 
|   | 
| void  | init_m_Trigger_map (int modules_per_string, int n_frames, int first_frame, int last_frame) | 
|   | 
| void  | init_h_pmt_distribution_triggered_hits () | 
|   | 
| void  | init_h_tot_distribution_triggered_hits () | 
|   | 
| void  | init_h_pmt_distribution_snapshot_hits () | 
|   | 
| void  | init_h_tot_distribution_snapshot_hits () | 
|   | 
| void  | init_h_n_triggered_hits_distribution (int n_pmts) | 
|   | 
Definition at line 1097 of file JRunHistograms.hh.
 
◆ TriggerHistograms()
  
  
      
        
          | TriggerHistograms::TriggerHistograms  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ initialize()
  
  
      
        
          | void TriggerHistograms::initialize  | 
          ( | 
          std::set< int > &  | 
          du_ids,  | 
         
        
           | 
           | 
          JFrameIndexRange &  | 
          frame_index_range,  | 
         
        
           | 
           | 
          int  | 
          modules_per_string  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1176 of file JRunHistograms.hh.
 1178     int first_frame = frame_index_range.
first ;
 
 1180     int last_frame = frame_index_range.
second ;
 
 1182     int n_frames = last_frame - first_frame + 1 ;
 
 1184     int n_pmts = du_ids.size() * modules_per_string * 
NUMBER_OF_PMTS ;
 
 
 
 
◆ init_h_Trigger_bit_event()
  
  
      
        
          | void TriggerHistograms::init_h_Trigger_bit_event  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1221 of file JRunHistograms.hh.
 1223     string name = 
MAKE_STRING (
"h_Trigger_bit_event") ;
 
 1225     string title = 
MAKE_STRING (
"Number of events as a function of trigger bit in event ; Trigger Bit ; Counts ") ;
 
 
 
 
◆ init_h_Trigger_bit_hit()
  
  
      
        
          | void TriggerHistograms::init_h_Trigger_bit_hit  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1250 of file JRunHistograms.hh.
 1254     string title = 
MAKE_STRING (
"Number of hits per event as a function of trigger bit in hit ; Trigger Bit ; #Events ") ;
 
 
 
 
◆ init_h_Snapshot_hits()
  
  
      
        
          | void TriggerHistograms::init_h_Snapshot_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_Triggered_hits()
  
  
      
        
          | void TriggerHistograms::init_h_Triggered_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_Snapshot_hits_per_module()
  
  
      
        
          | void TriggerHistograms::init_h_Snapshot_hits_per_module  | 
          ( | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          std::set< int > &  | 
          du_ids  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1311 of file JRunHistograms.hh.
 1313     string name = 
MAKE_STRING (
"h_Snapshot_hits_per_module") ;
 
 1315     string title = 
MAKE_STRING (
" ; String ; Floor ; Number of snapshot hits ") ;
 
 1318                                            *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 ,
 
 1319                                            modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
 
 
 
 
◆ init_h_Triggered_hits_per_module()
  
  
      
        
          | void TriggerHistograms::init_h_Triggered_hits_per_module  | 
          ( | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          std::set< int > &  | 
          du_ids  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1328 of file JRunHistograms.hh.
 1330     string name = 
MAKE_STRING (
"h_Triggered_hits_per_module") ;
 
 1332     string title = 
MAKE_STRING (
" ; String ; Floor ; Number of triggered hits ") ;
 
 1335                                            *du_ids.rbegin() , 0.5 , *du_ids.rbegin() + 0.5 ,
 
 1336                                            modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
 
 
 
 
◆ init_h_Trigger_map()
  
  
      
        
          | void TriggerHistograms::init_h_Trigger_map  | 
          ( | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1347 of file JRunHistograms.hh.
 1351     string title = 
MAKE_STRING (
" ; Frame index ; DOM ; Number of triggered hits ") ;
 
 1353     h_Trigger_map = 
new TH2D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ,
 
 1354                               modules_per_string , 0.5 , modules_per_string + 0.5 ) ;
 
 
 
 
◆ init_m_trigger_rates()
  
  
      
        
          | void TriggerHistograms::init_m_trigger_rates  | 
          ( | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame,  | 
         
        
           | 
           | 
          int  | 
          seconds_per_bin = 30  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1365 of file JRunHistograms.hh.
 1367     int frames_per_bin = seconds_per_bin / 
getFrameTime() / 1e-9 ;
 
 1369     int n_bins = (last_frame - first_frame) / frames_per_bin ;
 
 1371     string title = 
MAKE_STRING (
" ; Frame Index ; rate [Hz] ") ;
 
 
 
 
◆ init_m_Snapshot_hits_per_pmt()
  
  
      
        
          | void TriggerHistograms::init_m_Snapshot_hits_per_pmt  | 
          ( | 
          int  | 
          modules_per_string | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1382 of file JRunHistograms.hh.
 1384     string name = 
MAKE_STRING (
"%/h_Snapshot_hits_per_pmt") ;
 
 1386     string title = 
MAKE_STRING (
" ; PMT ; Floor ; Number of snapshot hits ") ;
 
 1389                                                                          modules_per_string , 0.5 , modules_per_string + 0.5 ) ) ;
 
 
 
 
◆ init_m_Trigger_map()
  
  
      
        
          | void TriggerHistograms::init_m_Trigger_map  | 
          ( | 
          int  | 
          modules_per_string,  | 
         
        
           | 
           | 
          int  | 
          n_frames,  | 
         
        
           | 
           | 
          int  | 
          first_frame,  | 
         
        
           | 
           | 
          int  | 
          last_frame  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Definition at line 1400 of file JRunHistograms.hh.
 1404     string title = 
MAKE_STRING (
" ; Frame index ; DOM ; Mean number of triggered hits per event") ;
 
 1407                                                                modules_per_string , 0.5 , modules_per_string + 0.5)) ;
 
 
 
 
◆ init_h_pmt_distribution_triggered_hits()
  
  
      
        
          | void TriggerHistograms::init_h_pmt_distribution_triggered_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_tot_distribution_triggered_hits()
  
  
      
        
          | void TriggerHistograms::init_h_tot_distribution_triggered_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_pmt_distribution_snapshot_hits()
  
  
      
        
          | void TriggerHistograms::init_h_pmt_distribution_snapshot_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_tot_distribution_snapshot_hits()
  
  
      
        
          | void TriggerHistograms::init_h_tot_distribution_snapshot_hits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_h_n_triggered_hits_distribution()
  
  
      
        
          | void TriggerHistograms::init_h_n_triggered_hits_distribution  | 
          ( | 
          int  | 
          n_pmts | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ h_Trigger_bit_event
      
        
          | TH1D* TriggerHistograms::h_Trigger_bit_event | 
        
      
 
 
◆ h_Trigger_bit_hit
      
        
          | TH1D* TriggerHistograms::h_Trigger_bit_hit | 
        
      
 
 
◆ h_Snapshot_hits
      
        
          | TH1D* TriggerHistograms::h_Snapshot_hits | 
        
      
 
 
◆ h_Triggered_hits
      
        
          | TH1D* TriggerHistograms::h_Triggered_hits | 
        
      
 
 
◆ h_Snapshot_hits_per_module
      
        
          | TH2D* TriggerHistograms::h_Snapshot_hits_per_module | 
        
      
 
 
◆ h_Triggered_hits_per_module
      
        
          | TH2D* TriggerHistograms::h_Triggered_hits_per_module | 
        
      
 
 
◆ h_Trigger_map
      
        
          | TH2D* TriggerHistograms::h_Trigger_map | 
        
      
 
 
◆ m_trigger_rates
      
        
          | JManager< string , TH1D >* TriggerHistograms::m_trigger_rates | 
        
      
 
 
◆ m_Snapshot_hits_per_pmt
      
        
          | JManager< string , TH2D >* TriggerHistograms::m_Snapshot_hits_per_pmt | 
        
      
 
 
◆ m_Trigger_map
      
        
          | JManager< string , TH2D >* TriggerHistograms::m_Trigger_map | 
        
      
 
 
◆ h_pmt_distribution_triggered_hits
      
        
          | TH1D* TriggerHistograms::h_pmt_distribution_triggered_hits | 
        
      
 
 
◆ h_tot_distribution_triggered_hits
      
        
          | TH1D* TriggerHistograms::h_tot_distribution_triggered_hits | 
        
      
 
 
◆ h_pmt_distribution_snapshot_hits
      
        
          | TH1D* TriggerHistograms::h_pmt_distribution_snapshot_hits | 
        
      
 
 
◆ h_tot_distribution_snapshot_hits
      
        
          | TH1D* TriggerHistograms::h_tot_distribution_snapshot_hits | 
        
      
 
 
◆ h_n_triggered_hits_distribution
      
        
          | TH1D* TriggerHistograms::h_n_triggered_hits_distribution | 
        
      
 
 
The documentation for this struct was generated from the following file:
 
void init_h_Snapshot_hits_per_module(int modules_per_string, std::set< int > &du_ids)
 
JManager< string, TH2D > * m_Snapshot_hits_per_pmt
 
TH2D * h_Snapshot_hits_per_module
 
void init_h_Triggered_hits_per_module(int modules_per_string, std::set< int > &du_ids)
 
void init_m_Trigger_map(int modules_per_string, int n_frames, int first_frame, int last_frame)
 
TH1D * h_pmt_distribution_triggered_hits
 
void init_h_pmt_distribution_triggered_hits()
 
void init_h_tot_distribution_triggered_hits()
 
TH1D * h_Trigger_bit_event
 
void init_h_tot_distribution_snapshot_hits()
 
TH1D * h_n_triggered_hits_distribution
 
void init_h_Trigger_map(int modules_per_string, int n_frames, int first_frame, int last_frame)
 
TH1D * h_pmt_distribution_snapshot_hits
 
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
 
#define MAKE_STRING(A)
Make string.
 
static const unsigned int NUMBER_OF_TRIGGER_BITS
Number of trigger bits.
 
JManager< string, TH1D > * m_trigger_rates
 
double getFrameTime()
Get frame time duration.
 
TH1D * h_tot_distribution_triggered_hits
 
void init_h_Trigger_bit_event()
 
TH1D * h_tot_distribution_snapshot_hits
 
void init_h_Trigger_bit_hit()
 
void init_h_n_triggered_hits_distribution(int n_pmts)
 
TH2D * h_Triggered_hits_per_module
 
JManager< string, TH2D > * m_Trigger_map
 
void init_h_Snapshot_hits()
 
const char * getTriggerName(JTriggerbit_t bit)
Get trigger name.
 
void init_h_Triggered_hits()
 
void init_m_Snapshot_hits_per_pmt(int modules_per_string)
 
void init_h_pmt_distribution_snapshot_hits()
 
void init_m_trigger_rates(int first_frame, int last_frame, int seconds_per_bin=30)