46int main(
int argc,
char **argv)
66 JParser<> zap(
"Auxiliary program to draw PDF of Cherenkov light from EM-shower including shower profile.");
70 zap[
'e'] =
make_field(epsilon,
"precision for integration") = 1.0e-10;
83 catch(
const exception &error) {
89 pdf(NAMESPACE::getPhotocathodeArea(),
91 NAMESPACE::getAngularAcceptance,
94 NAMESPACE::getScatteringProbability,
95 NAMESPACE::getAmbientPressure(),
96 getMinimalWavelength(),
97 getMaximalWavelength(),
104 cout <<
"enter time (^C to exit) > " << flush;
112 <<
FIXED(5,1) << D <<
' '
128 const double t0 = 0.0;
132 if (function.size() == 1 && function[0] == DIRECT_LIGHT_FROM_EMSHOWER) {
150 for (
int i = 1; i <= h0.GetNbinsX(); ++i) {
152 const double dt = h0.GetBinCenter(i) - t0;
160 h0.SetBinContent(i, value);
176 catch(
const exception&) {}
Properties of Antares PMT and deep-sea water.
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.
Data structure for angles in three dimensions.
double getTheta() const
Get theta angle.
double getPhi() const
Get phi angle.
Template definition of a multi-dimensional oscillation probability interpolation table.
Utility class to parse command line options.
Probability Density Functions of the time response of a PMT with an implementation of the JAbstractPM...
double getLightFromEMshower(const int type, const double D_m, const double cd, const double theta, const double phi, const double t_ns) const
Probability density function for light from EM-shower.
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.