45int main(
int argc, 
char **argv)
 
   64    JParser<> zap(
"Auxiliary program to draw PDF of Cherenkov light from bright point.");
 
   68    zap[
'e'] = 
make_field(epsilon,                
"precision for integration")  = 1.0e-10;
 
   71    zap[
'E'] = 
make_field(E,                      
"shower energy [GeV]");
 
   80  catch(
const exception &error) {
 
   81    FATAL(error.what() << endl);
 
   86    pdf(NAMESPACE::getPhotocathodeArea(),
 
   88        NAMESPACE::getAngularAcceptance,
 
   91        NAMESPACE::getScatteringProbability,
 
   92        NAMESPACE::getAmbientPressure(),
 
   93        getMinimalWavelength(),
 
   94        getMaximalWavelength(),
 
  101    for (
double dt; cin >> dt; ) {
 
  103      for (vector<int>::const_iterator F = function.begin(); F != function.end(); ++F) {
 
  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;                                   
 
  125    if (function.size() == 1 && function[0] == DIRECT_LIGHT_FROM_BRIGHT_POINT) {
 
  143  for (
int i = 1; i <= h0.GetNbinsX(); ++i) {
 
  145    const double dt = h0.GetBinCenter(i) - t0;
 
  149    for (vector<int>::const_iterator F = function.begin(); F != function.end(); ++F) {
 
  153    h0.SetBinContent(i, value);
 
  169  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.
 
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.
 
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.