#include <JRunHistograms.hh>
|
| TimesliceHistograms () |
|
void | initialize (std::set< int > du_ids, int modules_per_string, int ts_type, std::string ts_name) |
|
void | Fill_mean_ToT_histograms () |
|
void | init_h_dom_mean_rates (int ts_type, std::set< int > du_ids, int modules_per_string, std::string ts_name) |
|
void | init_m_mean_ToT (int ts_type, int modules_per_string, string ts_name) |
|
void | init_m_mean_ToT_distribution (int ts_type, 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) |
|
Definition at line 301 of file JRunHistograms.hh.
TimesliceHistograms::TimesliceHistograms |
( |
| ) |
|
|
inline |
Definition at line 324 of file JRunHistograms.hh.
335 m_mean_ToT .resize (number_of_timeslice_types , NULL);
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
vector< TH2D * > h_dom_mean_rates
vector< JManager< string, TH1D > * > m_mean_ToT_distribution
vector< JManager< string, TH2D > * > m_mean_ToT
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
void TimesliceHistograms::initialize |
( |
std::set< int > |
du_ids, |
|
|
int |
modules_per_string, |
|
|
int |
ts_type, |
|
|
std::string |
ts_name |
|
) |
| |
|
inline |
Definition at line 349 of file JRunHistograms.hh.
void init_h_dom_mean_rates(int ts_type, std::set< int > du_ids, int modules_per_string, std::string ts_name)
void init_m_mean_ToT_distribution(int ts_type, string ts_name)
void init_m_pmt_rate_distributions(int ts_type, 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 365 of file JRunHistograms.hh.
376 TPRegexp
r (
"(\\w+)/(\\DU)(\\d+)/(F)(\\d+)");
378 TObjArray*
o =
r.MatchS(s);
380 int String = ((TObjString *)o->At(3))->GetString().Atoi();
381 int Floor = ((TObjString *)o->At(5))->GetString().Atoi();
383 for (
int pmt = 1 ; pmt <= (
j -> second) -> GetXaxis() -> GetNbins() ; pmt++){
385 (*
m_mean_ToT[i])[
MAKE_STRING(
"Detector/DU" +
to_string(String))] -> Fill((
j->second) -> GetXaxis() -> GetBinCenter(pmt) , Floor , (
j -> second) -> ProjectionY (
"" , pmt , pmt) -> GetMean () );
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
vector< JManager< string, TH1D > * > m_mean_ToT_distribution
General purpose string class.
std::string to_string(const T &value)
Convert value to string.
vector< JManager< string, TH2D > * > m_mean_ToT
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 400 of file JRunHistograms.hh.
403 string title =
MAKE_STRING (ts_name +
" ; DU number ; Floor number ; time slice averaged rate [Hz]");
405 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);
vector< TH2D * > h_dom_mean_rates
#define MAKE_STRING(A)
Make string.
void TimesliceHistograms::init_m_mean_ToT |
( |
int |
ts_type, |
|
|
int |
modules_per_string, |
|
|
string |
ts_name |
|
) |
| |
|
inline |
Definition at line 415 of file JRunHistograms.hh.
418 string title =
MAKE_STRING (ts_name +
" ; TDC channel ; Floor number ; mean ToT [ns] ");
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
vector< JManager< string, TH2D > * > m_mean_ToT
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
void TimesliceHistograms::init_m_mean_ToT_distribution |
( |
int |
ts_type, |
|
|
string |
ts_name |
|
) |
| |
|
inline |
Definition at line 430 of file JRunHistograms.hh.
433 string title =
MAKE_STRING (ts_name +
" ; ToT [ns] ; # PMTS ");
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
vector< JManager< string, TH1D > * > m_mean_ToT_distribution
void TimesliceHistograms::init_m_pmt_tot_distributions |
( |
int |
ts_type, |
|
|
string |
ts_name |
|
) |
| |
|
inline |
Definition at line 444 of file JRunHistograms.hh.
447 string title =
MAKE_STRING (ts_name +
" ; TDC channel ; ToT [ns] ; counts");
vector< JManager< string, TH2D > * > m_pmt_tot_distributions
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
void TimesliceHistograms::init_m_pmt_rate_distributions |
( |
int |
ts_type, |
|
|
string |
ts_name |
|
) |
| |
|
inline |
Definition at line 463 of file JRunHistograms.hh.
466 string title =
MAKE_STRING (ts_name +
" ; TDC channel ; rate [kHz] ; counts ");
468 TH2D* h_pmt_rate_distributions =
new TH2D (name.c_str() , title.c_str(),
470 60 , -6 , log10(1000));
472 BinLogY (h_pmt_rate_distributions);
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g. histograms) using unique keys...
vector< JManager< string, TH2D > * > m_pmt_rate_distributions
static const int NUMBER_OF_PMTS
Total number of PMTs in module.
int TimesliceHistograms::min_ToT |
int TimesliceHistograms::max_ToT |
int TimesliceHistograms::min_logdt |
int TimesliceHistograms::max_logdt |
int TimesliceHistograms::nbins_logdt |
int TimesliceHistograms::nbins_time |
vector< TH2D* > TimesliceHistograms::h_dom_mean_rates |
vector< JManager < string , TH1D >* > TimesliceHistograms::m_mean_ToT_distribution |
vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_tot_distributions |
vector< JManager < string , TH2D >* > TimesliceHistograms::m_pmt_rate_distributions |
The documentation for this struct was generated from the following file: