Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions | Variables
JCALIBRATE Namespace Reference

Classes

struct  JPairwiseComparator
 Auxiliary class to sort pairs of PMT addresses within optical module. More...
 
struct  JPMTParameters_t
 Fit parameters for single PMT. More...
 
struct  JFitK40Parameters
 Fit parameters for two-fold coincidence rate due to K40. More...
 
struct  JFitK40
 Parametrisation of two-fold coincidence rate due to K40 and other radioactive decays. More...
 
struct  JFitToTParameters
 Fit parameters for two-fold coincidence rate due to K40. More...
 
struct  JFitToT
 Parametrisation of time-over-threshold distribution. More...
 

Typedefs

typedef JCombinatorics::pair_type pair_type
 

Functions

double coincidenceP (Double_t E1, Double_t E2, Double_t ED, int M_min, int M_max)
 Coincidence probability of two PMTs. More...
 

Variables

static const char *const weights_hist_t = "weights_hist"
 Histogram naming. More...
 
static const char *const W1_overall_t = "W1_overall"
 Named bin for duration of the run. More...
 
static const char *const WS_t = "WS"
 Named bin for time residual bin width. More...
 
static const char *const WB_t = "WB"
 Named bin for value of TMax_ns in JCalibrateK40. More...
 
static const char *const _2S = ".2S"
 Name extension for 2D counts. More...
 
static const char *const _1B = ".1B"
 Name extension for 1D background. More...
 
static const char *const _1L = ".1L"
 Name extension for 1D live time. More...
 
static const char *const _2R = ".2R"
 Name extension for 2D rate. More...
 
static const char *const _2F = ".2F"
 Name extension for 2F rate. More...
 
static const char *const _2SToT = ".2SToT"
 Histogram naming. More...
 
static const double FITK40_QE_MIN = 0.0
 Minimal quantum efficiency [unit]. More...
 
static const double FITK40_QE_MAX = 10.0
 Maximal quantum efficiency [unit]. More...
 
static const double FITK40_TTS_MIN_NS = 0.0
 Minimal transition-time spread [ns]. More...
 
static const double FITK40_TTS_MAX_NS = 3.5
 Maximal transition-time spread [ns]. More...
 
static const double FITTOT_TOT_MIN_NS = 10.0
 Minimal time-over-threshold [ns]. More...
 
static const double FITTOT_GAIN_MIN = 0.0
 Minimal gain [unit]. More...
 
static const double FITTOT_GAIN_MAX = 10.0
 Maximal gain [unit]. More...
 
static const double FITTOT_GAINSPREAD_MIN = 0.0
 Minimal gain spread [unit]. More...
 
static const double FITTOT_GAINSPREAD_MAX = 10.0
 Maximal gain spread [unit]. More...
 

Detailed Description

Author
mdejong
mkarel

Typedef Documentation

Definition at line 39 of file JCalibrateK40.hh.

Function Documentation

double JCALIBRATE::coincidenceP ( Double_t  E1,
Double_t  E2,
Double_t  ED,
int  M_min,
int  M_max 
)
inline

Coincidence probability of two PMTs.

Parameters
E1Expected counts of PMT1 in certain time interval
E2Expected counts of PMT2 in certain time interval
EDExpected counts on the rest of the DOM, excluding PMT1 and PMT2
M_minDOM multiplicity lower limit
M_maxDOM multiplicity higher limit
Returns
Coincidence probability of two PMTs in a certain time interval

Definition at line 107 of file JCalibrateK40.hh.

107  {
108 
109  //first always calculate the probability for 2-fold multiplicity
110  double P = exp(-E1) * E1 * exp(-E2) * E2 * exp(-ED);
111 
112  //second calculate the prob at the lower M limit
113  for (Int_t m = 2; m < M_min; m++) {
114  P = P * ( ED/(m-1) + E1/m + E2/m );
115  }
116 
117  //third, add the probabilities of higher multiplicities
118  Double_t P_sum = P;
119  for (Int_t m = M_min+1; m <= M_max; m++) {
120  P = P * ( ED/(m-1) + E1/m + E2/m );
121  P_sum = P_sum + P;
122  }
123 
124  return P_sum;
125  }

Variable Documentation

const char* const JCALIBRATE::weights_hist_t = "weights_hist"
static

Histogram naming.

Name of histogram with normalisation constants.

Definition at line 27 of file JCalibrateK40.hh.

const char* const JCALIBRATE::W1_overall_t = "W1_overall"
static

Named bin for duration of the run.

Definition at line 29 of file JCalibrateK40.hh.

const char* const JCALIBRATE::WS_t = "WS"
static

Named bin for time residual bin width.

Definition at line 30 of file JCalibrateK40.hh.

const char* const JCALIBRATE::WB_t = "WB"
static

Named bin for value of TMax_ns in JCalibrateK40.

Definition at line 31 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_2S = ".2S"
static

Name extension for 2D counts.

Definition at line 33 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_1B = ".1B"
static

Name extension for 1D background.

Definition at line 34 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_1L = ".1L"
static

Name extension for 1D live time.

Definition at line 35 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_2R = ".2R"
static

Name extension for 2D rate.

Definition at line 36 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_2F = ".2F"
static

Name extension for 2F rate.

Definition at line 37 of file JCalibrateK40.hh.

const char* const JCALIBRATE::_2SToT = ".2SToT"
static

Histogram naming.

Name extension for 2D counts

Definition at line 16 of file JCalibrateToT.hh.

const double JCALIBRATE::FITK40_QE_MIN = 0.0
static

Minimal quantum efficiency [unit].

Definition at line 32 of file JFitK40.hh.

const double JCALIBRATE::FITK40_QE_MAX = 10.0
static

Maximal quantum efficiency [unit].

Definition at line 33 of file JFitK40.hh.

const double JCALIBRATE::FITK40_TTS_MIN_NS = 0.0
static

Minimal transition-time spread [ns].

Definition at line 34 of file JFitK40.hh.

const double JCALIBRATE::FITK40_TTS_MAX_NS = 3.5
static

Maximal transition-time spread [ns].

Definition at line 35 of file JFitK40.hh.

const double JCALIBRATE::FITTOT_TOT_MIN_NS = 10.0
static

Minimal time-over-threshold [ns].

Definition at line 30 of file JFitToT.hh.

const double JCALIBRATE::FITTOT_GAIN_MIN = 0.0
static

Minimal gain [unit].

Definition at line 31 of file JFitToT.hh.

const double JCALIBRATE::FITTOT_GAIN_MAX = 10.0
static

Maximal gain [unit].

Definition at line 32 of file JFitToT.hh.

const double JCALIBRATE::FITTOT_GAINSPREAD_MIN = 0.0
static

Minimal gain spread [unit].

Definition at line 33 of file JFitToT.hh.

const double JCALIBRATE::FITTOT_GAINSPREAD_MAX = 10.0
static

Maximal gain spread [unit].

Definition at line 34 of file JFitToT.hh.