Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
TimesliceHistograms Struct Reference

#include <JRunHistograms.hh>

Public Member Functions

 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)
 

Public Attributes

int min_ToT
 
int max_ToT
 
int min_logdt
 
int max_logdt
 
int nbins_logdt
 
int nbins_time
 
vector< TH1D * > h_slice_start_time
 
vector< TProfile * > h_rate
 
vector< TProfile * > h_active_modules
 
vector< TProfile2D * > h_du_active_modules
 
vector< TH2D * > h_dom_mean_rates
 
vector< TH1D * > h_ToT_255_vs_time
 
vector< TH2D * > h_ToT_255_Floor_vs_time
 
vector< TH2D * > h_ToT_255_Floor_vs_time_2
 
vector< JManager< string, TH2D > * > m_mean_ToT
 
vector< JManager< string, TH2D > * > m_ToT_255
 
vector< JManager< string,
TProfile > * > 
m_module_rates_vs_time
 
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
 
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
 
vector< JManager< string,
TProfile2D > * > 
m_pmt_tot_vs_time
 
vector< JManager< string,
TProfile2D > * > 
m_pmt_rates_vs_time
 
vector< JManager< string, TH2D > * > m_pmt_dt_consecutive_hits
 

Detailed Description

Definition at line 473 of file JRunHistograms.hh.

Constructor & Destructor Documentation

TimesliceHistograms::TimesliceHistograms ( )
inline

Definition at line 531 of file JRunHistograms.hh.

531  :
532 
533  min_ToT (0),
534 
535  max_ToT (255),
536 
537  min_logdt (0),
538 
539  max_logdt (9),
540 
541  nbins_logdt (150),
542 
543  nbins_time (200)
544 
545  {
546 
547  int number_of_timeslice_types = JLength<JDAQTimesliceTypes_t>::value ;
548 
549  h_slice_start_time.resize (number_of_timeslice_types , NULL) ;
550 
551  h_rate.resize (number_of_timeslice_types , NULL) ;
552 
553  h_active_modules.resize (number_of_timeslice_types , NULL) ;
554 
555  h_du_active_modules.resize (number_of_timeslice_types , NULL) ;
556 
557  h_dom_mean_rates.resize (number_of_timeslice_types , NULL) ;
558 
559  h_ToT_255_vs_time.resize (number_of_timeslice_types , NULL) ;
560 
561  h_ToT_255_Floor_vs_time.resize (number_of_timeslice_types , NULL) ;
562 
563  h_ToT_255_Floor_vs_time_2.resize (number_of_timeslice_types , NULL) ;
564 
565  m_mean_ToT.resize (number_of_timeslice_types , NULL) ;
566 
567  m_ToT_255.resize (number_of_timeslice_types , NULL) ;
568 
569  m_module_rates_vs_time.resize (number_of_timeslice_types , NULL) ;
570 
571  m_pmt_tot_distributions.resize (number_of_timeslice_types , NULL) ;
572 
573  m_pmt_rate_distributions.resize (number_of_timeslice_types , NULL) ;
574 
575  m_pmt_rates_vs_time.resize (number_of_timeslice_types , NULL) ;
576 
577  m_pmt_tot_vs_time.resize (number_of_timeslice_types , NULL) ;
578 
579  m_pmt_dt_consecutive_hits.resize (number_of_timeslice_types , NULL) ;
580 
581  }
vector< JManager< string, TH2D > * > m_ToT_255
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
vector< TH2D * > h_dom_mean_rates
vector< TH2D * > h_ToT_255_Floor_vs_time_2
Length of type list.
Definition: JTypeList.hh:176
vector< JManager< string, TProfile2D > * > m_pmt_rates_vs_time
vector< TProfile2D * > h_du_active_modules
vector< JManager< string, TProfile2D > * > m_pmt_tot_vs_time
vector< TH2D * > h_ToT_255_Floor_vs_time
vector< TProfile * > h_active_modules
vector< JManager< string, TH2D > * > m_mean_ToT
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
vector< JManager< string, TH2D > * > m_pmt_dt_consecutive_hits
vector< TH1D * > h_slice_start_time
vector< JManager< string, TProfile > * > m_module_rates_vs_time
vector< TH1D * > h_ToT_255_vs_time
vector< TProfile * > h_rate

Member Function Documentation

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 592 of file JRunHistograms.hh.

