Constructor. 
The PDF file descriptor should contain the wild card character JPHYSICS::WILDCARD.
 
   40  {
   43 
   44    const JPDFType_t pdf_t[] = { DIRECT_LIGHT_FROM_MUON,
 
   45                                 SCATTERED_LIGHT_FROM_MUON,
   46                                 DIRECT_LIGHT_FROM_DELTARAYS,
   47                                 SCATTERED_LIGHT_FROM_DELTARAYS,
   48                                 DIRECT_LIGHT_FROM_EMSHOWERS,
   49                                 SCATTERED_LIGHT_FROM_EMSHOWERS };
   50 
   51    const  int N = sizeof(pdf_t) / sizeof(pdf_t[0]);
   52    
   55                                   double>                          JFunction1D_t;
   57 
   58 
   59    const JNPE_t::JSupervisor supervisor(new JNPE_t::JDefaultResult(zero));
   60 
   61    for (int i = 0; i != N; ++i) {
   62 
   63      JPDF_t pdf;
   64 
   66      const string     file_name = getFilename(fileDescriptor, type);
   67 
   68      cout << "loading PDF from file " << file_name << "... " << flush;
   69 
   70      pdf.load(file_name.c_str());
   71 
   72      cout << "OK" << endl;
   73 
   74      pdf.setExceptionHandler(supervisor);
   75 
   80      else
   82    }
   83 
   84    
   85 
   86    cout << "adding PDFs... " << flush;
   87 
   88    Y1[1].add(
Y1[0]); 
Y1.erase(
Y1.begin());
 
   89    YA[1].add(
YA[0]); 
YA.erase(
YA.begin());
 
   90    YB[1].add(
YB[0]); 
YB.erase(
YB.begin());
 
   91  
   92    cout << "OK" << endl;
   93  }
Multi-dimensional PDF table for arrival time of Cherenkov light.
 
bool is_deltarays(const int pdf)
Test if given PDF type corresponds to Cherenkov light from delta-rays.
 
bool is_bremsstrahlung(const int pdf)
Test if given PDF type corresponds to Cherenkov light from Bremsstrahlung.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
std::vector< JNPE_t > YA
light from delta-rays
 
std::vector< JNPE_t > YB
light from EM showers
 
JPP::JNPETable< double, double, JNPEMaplist_t > JNPE_t
 
std::vector< JNPE_t > Y1
light from muon