1 #ifndef __JPHYSICS__JPDFTYPES__ 
    2 #define __JPHYSICS__JPDFTYPES__ 
   16 namespace JPP { 
using namespace JPHYSICS; }
 
   63     std::ostringstream os;
 
   81     static const char* digits = 
"0123456789";
 
   87     string::size_type pos = buffer.find_first_of(digits);
 
   89     if (pos != string::npos) {
 
   91       string::size_type len = buffer.substr(pos).find_first_not_of(digits);
 
   93       istringstream(buffer.substr(pos, len)) >> type;
 
direct and scattered light from brigth point 
 
direct and scattered light from EM shower 
 
direct and scattered light from muon 
 
scattered light from muon 
 
std::string getLabel(const JLocation &location)
Get module label for monitoring and other applications. 
 
scattered light from EM shower 
 
bool is_muon(const Trk &track)
Test whether given track is a (anti-)muon. 
 
direct light from EM showers 
 
direct light from bright point 
 
light from elongated EM shower 
 
bool is_bremsstrahlung(const int pdf)
Test if given PDF type corresponds to Cherenkov light from Bremsstrahlung. 
 
scattered light from muon 
 
scattered light from delta-rays 
 
direct light from EM shower 
 
scattered light from EM showers 
 
scattered light from bright point 
 
direct light from delta-rays 
 
std::string setWildCard(const std::string &file_name, const std::string &value)
Get file name by setting wild card to given value. 
 
int getPDFType(const std::string &file_name)
Get PDF type. 
 
direct and scattered light from delta-rays 
 
bool is_scattered(const int pdf)
Test if given PDF type corresponds to scattered light. 
 
direct and scattered light from EM showers 
 
bool is_deltarays(const int pdf)
Test if given PDF type corresponds to Cherenkov light from delta-rays. 
 
std::string getFilename(const std::string &file_name)
Get file name part, i.e. part after last JEEP::PATHNAME_SEPARATOR if any.