592  {
593 
594  int first_frame = frame_index_range.first ;
595 
596  int last_frame = frame_index_range.second ;
597 
598  int n_frames = last_frame - first_frame + 1 ;
599 
600  double frame_time_s = getFrameTime() * 1.0e-9 ;
601 
602  double min_time = -0.5 * frame_time_s ;
603 
604  double max_time = (frame_index_range.second - frame_index_range.first + 0.5 ) * frame_time_s ;
605 
606  init_h_slice_starting_time (ts_type , n_frames , first_frame , last_frame , ts_name) ;
607 
608  init_h_rate (ts_type , n_frames , first_frame , last_frame , ts_name) ;
609 
610  init_h_active_modules (ts_type , n_frames , first_frame , last_frame , ts_name) ;
611 
612  init_h_du_active_modules (ts_type , du_ids , n_frames , first_frame , last_frame , ts_name) ;
613 
614  init_h_dom_mean_rates (ts_type , du_ids , modules_per_string , ts_name) ;
615 
616  init_h_ToT_255_vs_time (ts_type , ts_name) ;
617 
618  init_h_ToT_255_Floor_vs_time (ts_type , modules_per_string , ts_name) ;
619 
620  init_h_ToT_255_Floor_vs_time_2 (ts_type , modules_per_string , ts_name) ;
621 
622  init_m_mean_ToT (ts_type , modules_per_string , ts_name) ;
623 
624  init_m_ToT_255 (ts_type , modules_per_string , ts_name) ;
625 
626  init_m_module_rates_vs_time (ts_type , n_frames , min_time , max_time , ts_name) ;
627 
628  init_m_pmt_tot_distributions (ts_type , ts_name) ;
629 
630  init_m_pmt_rate_distributions (ts_type , ts_name) ;
631 
632  init_m_pmt_tot_vs_time (ts_type , n_frames , min_time , max_time , ts_name) ;
633 
634  init_m_pmt_rates_vs_time (ts_type , n_frames , min_time , max_time , ts_name) ;
635 
636  init_m_pmt_dt_consecutive_hits(ts_type , ts_name) ;
637 
638  }
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_m_pmt_dt_consecutive_hits(int ts_type, 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_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_h_slice_starting_time(int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name)
void init_h_ToT_255_Floor_vs_time_2(int ts_type, int modules_per_string, string ts_name)
JValue_t second
Definition: JPair.hh:129
void init_m_module_rates_vs_time(int ts_type, int n_frames, double min_time, double max_time, string ts_name)
JKey_t first
Definition: JPair.hh:128
void init_m_ToT_255(int ts_type, int modules_per_string, string ts_name)
double getFrameTime()
Get frame time duration.
Definition: JDAQClock.hh:162
void init_h_ToT_255_Floor_vs_time(int ts_type, int modules_per_string, string ts_name)
void init_m_pmt_rate_distributions(int ts_type, 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_rate(int ts_type, int n_frames, int first_frame, int last_frame, std::string ts_name)
void init_m_mean_ToT(int ts_type, int modules_per_string, string ts_name)
void init_m_pmt_tot_distributions(int ts_type, string ts_name)
void TimesliceHistograms::Fill_mean_ToT_histograms ( )
inline

Definition at line 647 of file JRunHistograms.hh.

647  {
648 
649  int i = 0 ;
650 
651  for (typename vector < JManager < string , TH2D >* >::const_iterator it = m_pmt_tot_distributions.begin() ; it != m_pmt_tot_distributions.end() ; ++it , ++i){
652 
653  if ((*it)){
654 
655  for (typename JManager < string , TH2D >::const_iterator j = (*it) -> begin() ; j != (*it) -> end() ; ++j){
656 
657  TString s (MAKE_STRING(j -> first).c_str()) ;
658 
659  TPRegexp r ("(\\w+)/(\\DU)(\\d+)/(F)(\\d+)") ;
660 
661  TObjArray* o = r.MatchS(s) ;
662 
663  int String = ((TObjString *)o->At(3))->GetString().Atoi();
664 
665  int Floor = ((TObjString *)o->At(5))->GetString().Atoi();
666 
667  for (int pmt = 1 ; pmt <= (j -> second) -> GetYaxis() -> GetNbins() ; pmt++){
668 
669  (*m_mean_ToT[i])[MAKE_STRING("Detector/DU" + to_string(String))] -> Fill(Floor , (j->second) -> GetYaxis() -> GetBinCenter(pmt) , (j -> second) -> ProjectionX ("" , pmt , pmt) -> GetMean () ) ;
670 
671  }
672 
673  }
674 
675  }
676 
677  }
678 
679  }
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
Auxiliary class to manage set of compatible ROOT objects (e.g.
Definition: JManager.hh:38
General purpose string class.
Definition: JHead.hh:98
std::string to_string(const T &value)
Convert value to string.
vector< JManager< string, TH2D > * > m_mean_ToT
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 690 of file JRunHistograms.hh.

690  {
691 
692  string name = MAKE_STRING ("h_slice_starting_time_" + ts_name ) ;
693 
694  string title = MAKE_STRING ("Slice Starting Time (" + ts_name + "); slice number ; time since first slice [s]") ;
695 
696  h_slice_start_time[ts_type] = new TH1D (name.c_str() , title.c_str() , n_frames , -0.5 , last_frame - first_frame + 0.5 ) ;
697 
698  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< TH1D * > h_slice_start_time
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 709 of file JRunHistograms.hh.

709  {
710 
711  string name = MAKE_STRING ("h_rate_" + ts_name) ;
712 
713  string title = MAKE_STRING ("Average module rate ("+ts_name+") ; slice number ; rate [Hz]") ;
714 
715  h_rate[ts_type] = new TProfile ( name.c_str() , title.c_str() , int(n_frames/600) , -0.5 , last_frame - first_frame + 0.5 ) ;
716 
717  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< TProfile * > h_rate
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 728 of file JRunHistograms.hh.

728  {
729 
730  string name = MAKE_STRING ("h_active_DOMS_" + ts_name) ;
731 
732  string title = MAKE_STRING (" Active modules (" + ts_name + "); slice number ; fraction of active modules") ;
733 
734  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 ) ;
735 
736  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< TProfile * > h_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 748 of file JRunHistograms.hh.

748  {
749 
750  string name = MAKE_STRING ("h_du_active_DOMS_" + ts_name) ;
751 
752  string title = MAKE_STRING ("Active modules in DU (" + ts_name + "); slice number ; DU number ; number of active modules") ;
753 
754  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 ) ;
755 
756  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< TProfile2D * > h_du_active_modules
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 765 of file JRunHistograms.hh.

765  {
766 
767  string name = MAKE_STRING ("h_mean_dom_rates_" + ts_name) ;
768 
769  string title = MAKE_STRING (ts_name + " ; Floor number ; DU number ; time slice averaged rate [Hz]") ;
770 
771  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) ;
772 
773  }
vector< TH2D * > h_dom_mean_rates
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
void TimesliceHistograms::init_h_ToT_255_vs_time ( int  ts_type,
string  ts_name 
)
inline

Definition at line 781 of file JRunHistograms.hh.

781  {
782 
783  string name = MAKE_STRING ("h_ToT_255_vs_time_" + ts_name) ;
784 
785  string title = MAKE_STRING (" (" + ts_name + ") Hits with ToT = 255 ns. All PMTs, all timeslices ; Time since beginning of slice [ns] ; counts ") ;
786 
787  h_ToT_255_vs_time[ts_type] = new TH1D (name.c_str() , title.c_str() , 100 , 0 , log10(getFrameTime())) ;
788 
789  BinLogX (h_ToT_255_vs_time[ts_type]) ;
790 
791  }
void BinLogX(T *h)
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
double getFrameTime()
Get frame time duration.
Definition: JDAQClock.hh:162
vector< TH1D * > h_ToT_255_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 800 of file JRunHistograms.hh.

800  {
801 
802  string name = MAKE_STRING ("h_ToT_255_Floor_vs_time_" + ts_name) ;
803 
804  string title = MAKE_STRING (" (" + ts_name + ") Hits with ToT = 255 ns. All DUs , all timeslices ; Time since beginning of slice [ns] ; Floor number ; counts ") ;
805 
806  h_ToT_255_Floor_vs_time[ts_type] = new TH2D (name.c_str() , title.c_str() , 100 , 0 , log10(getFrameTime()) , modules_per_string , 0.5 , 0.5 + modules_per_string) ;
807 
808  BinLogX(h_ToT_255_Floor_vs_time[ts_type]) ;
809 
810  }
void BinLogX(T *h)
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
double getFrameTime()
Get frame time duration.
Definition: JDAQClock.hh:162
vector< TH2D * > h_ToT_255_Floor_vs_time
void TimesliceHistograms::init_h_ToT_255_Floor_vs_time_2 ( int  ts_type,
int  modules_per_string,
string  ts_name 
)
inline

Definition at line 819 of file JRunHistograms.hh.

819  {
820 
821  string name = MAKE_STRING ("h_ToT_255_Floor_vs_time_2_" + ts_name) ;
822 
823  string title = MAKE_STRING (" (" + ts_name + ") Hits with ToT = 255 ns. All DUs , all timeslices ; Time since beginning of slice [ns] ; Floor number ; counts ") ;
824 
825  h_ToT_255_Floor_vs_time_2[ts_type] = new TH2D (name.c_str() , title.c_str() , 100 , 0 , getFrameTime() , modules_per_string , 0.5 , 0.5 + modules_per_string) ;
826 
827  }
vector< TH2D * > h_ToT_255_Floor_vs_time_2
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
double getFrameTime()
Get frame time duration.
Definition: JDAQClock.hh:162
void TimesliceHistograms::init_m_mean_ToT ( int  ts_type,
int  modules_per_string,
string  ts_name 
)
inline

Definition at line 836 of file JRunHistograms.hh.

836  {
837 
838  string name = MAKE_STRING ("%/h_mean_ToT_" + ts_name) ;
839 
840  string title = MAKE_STRING (ts_name + " ; Floor number ; TDC channel ; mean ToT over all timeslices [ns] ") ;
841 
842  m_mean_ToT[ts_type] = new JManager < string , TH2D > (new TH2D (name.c_str() , title.c_str() , modules_per_string , 0.5 , 0.5 + modules_per_string , NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5)) ;
843 
844  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TH2D > * > m_mean_ToT
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
void TimesliceHistograms::init_m_ToT_255 ( int  ts_type,
int  modules_per_string,
string  ts_name 
)
inline

Definition at line 853 of file JRunHistograms.hh.

853  {
854 
855  string name = MAKE_STRING ("%/h_ToT_255_" + ts_name) ;
856 
857  string title = MAKE_STRING (ts_name + " ; Floor number ; TDC channel ; number of hits with ToT = 255 ns ") ;
858 
859  m_ToT_255[ts_type] = new JManager < string , TH2D > (new TH2D (name.c_str() , title.c_str() , modules_per_string , 0.5 , 0.5 + modules_per_string , NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5)) ;
860 
861  }
vector< JManager< string, TH2D > * > m_ToT_255
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
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 871 of file JRunHistograms.hh.

871  {
872 
873  string name = MAKE_STRING ( "%/h_module_rate_vs_time_" + ts_name ) ;
874 
875  string title = MAKE_STRING (ts_name + " ; time since run start [s] ; rate [Hz]" ) ;
876 
877  m_module_rates_vs_time[ts_type] = new JManager < string , TProfile > (new TProfile (name.c_str() , title.c_str() , int(n_frames/600) , min_time , max_time)) ;
878 
879  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TProfile > * > m_module_rates_vs_time
void TimesliceHistograms::init_m_pmt_tot_distributions ( int  ts_type,
string  ts_name 
)
inline

Definition at line 887 of file JRunHistograms.hh.

887  {
888 
889  string name = MAKE_STRING ("%_" + ts_name + "_2SToT") ;
890 
891  string title = MAKE_STRING (ts_name + " ; TDC channel ; ToT [ns] ; counts") ;
892 
893  m_pmt_tot_distributions[ts_type] = new JManager < string , TH2D > (new TH2D (name.c_str() , title.c_str() ,
894  NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5 ,
895  max_ToT - min_ToT + 1 , min_ToT - 0.5 , max_ToT + 0.5)) ;
896 
897  }
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
void TimesliceHistograms::init_m_pmt_rate_distributions ( int  ts_type,
string  ts_name 
)
inline

Definition at line 905 of file JRunHistograms.hh.

905  {
906 
907  string name = MAKE_STRING ("%/h_pmt_rate_distributions_" + ts_name) ;
908 
909  string title = MAKE_STRING (ts_name + " ; rate [kHz] ; TDC channel ; counts ") ;
910 
911  TH2D* h_pmt_rate_distributions = new TH2D (name.c_str() , title.c_str() ,
912  60 , -6 , log10(20),
913  NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5) ;
914 
915  BinLogX (h_pmt_rate_distributions) ;
916 
917  m_pmt_rate_distributions[ts_type] = new JManager < string , TH2D > (h_pmt_rate_distributions) ;
918 
919  }
void BinLogX(T *h)
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
void TimesliceHistograms::init_m_pmt_tot_vs_time ( int  ts_type,
int  n_frames,
double  min_time,
double  max_time,
string  ts_name 
)
inline

Definition at line 930 of file JRunHistograms.hh.

930  {
931 
932  string name = MAKE_STRING ("%/ToT_vs_time_" + ts_name) ;
933 
934  string title = MAKE_STRING (ts_name + " ; time [s] ; TDC channel ; ToT [ns]") ;
935 
936  m_pmt_tot_vs_time[ts_type] = new JManager < string , TProfile2D > (new TProfile2D (name.c_str() , title.c_str() , int(n_frames/600) , min_time , max_time , NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5)) ;
937 
938  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TProfile2D > * > m_pmt_tot_vs_time
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
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 949 of file JRunHistograms.hh.

949  {
950 
951  string name = MAKE_STRING ( "%/h_rate_vs_time_" + ts_name ) ;
952 
953  string title = MAKE_STRING (ts_name + " ; time since run start [s] ; TDC channel ; rate [Hz]") ;
954 
955  m_pmt_rates_vs_time[ts_type] = new JManager < string , TProfile2D > (new TProfile2D (name.c_str() , title.c_str() , int(n_frames/600) , min_time , max_time , NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5)) ;
956 
957  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TProfile2D > * > m_pmt_rates_vs_time
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26
void TimesliceHistograms::init_m_pmt_dt_consecutive_hits ( int  ts_type,
string  ts_name 
)
inline

Definition at line 965 of file JRunHistograms.hh.

965  {
966 
967  string name = MAKE_STRING ("%/h_dt_consecutive_hits_" + ts_name) ;
968 
969  string title = MAKE_STRING (ts_name + " ; log(dt [ns]) ; TDC channel ; counts") ;
970 
971  m_pmt_dt_consecutive_hits[ts_type] = new JManager < string , TH2D > (new TH2D (name.c_str() , title.c_str() , nbins_logdt , min_logdt , max_logdt, NUMBER_OF_PMTS , -0.5 , NUMBER_OF_PMTS - 0.5)) ;
972 
973  }
#define MAKE_STRING(A)
Make string.
Definition: JPrint.hh:602
vector< JManager< string, TH2D > * > m_pmt_dt_consecutive_hits
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
Definition: JDAQ.hh:26

Member Data Documentation

int TimesliceHistograms::min_ToT

Definition at line 475 of file JRunHistograms.hh.

int TimesliceHistograms::max_ToT

Definition at line 477 of file JRunHistograms.hh.

int TimesliceHistograms::min_logdt

Definition at line 479 of file JRunHistograms.hh.

int TimesliceHistograms::max_logdt

Definition at line 481 of file JRunHistograms.hh.

int TimesliceHistograms::nbins_logdt

Definition at line 483 of file JRunHistograms.hh.

int TimesliceHistograms::nbins_time

Definition at line 485 of file JRunHistograms.hh.

vector< TH1D* > TimesliceHistograms::h_slice_start_time

Definition at line 489 of file JRunHistograms.hh.

vector< TProfile* > TimesliceHistograms::h_rate

Definition at line 493 of file JRunHistograms.hh.

vector< TProfile* > TimesliceHistograms::h_active_modules

Definition at line 497 of file JRunHistograms.hh.

vector< TProfile2D* > TimesliceHistograms::h_du_active_modules

Definition at line 501 of file JRunHistograms.hh.

vector< TH2D* > TimesliceHistograms::h_dom_mean_rates

Definition at line 503 of file JRunHistograms.hh.

vector< TH1D* > TimesliceHistograms::h_ToT_255_vs_time

Definition at line 505 of file JRunHistograms.hh.

vector< TH2D* > TimesliceHistograms::h_ToT_255_Floor_vs_time

Definition at line 507 of file JRunHistograms.hh.

vector< TH2D* > TimesliceHistograms::h_ToT_255_Floor_vs_time_2

Definition at line 509 of file JRunHistograms.hh.

vector< JManager < string , TH2D >* > TimesliceHistograms::m_mean_ToT

Definition at line 513 of file JRunHistograms.hh.

vector< JManager < string , TH2D >* > TimesliceHistograms::m_ToT_255

Definition at line 515 of file JRunHistograms.hh.

vector< JManager < string , TProfile >* > TimesliceHistograms::m_module_rates_vs_time

Definition at line 519 of file JRunHistograms.hh.

vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_tot_distributions

Definition at line 521 of file JRunHistograms.hh.

vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_rate_distributions

Definition at line 523 of file JRunHistograms.hh.

vector< JManager < string , TProfile2D >* > TimesliceHistograms::m_pmt_tot_vs_time

Definition at line 525 of file JRunHistograms.hh.

vector< JManager < string , TProfile2D >* > TimesliceHistograms::m_pmt_rates_vs_time

Definition at line 527 of file JRunHistograms.hh.

vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_dt_consecutive_hits

Definition at line 529 of file JRunHistograms.hh.


The documentation for this struct was generated from the following file: