Jpp  pmt_effective_area_update
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Enumerations | Functions | Variables
JPDFTypes.hh File Reference

Numbering scheme for PDF types. More...

#include <string>
#include <sstream>
#include "JLang/JException.hh"
#include "Jeep/JeepToolkit.hh"

Go to the source code of this file.

Namespaces

 JPHYSICS
 Auxiliary classes and methods for calculation of PDF and muon energy loss.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Enumerations

enum  JPHYSICS::JPDFType_t {
  JPHYSICS::DIRECT_LIGHT_FROM_MUON = 1, JPHYSICS::SCATTERED_LIGHT_FROM_MUON = 2, JPHYSICS::DIRECT_LIGHT_FROM_EMSHOWERS = 3, JPHYSICS::SCATTERED_LIGHT_FROM_EMSHOWERS = 4,
  JPHYSICS::DIRECT_LIGHT_FROM_DELTARAYS = 5, JPHYSICS::SCATTERED_LIGHT_FROM_DELTARAYS = 6, JPHYSICS::SCATTERED_LIGHT_FROM_MUON_5D = 12, JPHYSICS::DIRECT_LIGHT_FROM_EMSHOWER = 13,
  JPHYSICS::SCATTERED_LIGHT_FROM_EMSHOWER = 14, JPHYSICS::DIRECT_LIGHT_FROM_BRIGHT_POINT = 23, JPHYSICS::SCATTERED_LIGHT_FROM_BRIGHT_POINT = 24, JPHYSICS::LIGHT_FROM_MUON = 1001,
  JPHYSICS::LIGHT_FROM_EMSHOWERS = 1003, JPHYSICS::LIGHT_FROM_DELTARAYS = 1005, JPHYSICS::LIGHT_FROM_EMSHOWER = 1013, JPHYSICS::LIGHT_FROM_BRIGTH_POINT = 1023
}
 PDF types. More...
 

Functions

std::string JPHYSICS::getLabel (const JPDFType_t pdf)
 Get PDF label. More...
 
int JPHYSICS::getPDFType (const std::string &file_name)
 Get PDF type. More...
 
bool JPHYSICS::hasWildCard (const std::string &file_name)
 Check wild card. More...
 
std::string JPHYSICS::getFilename (const std::string &file_name, const JPDFType_t pdf)
 Get PDF file name. More...
 
bool JPHYSICS::is_muon (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from muon. More...
 
bool JPHYSICS::is_bremsstrahlung (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from Bremsstrahlung. More...
 
bool JPHYSICS::is_deltarays (const int pdf)
 Test if given PDF type corresponds to Cherenkov light from delta-rays. More...
 
bool JPHYSICS::is_scattered (const int pdf)
 Test if given PDF type corresponds to scattered light. More...
 

Variables

static const char JPHYSICS::WILD_CARD = '%'
 wild card character for file name substitution More...
 

Detailed Description

Numbering scheme for PDF types.

Author
mdejong

Definition in file JPDFTypes.hh.