30int main(
int argc,
char **argv)
49 JParser<> zap(
"Auxiliary program to draw PDF of Cherenkov light from EM-shower including shower profile using interpolation tables.");
57 zap[
'T'] =
make_field(TTS_ns,
"PMT time smearing [ns]") = 0.0;
63 catch(
const exception &error) {
80 NOTICE(
"loading input from file " << inputFile <<
"... " << flush);
82 pdf.load(inputFile.c_str());
84 pdf.setExceptionHandler(
new JFunction1D_t::JDefaultResult(
JMATH::zero));
96 const double x =
log10(E);
100 cout <<
"enter time (^C to exit) > " << flush;
107 <<
FIXED(5,1) << D <<
' '
113 <<
SCIENTIFIC(9,3) << get_derivative(y) <<
' '
125 const double t0 = 0.0;
136 for (
int i = 1; i <= h0.GetNbinsX(); ++i) {
138 const double dt = h0.GetBinCenter(i) - t0;
142 h0.SetBinContent(i, get_value(Y));
Various implementations of functional maps.
Longitudinal emission profile EM-shower.
General purpose messaging.
Numbering scheme for PDF types.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
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.
static const JZero zero
Function object to assign zero value.
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.