45 int main(
int argc,
char **argv)
64 JParser<> zap(
"Auxiliary program to draw PDF of Cherenkov light from bright point.");
71 zap[
'E'] =
make_field(E,
"shower energy [GeV]");
80 catch(
const exception &error) {
81 FATAL(error.what() << endl);
101 for (
double dt; cin >> dt; ) {
105 cout << setw(2) << *F <<
' '
107 <<
FIXED(5,1) << D <<
' '
108 <<
FIXED(5,2) << ct <<
' '
109 <<
FIXED(5,1) << dt <<
' '
121 const double t0 = 0.0;
143 for (
int i = 1; i <= h0.GetNbinsX(); ++i) {
145 const double dt = h0.GetBinCenter(i) - t0;
153 h0.SetBinContent(i, value);
Properties of Antares PMT and deep-sea water.
double getAngularAcceptance(const double x)
Angular acceptence of PMT.
int main(int argc, char **argv)
double getAbsorptionLength(const double lambda)
double getScatteringLength(const double lambda)
double absorptionLengthFactor
Scaling of absorption and scattering length.
double scatteringLengthFactor
General purpose messaging.
#define DEBUG(A)
Message macros.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Properties of KM3NeT PMT and deep-sea water.
Utility class to parse command line options.
Probability Density Functions of the time response of a PMT with an implementation of the JAbstractPM...
double getLightFromBrightPoint(const int type, const double D_m, const double ct, const double t_ns) const
Probability density function for direct light from isotropic light source.
double getAmbientPressure()
Get ambient pressure.
double getScatteringProbability(const double x)
Function to describe light scattering in water.
double getPhotocathodeArea()
Get photo-cathode area of PMT.
const JPolynome f1(1.0, 2.0, 3.0)
Function.
JAbstractHistogram< double > JHistogram_t
Type definition for scan along axis.
double getQE(const double R, const double mu)
Get QE for given ratio of hit probabilities and expectation value of the number of photo-electrons.
double getMinimalWavelength()
Get minimal wavelength for PDF evaluations.
@ DIRECT_LIGHT_FROM_BRIGHT_POINT
direct light from bright point
double getMaximalWavelength()
Get maximal wavelength for PDF evaluations.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for floating point format specification.
Auxiliary data structure for floating point format specification.