#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 299 of file JRunHistograms.hh.
TimesliceHistograms::TimesliceHistograms |
( |
| ) |
|
|
inline |
Definition at line 322 of file JRunHistograms.hh.
333 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 347 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 363 of file JRunHistograms.hh.
374 TPRegexp
r (
"(\\w+)/(\\DU)(\\d+)/(F)(\\d+)");
376 TObjArray* o =
r.MatchS(s);
378 int String = ((TObjString *)o->At(3))->GetString().Atoi();
379 int Floor = ((TObjString *)o->At(5))->GetString().Atoi();
381 for (
int pmt = 1 ;
pmt <= (
j -> second) -> GetXaxis() -> GetNbins() ;
pmt++){
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.
esac $JPP_DIR examples JDetector JTransitTime o $OUTPUT_FILE n N $NPE T $TTS_NS d $DEBUG for HISTOGRAM in tts tt2 pmt
Auxiliary class to manage set of compatible ROOT objects (e.g.
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 398 of file JRunHistograms.hh.
401 string title =
MAKE_STRING (ts_name +
" ; Floor number ; DU number ; time slice averaged rate [Hz]");
403 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 413 of file JRunHistograms.hh.
416 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.
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 428 of file JRunHistograms.hh.
431 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.
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 442 of file JRunHistograms.hh.
445 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.
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 461 of file JRunHistograms.hh.
464 string title =
MAKE_STRING (ts_name +
" ; TDC channel ; rate [kHz] ; counts ");
466 TH2D* h_pmt_rate_distributions =
new TH2D (name.c_str() , title.c_str(),
468 60 , -6 , log10(1000));
470 BinLogY (h_pmt_rate_distributions);
#define MAKE_STRING(A)
Make string.
Auxiliary class to manage set of compatible ROOT objects (e.g.
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: